Home / Function/ test__get_prompts_invalid() — langchain Function Reference

test__get_prompts_invalid() — langchain Function Reference

Architecture documentation for the test__get_prompts_invalid() function in test_runner_utils.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  c8da9e6e_d8e4_1b03_7b21_008a394ad894["test__get_prompts_invalid()"]
  c6cd417d_d0bc_a309_dd34_61e338d2ac18["test_runner_utils.py"]
  c8da9e6e_d8e4_1b03_7b21_008a394ad894 -->|defined in| c6cd417d_d0bc_a309_dd34_61e338d2ac18
  style c8da9e6e_d8e4_1b03_7b21_008a394ad894 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py lines 156–158

def test__get_prompts_invalid(inputs: dict[str, Any]) -> None:
    with pytest.raises(InputFormatError):
        _get_prompt(inputs)

Domain

Subdomains

Frequently Asked Questions

What does test__get_prompts_invalid() do?
test__get_prompts_invalid() is a function in the langchain codebase, defined in libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py.
Where is test__get_prompts_invalid() defined?
test__get_prompts_invalid() is defined in libs/langchain/tests/unit_tests/smith/evaluation/test_runner_utils.py at line 156.

Analyze Your Own Codebase

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

Try Supermodel Free