Home / Function/ function_docstring_annotations() — langchain Function Reference

function_docstring_annotations() — langchain Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/core/tests/unit_tests/utils/test_function_calling.py lines 74–83

def function_docstring_annotations() -> Callable:
    def dummy_function(arg1: int, arg2: Literal["bar", "baz"]) -> None:
        """Dummy function.

        Args:
            arg1: foo
            arg2: one of 'bar', 'baz'
        """

    return dummy_function

Domain

Subdomains

Frequently Asked Questions

What does function_docstring_annotations() do?
function_docstring_annotations() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/utils/test_function_calling.py.
Where is function_docstring_annotations() defined?
function_docstring_annotations() is defined in libs/core/tests/unit_tests/utils/test_function_calling.py at line 74.
What does function_docstring_annotations() call?
function_docstring_annotations() 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