Home / File/ tools.py — langchain Source File

tools.py — langchain Source File

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

File python 1 imports

Entity Profile

Dependency Diagram

graph LR
  f487b054_69d5_e004_2f4a_7eb742e14fbb["tools.py"]
  0dca717d_78a1_be75_1a4d_85530433c1fb["langchain_core.output_parsers.openai_tools"]
  f487b054_69d5_e004_2f4a_7eb742e14fbb --> 0dca717d_78a1_be75_1a4d_85530433c1fb
  style f487b054_69d5_e004_2f4a_7eb742e14fbb fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

"""Output parsers for OpenAI tools."""

from langchain_core.output_parsers.openai_tools import (
    JsonOutputKeyToolsParser,
    JsonOutputToolsParser,
    PydanticToolsParser,
)

__all__ = ["JsonOutputKeyToolsParser", "JsonOutputToolsParser", "PydanticToolsParser"]

Dependencies

  • langchain_core.output_parsers.openai_tools

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free