LLMs
OpenAI Like
Many providers like Together and Grow support the OpenAI API format. Use the OpenAILike
LLM to access them by replacing the base_url
.
Example
Params
model
str
The name of the model to be used for generating responses.
api_key
str
The API key for authenticating requests to the service.
base_url
str
The base URL for making API requests to the service.
OpenAILike
also support all the params of OpenAIChat