langchain/libs/partners/together/langchain_together
Hassan El Mghari d6ef5fe86a
together: add chat models, use openai base (#21337)
**Description:** Adding chat completions to the Together AI package,
which is our most popular API. Also staying backwards compatible with
the old API so folks can continue to use the completions API as well.
Also moved the embedding API to use the OpenAI library to standardize it
further.

**Twitter handle:** @nutlope

- [x] **Add tests and docs**: If you're adding a new integration, please
include
- [x] **Lint and test**: Run `make format`, `make lint` and `make test`
from the root of the package(s) you've modified. See contribution
guidelines for more: https://python.langchain.com/docs/contributing/

If no one reviews your PR within a few days, please @-mention one of
baskaryan, efriis, eyurtsev, hwchase17.

---------

Co-authored-by: Erick Friis <erick@langchain.dev>
2024-05-06 17:47:06 -07:00
..
__init__.py together: add chat models, use openai base (#21337) 2024-05-06 17:47:06 -07:00
chat_models.py together: add chat models, use openai base (#21337) 2024-05-06 17:47:06 -07:00
embeddings.py together: add chat models, use openai base (#21337) 2024-05-06 17:47:06 -07:00
llms.py together: add chat models, use openai base (#21337) 2024-05-06 17:47:06 -07:00
py.typed together: package and embedding model (#14936) 2023-12-19 18:48:32 -08:00