withEndpoint
Method
interface OpenAIResource { // ... omitted for brevity withEndpoint(endpoint: string): OpenAIResource;}Signature
method
withEndpoint builderSets a custom OpenAI-compatible service endpoint URI on the parent resource.
withEndpoint(endpoint: string): OpenAIResourceParameters
endpointstringReturns
OpenAIResource Applies to
This method applies to the following types: