ImageURLContent
Base classes¶
Name | Children | Inherits |
---|---|---|
BaseImageContent llmling_agent.models.content Base for image content. |
⋔ Inheritance diagram¶
graph TD
94743664361696["content.ImageURLContent"]
94743664016288["content.BaseImageContent"]
94743663696960["content.BaseContent"]
94743632922272["main.BaseModel"]
139793542615232["builtins.object"]
94743664016288 --> 94743664361696
94743663696960 --> 94743664016288
94743632922272 --> 94743663696960
139793542615232 --> 94743632922272
🛈 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 |
|