Aspire.Hosting.OpenAI
Official
📦 Aspire.Hosting.OpenAIv13.4.05Functions
2Types
2 types and 0 members
Types
Functions
method
addModelbuilderAdds an OpenAI Model child to the provided OpenAI resource.
addModel(name: string, model: string): OpenAIModelResourcemethod
addOpenAIbuilderAdds an OpenAI parent resource that can host multiple models.
addOpenAI(name: string): OpenAIResourcemethod
withApiKeybuilderConfigures the API key for the OpenAI parent resource from a parameter.
withApiKey(apiKey: ParameterResource): OpenAIResourcemethod
withEndpointbuilderSets a custom OpenAI-compatible service endpoint URI on the parent resource.
withEndpoint(endpoint: string): OpenAIResourcemethod
withHealthCheckbuilderAdds a health check to the OpenAI Model resource.
withHealthCheck(): OpenAIModelResource