Home / Function/ test_structured_prompt_template_empty_vars() — langchain Function Reference

test_structured_prompt_template_empty_vars() — langchain Function Reference

Architecture documentation for the test_structured_prompt_template_empty_vars() function in test_structured.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  f4f5a1ce_b7a6_0ee2_ca9b_19820a9adaa8["test_structured_prompt_template_empty_vars()"]
  3513030b_4904_ecfd_7a0d_cc92be4dda69["test_structured.py"]
  f4f5a1ce_b7a6_0ee2_ca9b_19820a9adaa8 -->|defined in| 3513030b_4904_ecfd_7a0d_cc92be4dda69
  style f4f5a1ce_b7a6_0ee2_ca9b_19820a9adaa8 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/core/tests/unit_tests/prompts/test_structured.py lines 137–143

def test_structured_prompt_template_empty_vars() -> None:
    with pytest.raises(ChevronError, match="empty tag"):
        StructuredPrompt(
            [("human", "hi {{}}")],
            schema={"type": "object", "properties": {}, "title": "foo"},
            template_format="mustache",
        )

Subdomains

Frequently Asked Questions

What does test_structured_prompt_template_empty_vars() do?
test_structured_prompt_template_empty_vars() is a function in the langchain codebase, defined in libs/core/tests/unit_tests/prompts/test_structured.py.
Where is test_structured_prompt_template_empty_vars() defined?
test_structured_prompt_template_empty_vars() is defined in libs/core/tests/unit_tests/prompts/test_structured.py at line 137.

Analyze Your Own Codebase

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

Try Supermodel Free