Home / Function/ _get_invocation_params() — langchain Function Reference

_get_invocation_params() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  48bc6778_6ae3_9543_b75b_525491686e7a["_get_invocation_params()"]
  1a5cd25a_9420_c6b2_ec8d_2b53c6427514["ChatFireworks"]
  48bc6778_6ae3_9543_b75b_525491686e7a -->|defined in| 1a5cd25a_9420_c6b2_ec8d_2b53c6427514
  fd4658f0_e792_f5ad_bf91_a837575d3456["_get_ls_params()"]
  fd4658f0_e792_f5ad_bf91_a837575d3456 -->|calls| 48bc6778_6ae3_9543_b75b_525491686e7a
  style 48bc6778_6ae3_9543_b75b_525491686e7a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/fireworks/langchain_fireworks/chat_models.py lines 645–654

    def _get_invocation_params(
        self, stop: list[str] | None = None, **kwargs: Any
    ) -> dict[str, Any]:
        """Get the parameters used to invoke the model."""
        return {
            "model": self.model_name,
            **super()._get_invocation_params(stop=stop),
            **self._default_params,
            **kwargs,
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does _get_invocation_params() do?
_get_invocation_params() is a function in the langchain codebase, defined in libs/partners/fireworks/langchain_fireworks/chat_models.py.
Where is _get_invocation_params() defined?
_get_invocation_params() is defined in libs/partners/fireworks/langchain_fireworks/chat_models.py at line 645.
What calls _get_invocation_params()?
_get_invocation_params() is called by 1 function(s): _get_ls_params.

Analyze Your Own Codebase

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

Try Supermodel Free