Home / Function/ runnable() — langchain Function Reference

runnable() — langchain Function Reference

Architecture documentation for the runnable() function in test_function_calling.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  37f59eb7_4edf_de01_0be1_7e1cadb59972["runnable()"]
  6f1e8e6f_d3f9_e590_b17e_1dc8afafdbe0["test_function_calling.py"]
  37f59eb7_4edf_de01_0be1_7e1cadb59972 -->|defined in| 6f1e8e6f_d3f9_e590_b17e_1dc8afafdbe0
  a4ca20e5_25b3_5f62_a528_dd4d93e14cff["dummy_function()"]
  37f59eb7_4edf_de01_0be1_7e1cadb59972 -->|calls| a4ca20e5_25b3_5f62_a528_dd4d93e14cff
  style 37f59eb7_4edf_de01_0be1_7e1cadb59972 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/utils/test_function_calling.py lines 87–95

def runnable() -> Runnable:
    class Args(ExtensionsTypedDict):
        arg1: ExtensionsAnnotated[int, "foo"]
        arg2: ExtensionsAnnotated[Literal["bar", "baz"], "one of 'bar', 'baz'"]

    def dummy_function(input_dict: Args) -> None:
        pass

    return RunnableLambda(dummy_function)

Domain

Subdomains

Frequently Asked Questions

What does runnable() do?
runnable() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/utils/test_function_calling.py.
Where is runnable() defined?
runnable() is defined in libs/core/tests/unit_tests/utils/test_function_calling.py at line 87.
What does runnable() call?
runnable() calls 1 function(s): dummy_function.

Analyze Your Own Codebase

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

Try Supermodel Free