Home / Function/ init_from_env_params() — langchain Function Reference

init_from_env_params() — langchain Function Reference

Architecture documentation for the init_from_env_params() function in test_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  5bbdb265_112f_6108_be1b_4c35a70b1b82["init_from_env_params()"]
  a301a024_f367_c036_79ae_4d954184da0e["TestFireworksStandard"]
  5bbdb265_112f_6108_be1b_4c35a70b1b82 -->|defined in| a301a024_f367_c036_79ae_4d954184da0e
  style 5bbdb265_112f_6108_be1b_4c35a70b1b82 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/fireworks/tests/unit_tests/test_standard.py lines 24–37

    def init_from_env_params(self) -> tuple[dict, dict, dict]:
        return (
            {
                "FIREWORKS_API_KEY": "api_key",
                "FIREWORKS_API_BASE": "https://base.com",
            },
            {
                "model": "accounts/fireworks/models/llama-v3p1-70b-instruct",
            },
            {
                "fireworks_api_key": "api_key",
                "fireworks_api_base": "https://base.com",
            },
        )

Domain

Subdomains

Frequently Asked Questions

What does init_from_env_params() do?
init_from_env_params() is a function in the langchain codebase, defined in libs/partners/fireworks/tests/unit_tests/test_standard.py.
Where is init_from_env_params() defined?
init_from_env_params() is defined in libs/partners/fireworks/tests/unit_tests/test_standard.py at line 24.

Analyze Your Own Codebase

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

Try Supermodel Free