mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-15 15:46:47 +00:00
Description: Added support for AI21 Labs model - Segmentation, as a Text Splitter Dependencies: ai21, langchain-text-splitter Twitter handle: https://github.com/AI21Labs --------- Co-authored-by: Bagatur <22008038+baskaryan@users.noreply.github.com> Co-authored-by: Bagatur <baskaryan@gmail.com>
14 lines
254 B
Python
14 lines
254 B
Python
from langchain_ai21 import __all__
|
|
|
|
EXPECTED_ALL = [
|
|
"AI21LLM",
|
|
"ChatAI21",
|
|
"AI21Embeddings",
|
|
"AI21ContextualAnswers",
|
|
"AI21SemanticTextSplitter",
|
|
]
|
|
|
|
|
|
def test_all_imports() -> None:
|
|
assert sorted(EXPECTED_ALL) == sorted(__all__)
|