Many providers like Together, Groq, Sambanova, etc support the OpenAI API format. Use the OpenAILike model to access them by replacing the base_url.

Example

Params

ParameterTypeDefaultDescription
idstr-The name of the model to be used for generating responses.
api_keystr-The API key for authenticating requests to the service.
base_urlstr-The base URL for making API requests to the service.

OpenAILike also support all the params of OpenAIChat