Home / Function/ _llm_type() — langchain Function Reference

_llm_type() — langchain Function Reference

Architecture documentation for the _llm_type() function in test_tool_emulator.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  4c8c3fd4_dcd9_8077_a0be_ffdc61af91e2["_llm_type()"]
  a98af8d5_63c2_d67d_53a0_06a07dcab577["FakeEmulatorModel"]
  4c8c3fd4_dcd9_8077_a0be_ffdc61af91e2 -->|defined in| a98af8d5_63c2_d67d_53a0_06a07dcab577
  style 4c8c3fd4_dcd9_8077_a0be_ffdc61af91e2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py lines 114–115

    def _llm_type(self) -> str:
        return "fake_emulator"

Domain

Subdomains

Frequently Asked Questions

What does _llm_type() do?
_llm_type() is a function in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py.
Where is _llm_type() defined?
_llm_type() is defined in libs/langchain_v1/tests/unit_tests/agents/middleware/implementations/test_tool_emulator.py at line 114.

Analyze Your Own Codebase

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

Try Supermodel Free