Example

OpenAI 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.

For more information, please refer to the OpenAI docs as well.

OpenAILike is a subclass of the OpenAI class and has access to the same params.