Optional
fields: anyCalls the OpenAI API with retry logic in case of failures.
The request to send to the OpenAI API.
Optional
options: OpenAICoreRequestOptionsOptional configuration for the API call.
The response from the OpenAI API.
Calls the OpenAI API with retry logic in case of failures.
The request to send to the OpenAI API.
Optional
options: OpenAICoreRequestOptionsOptional configuration for the API call.
The response from the OpenAI API.
Wrapper around TogetherAI API for large language models fine-tuned for chat
TogetherAI API is compatible to the OpenAI API with some limitations. View the full API ref at:
Link
To use, you should have the
TOGETHER_AI_API_KEY
environment variable set.Example