Home / File/ retriever.py — langchain Source File

retriever.py — langchain Source File

Architecture documentation for retriever.py, a python file in the langchain codebase. 1 imports, 0 dependents.

File python 1 imports

Entity Profile

Dependency Diagram

graph LR
  552fb355_5c46_ef1b_e4f6_70203a67157d["retriever.py"]
  121262a1_0bd6_d637_bce3_307ab6b3ecd4["langchain_core.tools"]
  552fb355_5c46_ef1b_e4f6_70203a67157d --> 121262a1_0bd6_d637_bce3_307ab6b3ecd4
  style 552fb355_5c46_ef1b_e4f6_70203a67157d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

from langchain_core.tools import (
    create_retriever_tool,
    render_text_description,
    render_text_description_and_args,
)

__all__ = [
    "create_retriever_tool",
    "render_text_description",
    "render_text_description_and_args",
]

Dependencies

  • langchain_core.tools

Frequently Asked Questions

What does retriever.py do?
retriever.py is a source file in the langchain codebase, written in python.
What does retriever.py depend on?
retriever.py imports 1 module(s): langchain_core.tools.
Where is retriever.py in the architecture?
retriever.py is located at libs/langchain/langchain_classic/tools/retriever.py (directory: libs/langchain/langchain_classic/tools).

Analyze Your Own Codebase

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

Try Supermodel Free