Home / Function/ supports_image_urls() — langchain Function Reference

supports_image_urls() — langchain Function Reference

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

Entity Profile

Dependency Diagram

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

Relationship Graph

Source Code

libs/standard-tests/langchain_tests/unit_tests/chat_models.py lines 155–162

    def supports_image_urls(self) -> bool:
        """Supports image inputs from URLs.

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

        """
        return False

Domain

Subdomains

Frequently Asked Questions

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

Analyze Your Own Codebase

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

Try Supermodel Free