withEndpoint
Method
interface OpenAIResource { // ... omitted for brevity withEndpoint(endpoint: string): OpenAIResource;}Signature
method
withEndpoint builder Configures the endpoint URI for the OpenAI resource.
withEndpoint(endpoint: string): OpenAIResourceParameters
endpoint string Returns
OpenAIResource Applies to
This method applies to the following types: