Home / Function/ _get_default_model_profile() — langchain Function Reference

_get_default_model_profile() — langchain Function Reference

Architecture documentation for the _get_default_model_profile() function in chat_models.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  1332a49e_b8ee_3aae_21d5_f06714988752["_get_default_model_profile()"]
  9591e0fc_6d18_28d3_cea9_e4a5cf7f2b59["chat_models.py"]
  1332a49e_b8ee_3aae_21d5_f06714988752 -->|defined in| 9591e0fc_6d18_28d3_cea9_e4a5cf7f2b59
  98b008f9_f033_655e_0c56_a6f192f38734["_set_model_profile()"]
  98b008f9_f033_655e_0c56_a6f192f38734 -->|calls| 1332a49e_b8ee_3aae_21d5_f06714988752
  style 1332a49e_b8ee_3aae_21d5_f06714988752 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/groq/langchain_groq/chat_models.py lines 80–82

def _get_default_model_profile(model_name: str) -> ModelProfile:
    default = _MODEL_PROFILES.get(model_name) or {}
    return default.copy()

Domain

Subdomains

Frequently Asked Questions

What does _get_default_model_profile() do?
_get_default_model_profile() is a function in the langchain codebase, defined in libs/partners/groq/langchain_groq/chat_models.py.
Where is _get_default_model_profile() defined?
_get_default_model_profile() is defined in libs/partners/groq/langchain_groq/chat_models.py at line 80.
What calls _get_default_model_profile()?
_get_default_model_profile() is called by 1 function(s): _set_model_profile.

Analyze Your Own Codebase

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

Try Supermodel Free