Home / Function/ test_exa_retriever() — langchain Function Reference

test_exa_retriever() — langchain Function Reference

Architecture documentation for the test_exa_retriever() function in test_retriever.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  9ef0c04a_d607_cdb2_e6cc_77e9d5c11c05["test_exa_retriever()"]
  e77e1f5a_fa0b_a140_4502_3540657b32cc["test_retriever.py"]
  9ef0c04a_d607_cdb2_e6cc_77e9d5c11c05 -->|defined in| e77e1f5a_fa0b_a140_4502_3540657b32cc
  style 9ef0c04a_d607_cdb2_e6cc_77e9d5c11c05 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/exa/tests/integration_tests/test_retriever.py lines 10–17

def test_exa_retriever() -> None:
    """Test basic functionality of the `ExaSearchRetriever`."""
    retriever = ExaSearchRetriever()
    res = retriever.invoke("best time to visit japan")
    print(res)  # noqa: T201
    assert len(res) == 10  # default k
    assert isinstance(res, list)
    assert isinstance(res[0], Document)

Domain

Subdomains

Frequently Asked Questions

What does test_exa_retriever() do?
test_exa_retriever() is a function in the langchain codebase, defined in libs/partners/exa/tests/integration_tests/test_retriever.py.
Where is test_exa_retriever() defined?
test_exa_retriever() is defined in libs/partners/exa/tests/integration_tests/test_retriever.py at line 10.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free