_call() — langchain Function Reference
Architecture documentation for the _call() function in fake_chat_model.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 76fca993_3750_2bed_ba2e_4a670be1047b["_call()"] c74d0ecf_3090_f22c_8651_7b95b58a1752["FakeChatModel"] 76fca993_3750_2bed_ba2e_4a670be1047b -->|defined in| c74d0ecf_3090_f22c_8651_7b95b58a1752 style 76fca993_3750_2bed_ba2e_4a670be1047b fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/langchain/tests/unit_tests/llms/fake_chat_model.py lines 26–33
def _call(
self,
messages: list[BaseMessage],
stop: list[str] | None = None,
run_manager: CallbackManagerForLLMRun | None = None,
**kwargs: Any,
) -> str:
return "fake response"
Domain
Subdomains
Source
Frequently Asked Questions
What does _call() do?
_call() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/llms/fake_chat_model.py.
Where is _call() defined?
_call() is defined in libs/langchain/tests/unit_tests/llms/fake_chat_model.py at line 26.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free