Home / Class/ MakeASandwich Class — langchain Architecture

MakeASandwich Class — langchain Architecture

Architecture documentation for the MakeASandwich class in test_base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  2b21a26c_92a5_09f1_86e3_ae2faf89877e["MakeASandwich"]
  bd382a4e_442c_13ae_530c_6e34bc43623d["test_base.py"]
  2b21a26c_92a5_09f1_86e3_ae2faf89877e -->|defined in| bd382a4e_442c_13ae_530c_6e34bc43623d

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_base.py lines 496–502

class MakeASandwich(BaseModel):
    "Make a sandwich given a list of ingredients."

    bread_type: str
    cheese_type: str
    condiments: list[str]
    vegetables: list[str]

Frequently Asked Questions

What is the MakeASandwich class?
MakeASandwich is a class in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_base.py.
Where is MakeASandwich defined?
MakeASandwich is defined in libs/partners/openai/tests/integration_tests/chat_models/test_base.py at line 496.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free