ImageURLContent
Base classes¶
Name | Children | Inherits |
---|---|---|
BaseImageContent llmling_agent.models.content Base for image content. |
⋔ Inheritance diagram¶
graph TD
94461877466160["content.ImageURLContent"]
94461877432032["content.BaseImageContent"]
94461877390128["content.BaseContent"]
94461844082608["main.BaseModel"]
139711135027392["builtins.object"]
94461877432032 --> 94461877466160
94461877390128 --> 94461877432032
94461844082608 --> 94461877390128
139711135027392 --> 94461844082608
🛈 DocStrings¶
Bases: BaseImageContent
Image from URL.
Source code in src/llmling_agent/models/content.py
82 83 84 85 86 87 88 89 90 91 92 93 94 |
|
type
class-attribute
instance-attribute
¶
type: Literal['image_url'] = Field('image_url', init=False)
URL-based image.
to_openai_format
¶
Convert to OpenAI API format for vision models.
Source code in src/llmling_agent/models/content.py
91 92 93 94 |
|