You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
langchain/libs/core/tests/unit_tests/example_selectors/test_imports.py

14 lines
318 B
Python

from langchain_core.example_selectors import __all__
EXPECTED_ALL = [
"BaseExampleSelector",
"LengthBasedExampleSelector",
"MaxMarginalRelevanceExampleSelector",
"SemanticSimilarityExampleSelector",
"sorted_values",
]
def test_all_imports() -> None:
assert set(__all__) == set(EXPECTED_ALL)