Skip to content
Docs Try Aspire

OpenAIResource.withEndpoint

Method
📦 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

Defined on

This method is defined on the following type: