Home / Class/ TestParrotRetrieverIntegration Class — langchain Architecture

TestParrotRetrieverIntegration Class — langchain Architecture

Architecture documentation for the TestParrotRetrieverIntegration class in test_basic_retriever.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  91cacc19_b25f_7242_6bdb_fc1f2d356fcd["TestParrotRetrieverIntegration"]
  832b9ba1_75e8_ad0c_71b4_3f5c6d4c0825["RetrieversIntegrationTests"]
  91cacc19_b25f_7242_6bdb_fc1f2d356fcd -->|extends| 832b9ba1_75e8_ad0c_71b4_3f5c6d4c0825
  a5ac91a7_8691_039a_2019_920c9181c879["test_basic_retriever.py"]
  91cacc19_b25f_7242_6bdb_fc1f2d356fcd -->|defined in| a5ac91a7_8691_039a_2019_920c9181c879
  43c31c62_187e_3cee_66c5_cf79eab25099["retriever_constructor()"]
  91cacc19_b25f_7242_6bdb_fc1f2d356fcd -->|method| 43c31c62_187e_3cee_66c5_cf79eab25099
  5da52349_32e8_545c_e806_af1e47b8897f["retriever_constructor_params()"]
  91cacc19_b25f_7242_6bdb_fc1f2d356fcd -->|method| 5da52349_32e8_545c_e806_af1e47b8897f
  1eb47e71_e28f_d782_9ea9_ec0561370aab["retriever_query_example()"]
  91cacc19_b25f_7242_6bdb_fc1f2d356fcd -->|method| 1eb47e71_e28f_d782_9ea9_ec0561370aab

Relationship Graph

Source Code

libs/standard-tests/tests/unit_tests/test_basic_retriever.py lines 18–29

class TestParrotRetrieverIntegration(RetrieversIntegrationTests):
    @property
    def retriever_constructor(self) -> type[ParrotRetriever]:
        return ParrotRetriever

    @property
    def retriever_constructor_params(self) -> dict[str, Any]:
        return {"parrot_name": "Polly"}

    @property
    def retriever_query_example(self) -> str:
        return "parrot"

Frequently Asked Questions

What is the TestParrotRetrieverIntegration class?
TestParrotRetrieverIntegration is a class in the langchain codebase, defined in libs/standard-tests/tests/unit_tests/test_basic_retriever.py.
Where is TestParrotRetrieverIntegration defined?
TestParrotRetrieverIntegration is defined in libs/standard-tests/tests/unit_tests/test_basic_retriever.py at line 18.
What does TestParrotRetrieverIntegration extend?
TestParrotRetrieverIntegration extends RetrieversIntegrationTests.

Analyze Your Own Codebase

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

Try Supermodel Free