Together AI
Together AI offers an API to query 50+ leading open-source models in a couple lines of code.
This example goes over how to use LangChain to interact with Together AI models.
Installation
%pip install --upgrade langchain-together
Environment
To use Together AI, you'll need an API key which you can find here:
https://api.together.ai/settings/api-keys. This can be passed in as an init param
together_api_key
or set as environment variable TOGETHER_API_KEY
.