Home / Function/ _type() — langchain Function Reference

_type() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  251f8580_82ae_0d82_bd71_71645329b864["_type()"]
  a021acf8_977f_5883_b651_b38a87dbf99d["XMLAgentOutputParser"]
  251f8580_82ae_0d82_bd71_71645329b864 -->|defined in| a021acf8_977f_5883_b651_b38a87dbf99d
  style 251f8580_82ae_0d82_bd71_71645329b864 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/output_parsers/xml.py lines 125–126

    def _type(self) -> str:
        return "xml-agent"

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free