ImageURLContent
Base classes¶
Name | Children | Inherits |
---|---|---|
BaseImageContent llmling_agent.models.content Base for image content. |
⋔ Inheritance diagram¶
graph TD
94229448504288["content.ImageURLContent"]
94229448743920["content.BaseImageContent"]
94229448349568["content.BaseContent"]
94229438169392["schema.Schema"]
94229417688032["main.BaseModel"]
140359194849504["builtins.object"]
94229448743920 --> 94229448504288
94229448349568 --> 94229448743920
94229438169392 --> 94229448349568
94229417688032 --> 94229438169392
140359194849504 --> 94229417688032
🛈 DocStrings¶
Bases: BaseImageContent
Image from URL.
Source code in src/llmling_agent/models/content.py
83 84 85 86 87 88 89 90 91 92 93 94 95 |
|
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
92 93 94 95 |
|