WithEndpoint
Method
func (OpenAIResource) WithEndpoint(endpoint string) OpenAIResourceSignature
method
WithEndpoint builderSets a custom OpenAI-compatible service endpoint URI on the parent resource.
WithEndpoint(endpoint string) OpenAIResourceParameters
endpointstringThe endpoint URI, e.g., https://mygateway.example.com/v1.Returns
OpenAIResource Returns a handle; failures surface later via Err().
Applies to
This method applies to the following types: