withEndpoint

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

Signature

methodwithEndpointbuilder
Sets a custom OpenAI-compatible service endpoint URI on the parent resource.
withEndpoint(endpoint: string): OpenAIResource
endpointstringThe endpoint URI, e.g., https://mygateway.example.com/v1.
OpenAIResource

Applies to

This method applies to the following types: