OpenAIResource.WithEndpoint

Method
📦 Aspire.Hosting.OpenAI v17.0.0
type OpenAIResource interface {
// ... 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

Returns a handle; failures surface later via Err().

Defined on

This method is defined on the following type: