PDFBase64Content
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BasePDFContent llmling_agent.models.content Base for PDF document content. |
⋔ Inheritance diagram¶
graph TD
93882686178256["content.PDFBase64Content"]
93882686706464["content.BasePDFContent"]
93882686629312["content.BaseContent"]
93882668443728["schema.Schema"]
93882661557440["main.BaseModel"]
140606511651296["builtins.object"]
93882686706464 --> 93882686178256
93882686629312 --> 93882686706464
93882668443728 --> 93882686629312
93882661557440 --> 93882668443728
140606511651296 --> 93882661557440
🛈 DocStrings¶
Bases: BasePDFContent
PDF from base64 data.
Source code in src/llmling_agent/models/content.py
185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 | |
type
class-attribute
instance-attribute
¶
type: Literal['pdf_base64'] = Field('pdf_base64', init=False)
Base64-data based PDF.
from_bytes
classmethod
¶
from_bytes(
data: bytes, *, detail: DetailLevel | None = None, description: str | None = None
) -> Self
Create PDF content from raw bytes.
Source code in src/llmling_agent/models/content.py
194 195 196 197 198 199 200 201 202 203 204 | |