Wrapper around Together AI's Completion API.
Wrapper around requests to handle auth and async.
The main purpose of this wrapper is to handle authentication (by saving headers) and enable easy async methods on the same base object.
LLM models from Together.
To use, you'll need an API key which you can find here:
https://api.together.xyz/settings/api-keys. This can be passed in as init param
together_api_key or set as environment variable TOGETHER_API_KEY.
Together AI API reference: https://docs.together.ai/reference/inference