Home / Function/ _type() — langchain Function Reference

_type() — langchain Function Reference

Architecture documentation for the _type() function in trajectory_eval_chain.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  e81f6502_ace5_18d2_ed79_c829350167a2["_type()"]
  65c932f4_0640_c33d_d4f3_07196188eaa5["TrajectoryOutputParser"]
  e81f6502_ace5_18d2_ed79_c829350167a2 -->|defined in| 65c932f4_0640_c33d_d4f3_07196188eaa5
  style e81f6502_ace5_18d2_ed79_c829350167a2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py lines 53–54

    def _type(self) -> str:
        return "agent_trajectory"

Domain

Subdomains

Frequently Asked Questions

What does _type() do?
_type() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py.
Where is _type() defined?
_type() is defined in libs/langchain/langchain_classic/evaluation/agents/trajectory_eval_chain.py at line 53.

Analyze Your Own Codebase

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

Try Supermodel Free