Home / Function/ _type() — langchain Function Reference

_type() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  5a68eb9e_08a9_5d87_e2dd_8a07eeda418d["_type()"]
  4dc989ff_9a85_a857_d208_5bc8b6a443dc["OpenAIFunctionsAgentOutputParser"]
  5a68eb9e_08a9_5d87_e2dd_8a07eeda418d -->|defined in| 4dc989ff_9a85_a857_d208_5bc8b6a443dc
  e55b2fa4_66cb_977d_8350_133c13c7a80a["_type()"]
  5a68eb9e_08a9_5d87_e2dd_8a07eeda418d -->|calls| e55b2fa4_66cb_977d_8350_133c13c7a80a
  style 5a68eb9e_08a9_5d87_e2dd_8a07eeda418d fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/output_parsers/openai_functions.py lines 29–30

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

Subdomains

Calls

Frequently Asked Questions

What does _type() do?
_type() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/agents/output_parsers/openai_functions.py.
Where is _type() defined?
_type() is defined in libs/langchain/langchain_classic/agents/output_parsers/openai_functions.py at line 29.
What does _type() call?
_type() calls 1 function(s): _type.

Analyze Your Own Codebase

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

Try Supermodel Free