withEndpoint
Method
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): OpenAIResourceParameters
endpoint string Returns
OpenAIResource Applies to
This method applies to the following types: