Home / Function/ supports_image_inputs() — langchain Function Reference

supports_image_inputs() — langchain Function Reference

Architecture documentation for the supports_image_inputs() function in chat_models.py from the langchain codebase.

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/standard-tests/langchain_tests/unit_tests/chat_models.py lines 145–152

    def supports_image_inputs(self) -> bool:
        """Supports image inputs.

        Whether the chat model supports image inputs, defaults to
        `False`.

        """
        return False

Domain

Subdomains

Frequently Asked Questions

What does supports_image_inputs() do?
supports_image_inputs() is a function in the langchain codebase, defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py.
Where is supports_image_inputs() defined?
supports_image_inputs() is defined in libs/standard-tests/langchain_tests/unit_tests/chat_models.py at line 145.

Analyze Your Own Codebase

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

Try Supermodel Free