Home / Function/ test_openai_streaming_multiple_prompts_error() — langchain Function Reference

test_openai_streaming_multiple_prompts_error() — langchain Function Reference

Architecture documentation for the test_openai_streaming_multiple_prompts_error() function in test_base.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  bcb2f24d_dd7c_f6c4_a564_0d50e58b9c94["test_openai_streaming_multiple_prompts_error()"]
  2edc9f83_2189_a9c8_70f5_10e2e98e8272["test_base.py"]
  bcb2f24d_dd7c_f6c4_a564_0d50e58b9c94 -->|defined in| 2edc9f83_2189_a9c8_70f5_10e2e98e8272
  style bcb2f24d_dd7c_f6c4_a564_0d50e58b9c94 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/llms/test_base.py lines 193–196

def test_openai_streaming_multiple_prompts_error() -> None:
    """Test validation for streaming fails if multiple prompts are given."""
    with pytest.raises(ValueError):
        OpenAI(streaming=True).generate(["I'm Pickle Rick", "I'm Pickle Rick"])

Domain

Subdomains

Frequently Asked Questions

What does test_openai_streaming_multiple_prompts_error() do?
test_openai_streaming_multiple_prompts_error() is a function in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/llms/test_base.py.
Where is test_openai_streaming_multiple_prompts_error() defined?
test_openai_streaming_multiple_prompts_error() is defined in libs/partners/openai/tests/integration_tests/llms/test_base.py at line 193.

Analyze Your Own Codebase

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

Try Supermodel Free