Skip to content
Docs Try Aspire

withEndpoint

Function
📦 Aspire.Hosting.OpenAI v13.2.0-preview.1.26159.1
interface OpenAIResource {
// ... omitted for brevity
withEndpoint(endpoint: string): OpenAIResource;
}

Signature

method withEndpoint builder
Configures the endpoint URI for the OpenAI resource.
withEndpoint(endpoint: string): OpenAIResource
endpoint string
OpenAIResource

Applies to

This function is an extension method on the following types: