Home / Function/ test_verbosity_parameter() — langchain Function Reference

test_verbosity_parameter() — langchain Function Reference

Architecture documentation for the test_verbosity_parameter() function in test_responses_api.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  3feadaa4_43df_7624_fb69_223194786f56["test_verbosity_parameter()"]
  992496d5_b7d4_139f_00cf_3e585d851f81["test_responses_api.py"]
  3feadaa4_43df_7624_fb69_223194786f56 -->|defined in| 992496d5_b7d4_139f_00cf_3e585d851f81
  style 3feadaa4_43df_7624_fb69_223194786f56 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py lines 1068–1078

def test_verbosity_parameter() -> None:
    """Test verbosity parameter with Responses API.

    Tests that the verbosity parameter works correctly with the OpenAI Responses API.

    """
    llm = ChatOpenAI(model=MODEL_NAME, verbosity="medium", use_responses_api=True)
    response = llm.invoke([HumanMessage(content="Hello, explain quantum computing.")])

    assert isinstance(response, AIMessage)
    assert response.content

Domain

Subdomains

Frequently Asked Questions

What does test_verbosity_parameter() do?
test_verbosity_parameter() is a function in the langchain codebase, defined in libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py.
Where is test_verbosity_parameter() defined?
test_verbosity_parameter() is defined in libs/partners/openai/tests/integration_tests/chat_models/test_responses_api.py at line 1068.

Analyze Your Own Codebase

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

Try Supermodel Free