AssertionByInvocation Class — langchain Architecture
Architecture documentation for the AssertionByInvocation class in test_responses_spec.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD e23260eb_4a7c_d5fd_0bbc_291cc56b4eff["AssertionByInvocation"] 7855a665_55db_b41b_157c_688e4616a002["BaseSchema"] e23260eb_4a7c_d5fd_0bbc_291cc56b4eff -->|extends| 7855a665_55db_b41b_157c_688e4616a002 e8aafd1b_21af_e716_6b31_14e1cb032faa["test_responses_spec.py"] e23260eb_4a7c_d5fd_0bbc_291cc56b4eff -->|defined in| e8aafd1b_21af_e716_6b31_14e1cb032faa
Relationship Graph
Source Code
libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py lines 41–46
class AssertionByInvocation(BaseSchema):
prompt: str
tools_with_expected_calls: ToolCalls
expected_last_message: str
expected_structured_response: dict[str, Any] | None
llm_request_count: int
Extends
Source
Frequently Asked Questions
What is the AssertionByInvocation class?
AssertionByInvocation is a class in the langchain codebase, defined in libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py.
Where is AssertionByInvocation defined?
AssertionByInvocation is defined in libs/langchain_v1/tests/unit_tests/agents/test_responses_spec.py at line 41.
What does AssertionByInvocation extend?
AssertionByInvocation extends BaseSchema.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free