ImageURLContent
Base classes¶
Name | Children | Inherits |
---|---|---|
BaseImageContent llmling_agent.models.content Base for image content. |
⋔ Inheritance diagram¶
graph TD
94376906602848["content.ImageURLContent"]
94376906435456["content.BaseImageContent"]
94376906438544["content.BaseContent"]
94376871297088["schema.Schema"]
94376872608160["main.BaseModel"]
140612526616800["builtins.object"]
94376906435456 --> 94376906602848
94376906438544 --> 94376906435456
94376871297088 --> 94376906438544
94376872608160 --> 94376871297088
140612526616800 --> 94376872608160
🛈 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 |
|