1 override of ConfigurationSectionName
Aspire.Azure.AI.OpenAI (1)
AspireAzureOpenAIClientBuilder.cs (1)
23
public override string
ConfigurationSectionName
=> ServiceKey is null ?
2 references to ConfigurationSectionName
Aspire.OpenAI (2)
AspireOpenAIClientBuilder.cs (2)
82
var configSection = configuration.GetSection(
ConfigurationSectionName
);
88
throw new InvalidOperationException($"The deployment could not be determined. Ensure a '{DeploymentKey}' or '{ModelKey}' value is provided in 'ConnectionStrings:{ConnectionName}', or specify a '{DeploymentKey}' in the '{
ConfigurationSectionName
}' configuration section, or specify a '{nameof(deploymentName)}' in the call.");