Home / Function/ _type() — langchain Function Reference

_type() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  49be185e_5d63_0024_cebc_61edf8f39ed5["_type()"]
  c80bcf01_deef_c746_2289_cf3c30f352fb["StructuredChatOutputParserWithRetries"]
  49be185e_5d63_0024_cebc_61edf8f39ed5 -->|defined in| c80bcf01_deef_c746_2289_cf3c30f352fb
  efeccf1d_751f_e24b_cd03_3f9030808ea1["_type()"]
  efeccf1d_751f_e24b_cd03_3f9030808ea1 -->|calls| 49be185e_5d63_0024_cebc_61edf8f39ed5
  efeccf1d_751f_e24b_cd03_3f9030808ea1["_type()"]
  49be185e_5d63_0024_cebc_61edf8f39ed5 -->|calls| efeccf1d_751f_e24b_cd03_3f9030808ea1
  style 49be185e_5d63_0024_cebc_61edf8f39ed5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/structured_chat/output_parser.py lines 111–112

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

Subdomains

Calls

Called By

Frequently Asked Questions

What does _type() do?
_type() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/agents/structured_chat/output_parser.py.
Where is _type() defined?
_type() is defined in libs/langchain/langchain_classic/agents/structured_chat/output_parser.py at line 111.
What does _type() call?
_type() calls 1 function(s): _type.
What calls _type()?
_type() is called by 1 function(s): _type.

Analyze Your Own Codebase

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

Try Supermodel Free