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 chat_models.py from the langchain codebase.

Entity Profile

Dependency Diagram

graph TD
  f76f5f34_f3af_b845_69e9_0181899bbc0c["supports_pdf_tool_message()"]
  93a85b25_a139_159d_bcf5_03a6e2ed4dd3["ChatModelTests"]
  f76f5f34_f3af_b845_69e9_0181899bbc0c -->|defined in| 93a85b25_a139_159d_bcf5_03a6e2ed4dd3
  style f76f5f34_f3af_b845_69e9_0181899bbc0c fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

libs/standard-tests/langchain_tests/unit_tests/chat_models.py lines 213–219

    def supports_pdf_tool_message(self) -> bool:
        """Supports PDF `ToolMessage` objects.

        Whether the chat model supports `ToolMessage` objects that include PDF
        content.
        """
        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/standard-tests/langchain_tests/unit_tests/chat_models.py.
Where is supports_pdf_tool_message() defined?
supports_pdf_tool_message() is defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py at line 213.

Analyze Your Own Codebase

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

Try Supermodel Free