Spaces:
Sleeping
Sleeping
File size: 409 Bytes
7d7d91d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 | namespace FoodHealthChecker.Options
{
internal class AzureOpenAIOptions
{
public string DeploymentName { get; set; }
public string ApiKey { get; set; }
public string Endpoint { get; set; }
public bool isValid()
{
return !string.IsNullOrEmpty(DeploymentName) && !string.IsNullOrEmpty(ApiKey) && !string.IsNullOrEmpty(Endpoint);
}
}
}
|