Home / Function/ _call() — langchain Function Reference

_call() — langchain Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  200b5940_947a_2a80_6a71_452727e33602["_call()"]
  314072d9_7186_1490_7740_e59adde2e32f["FailingLLM"]
  200b5940_947a_2a80_6a71_452727e33602 -->|defined in| 314072d9_7186_1490_7740_e59adde2e32f
  125d428f_8030_0255_35e5_0b2621e17831["test_error_callback()"]
  125d428f_8030_0255_35e5_0b2621e17831 -->|calls| 200b5940_947a_2a80_6a71_452727e33602
  style 200b5940_947a_2a80_6a71_452727e33602 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/language_models/llms/test_base.py lines 111–118

        def _call(
            self,
            prompt: str,
            stop: list[str] | None = None,
            run_manager: CallbackManagerForLLMRun | None = None,
            **kwargs: Any,
        ) -> str:
            raise FailingLLMError

Domain

Subdomains

Frequently Asked Questions

What does _call() do?
_call() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/language_models/llms/test_base.py.
Where is _call() defined?
_call() is defined in libs/core/tests/unit_tests/language_models/llms/test_base.py at line 111.
What calls _call()?
_call() is called by 1 function(s): test_error_callback.

Analyze Your Own Codebase

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

Try Supermodel Free