test_chat_prompt_value_concrete() — langchain Function Reference
Architecture documentation for the test_chat_prompt_value_concrete() function in test_prompt_values.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 5bcc412a_91ff_e7f9_a50a_bc6ad87be9c0["test_chat_prompt_value_concrete()"] 9e11aab9_aa02_e1fb_c2ce_892fa6d92046["test_prompt_values.py"] 5bcc412a_91ff_e7f9_a50a_bc6ad87be9c0 -->|defined in| 9e11aab9_aa02_e1fb_c2ce_892fa6d92046 style 5bcc412a_91ff_e7f9_a50a_bc6ad87be9c0 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
libs/core/tests/unit_tests/test_prompt_values.py lines 14–25
def test_chat_prompt_value_concrete() -> None:
messages: list = [
AIMessage("foo"),
HumanMessage("foo"),
SystemMessage("foo"),
ToolMessage("foo", tool_call_id="foo"),
AIMessageChunk(content="foo"),
HumanMessageChunk(content="foo"),
SystemMessageChunk(content="foo"),
ToolMessageChunk(content="foo", tool_call_id="foo"),
]
assert ChatPromptValueConcrete(messages=messages).messages == messages
Domain
Subdomains
Source
Frequently Asked Questions
What does test_chat_prompt_value_concrete() do?
test_chat_prompt_value_concrete() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/test_prompt_values.py.
Where is test_chat_prompt_value_concrete() defined?
test_chat_prompt_value_concrete() is defined in libs/core/tests/unit_tests/test_prompt_values.py at line 14.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free