Home / Function/ _llm_type() — langchain Function Reference

_llm_type() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  30158a44_fa90_6eea_6740_b8c3da8d9bc2["_llm_type()"]
  e4e0a22b_f66c_4be3_2ea6_e05618b90cc3["ModelWithGenerate"]
  30158a44_fa90_6eea_6740_b8c3da8d9bc2 -->|defined in| e4e0a22b_f66c_4be3_2ea6_e05618b90cc3
  8fa2fe1a_1554_20af_fcdf_61748f56bd57["_llm_type()"]
  8fa2fe1a_1554_20af_fcdf_61748f56bd57 -->|calls| 30158a44_fa90_6eea_6740_b8c3da8d9bc2
  efc446b8_6a0f_df20_bade_fcbcabd21086["_llm_type()"]
  efc446b8_6a0f_df20_bade_fcbcabd21086 -->|calls| 30158a44_fa90_6eea_6740_b8c3da8d9bc2
  ca1145a3_1bfc_fd0f_98d4_b20b8eaaf10b["_llm_type()"]
  ca1145a3_1bfc_fd0f_98d4_b20b8eaaf10b -->|calls| 30158a44_fa90_6eea_6740_b8c3da8d9bc2
  dfbdf4cb_e5d6_b796_b955_5da471623e3b["_llm_type()"]
  dfbdf4cb_e5d6_b796_b955_5da471623e3b -->|calls| 30158a44_fa90_6eea_6740_b8c3da8d9bc2
  fb5308d6_fccf_58d7_af55_408fa1202a1d["_llm_type()"]
  fb5308d6_fccf_58d7_af55_408fa1202a1d -->|calls| 30158a44_fa90_6eea_6740_b8c3da8d9bc2
  8fa2fe1a_1554_20af_fcdf_61748f56bd57["_llm_type()"]
  30158a44_fa90_6eea_6740_b8c3da8d9bc2 -->|calls| 8fa2fe1a_1554_20af_fcdf_61748f56bd57
  style 30158a44_fa90_6eea_6740_b8c3da8d9bc2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/language_models/chat_models/test_base.py lines 201–202

        def _llm_type(self) -> str:
            return "fake-chat-model"

Domain

Subdomains

Calls

Frequently Asked Questions

What does _llm_type() do?
_llm_type() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/language_models/chat_models/test_base.py.
Where is _llm_type() defined?
_llm_type() is defined in libs/core/tests/unit_tests/language_models/chat_models/test_base.py at line 201.
What does _llm_type() call?
_llm_type() calls 1 function(s): _llm_type.
What calls _llm_type()?
_llm_type() is called by 5 function(s): _llm_type, _llm_type, _llm_type, _llm_type, _llm_type.

Analyze Your Own Codebase

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

Try Supermodel Free