mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-16 16:11:02 +00:00
**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>
8 lines
191 B
Python
8 lines
191 B
Python
from langchain_together import __all__
|
|
|
|
EXPECTED_ALL = ["ChatTogether", "TogetherEmbeddings", "Together"]
|
|
|
|
|
|
def test_all_imports() -> None:
|
|
assert sorted(EXPECTED_ALL) == sorted(__all__)
|