Home / File/ base.py — langchain Source File

base.py — langchain Source File

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

File python 1 imports

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

from langchain_core.tools import (
    BaseTool,
    SchemaAnnotationError,
    StructuredTool,
    Tool,
    ToolException,
    create_schema_from_function,
    tool,
)

__all__ = [
    "BaseTool",
    "SchemaAnnotationError",
    "StructuredTool",
    "Tool",
    "ToolException",
    "create_schema_from_function",
    "tool",
]

Dependencies

  • langchain_core.tools

Frequently Asked Questions

What does base.py do?
base.py is a source file in the langchain codebase, written in python.
What does base.py depend on?
base.py imports 1 module(s): langchain_core.tools.
Where is base.py in the architecture?
base.py is located at libs/langchain/langchain_classic/tools/base.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