Home / Function/ requires_input() — langchain Function Reference

requires_input() — langchain Function Reference

Architecture documentation for the requires_input() function in schema.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  f575f00a_7419_ba10_c6f9_9136902c46a5["requires_input()"]
  942e26b5_86b7_44c9_5c6d_e12c17d223b8["AgentTrajectoryEvaluator"]
  f575f00a_7419_ba10_c6f9_9136902c46a5 -->|defined in| 942e26b5_86b7_44c9_5c6d_e12c17d223b8
  bc93661e_2039_3abb_5981_1dd8b67f05f1["requires_input()"]
  bc93661e_2039_3abb_5981_1dd8b67f05f1 -->|calls| f575f00a_7419_ba10_c6f9_9136902c46a5
  bc93661e_2039_3abb_5981_1dd8b67f05f1["requires_input()"]
  f575f00a_7419_ba10_c6f9_9136902c46a5 -->|calls| bc93661e_2039_3abb_5981_1dd8b67f05f1
  style f575f00a_7419_ba10_c6f9_9136902c46a5 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/schema.py lines 387–389

    def requires_input(self) -> bool:
        """Whether this evaluator requires an input string."""
        return True

Domain

Subdomains

Called By

Frequently Asked Questions

What does requires_input() do?
requires_input() is a function in the langchain codebase, defined in libs/langchain/langchain_classic/evaluation/schema.py.
Where is requires_input() defined?
requires_input() is defined in libs/langchain/langchain_classic/evaluation/schema.py at line 387.
What does requires_input() call?
requires_input() calls 1 function(s): requires_input.
What calls requires_input()?
requires_input() is called by 1 function(s): requires_input.

Analyze Your Own Codebase

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

Try Supermodel Free