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