Home / Function/ supports_pdf_tool_message() — langchain Function Reference

supports_pdf_tool_message() — langchain Function Reference

Architecture documentation for the supports_pdf_tool_message() function in test_responses_standard.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  8fca2012_4028_c94e_2716_ac06586083e0["supports_pdf_tool_message()"]
  25cafc0a_8f3b_2d49_7e58_88f79aca1167["TestOpenAIResponses"]
  8fca2012_4028_c94e_2716_ac06586083e0 -->|defined in| 25cafc0a_8f3b_2d49_7e58_88f79aca1167
  style 8fca2012_4028_c94e_2716_ac06586083e0 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/partners/openai/tests/integration_tests/chat_models/test_responses_standard.py lines 82–85

    def supports_pdf_tool_message(self) -> bool:
        # OpenAI requires a filename for PDF inputs
        # For now, we test with filename in OpenAI-specific tests
        return False

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free