Aspire.Hosting.OpenAI
Official
📦 Aspire.Hosting.OpenAI v13.4.0 5 Functions
2 Types
2 types and 0 members
Types
Functions
method
addModel builder Adds an OpenAI Model child to the provided OpenAI resource.
addModel(name: string, model: string): OpenAIModelResource method
addOpenAI builder Adds an OpenAI parent resource that can host multiple models.
addOpenAI(name: string): OpenAIResource method
withApiKey builder Configures the API key for the OpenAI parent resource from a parameter.
withApiKey(apiKey: ParameterResource): OpenAIResource method
withEndpoint builder Sets a custom OpenAI-compatible service endpoint URI on the parent resource.
withEndpoint(endpoint: string): OpenAIResource method
withHealthCheck builder Adds a health check to the OpenAI Model resource.
withHealthCheck(): OpenAIModelResource