Aspire.Hosting.OpenAI
Official
📦 Aspire.Hosting.OpenAI v13.2.0-preview.1.26159.1 5 Functions
2 Types
2 types and 4 members
Types
Functions
function
addModel builder Adds an OpenAI model resource.
addModel(name: string, model: string): OpenAIModelResource function
addOpenAI builder Adds an OpenAI resource to the distributed application model.
addOpenAI(name: string): OpenAIResource function
withApiKey builder Configures the API key for the OpenAI resource.
withApiKey(apiKey: ParameterResource): OpenAIResource function
withEndpoint builder Configures the endpoint URI for the OpenAI resource.
withEndpoint(endpoint: string): OpenAIResource function
withHealthCheck builder Adds a health check for the OpenAI model resource.
withHealthCheck(): OpenAIModelResource