Home / Function/ _stop() — langchain Function Reference

_stop() — langchain Function Reference

Architecture documentation for the _stop() function in base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  bd116a34_9f35_4b26_7674_80231427e778["_stop()"]
  d5d43d15_73de_819f_ef9d_0df3b0f5c681["ReActDocstoreAgent"]
  bd116a34_9f35_4b26_7674_80231427e778 -->|defined in| d5d43d15_73de_819f_ef9d_0df3b0f5c681
  style bd116a34_9f35_4b26_7674_80231427e778 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/agents/react/base.py lines 75–76

    def _stop(self) -> list[str]:
        return ["\nObservation:"]

Subdomains

Frequently Asked Questions

What does _stop() do?
_stop() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/agents/react/base.py.
Where is _stop() defined?
_stop() is defined in libs/langchain/langchain_classic/agents/react/base.py at line 75.

Analyze Your Own Codebase

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

Try Supermodel Free