Skip to content
Docs Try Aspire
Docs Try

OpenAIResource.withEndpoint

Method
📦 Aspire.Hosting.OpenAI v13.4.0
interface OpenAIResource {
// ... omitted for brevity
withEndpoint(endpoint: string): OpenAIResource;
}

Signature

method withEndpoint builder
Sets a custom OpenAI-compatible service endpoint URI on the parent resource.
withEndpoint(endpoint: string): OpenAIResource
endpoint string
OpenAIResource

Defined on

This method is defined on the following type: