_any_id_human_message() — langchain Function Reference
Architecture documentation for the _any_id_human_message() function in stubs.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 738fac62_7231_9975_4de8_8a3ed29fd01d["_any_id_human_message()"] 12a520c3_62e1_cdd4_fbd2_d2a1106cf9e4["stubs.py"] 738fac62_7231_9975_4de8_8a3ed29fd01d -->|defined in| 12a520c3_62e1_cdd4_fbd2_d2a1106cf9e4 style 738fac62_7231_9975_4de8_8a3ed29fd01d fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/stubs.py lines 45–49
def _any_id_human_message(**kwargs: Any) -> HumanMessage:
"""Create a `HumanMessage` with an any id field."""
message = HumanMessage(**kwargs)
message.id = AnyStr()
return message
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does _any_id_human_message() do?
_any_id_human_message() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/stubs.py.
Where is _any_id_human_message() defined?
_any_id_human_message() is defined in libs/core/tests/unit_tests/stubs.py at line 45.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free