Skip to content
Docs Try Aspire
Docs Try

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

Applies to

This method applies to the following types: