MakeASandwich Class — langchain Architecture
Architecture documentation for the MakeASandwich class in test_base.py from the langchain codebase.
Entity Profile
Dependency Diagram
graph TD 6428091c_6032_a729_3f58_790f31e83b46["MakeASandwich"] 48232d20_f8c1_b597_14fa_7dc407e9bfe5["test_base.py"] 6428091c_6032_a729_3f58_790f31e83b46 -->|defined in| 48232d20_f8c1_b597_14fa_7dc407e9bfe5
Relationship Graph
Source Code
libs/partners/openai/tests/unit_tests/chat_models/test_base.py lines 887–893
class MakeASandwich(BaseModel):
"Make a sandwich given a list of ingredients."
bread_type: str
cheese_type: str
condiments: list[str]
vegetables: list[str]
Source
Frequently Asked Questions
What is the MakeASandwich class?
MakeASandwich is a class in the langchain codebase, defined in libs/partners/openai/tests/unit_tests/chat_models/test_base.py.
Where is MakeASandwich defined?
MakeASandwich is defined in libs/partners/openai/tests/unit_tests/chat_models/test_base.py at line 887.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free