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.

Function python LangChainCore Runnables calls 1 called by 1

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/langchain/langchain_classic/evaluation/schema.py lines 93–95

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

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 93.
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