AspireAzureProjectOpenAIExtensions
Classstaticnet10.0
Registers Azure AI Project OpenAI clients with configuration and Microsoft.Extensions.AI telemetry.
namespace Microsoft.Extensions.Hosting;
public static class AspireAzureProjectOpenAIExtensions{ // ...}Methods2
Section titled Methods Registers
OpenAI.ProjectOpenAIClient and its OpenAIClient alias as singletons. Registers
OpenAI.ProjectOpenAIClient and its OpenAIClient alias as keyed singletons.