PDFBase64Content
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| BasePDFContent llmling_agent.models.content Base for PDF document content. |
⋔ Inheritance diagram¶
graph TD
94553355729312["content.PDFBase64Content"]
94553355693248["content.BasePDFContent"]
94553355679632["content.BaseContent"]
94553350743616["schema.Schema"]
94553337617952["main.BaseModel"]
140475617909216["builtins.object"]
94553355693248 --> 94553355729312
94553355679632 --> 94553355693248
94553350743616 --> 94553355679632
94553337617952 --> 94553350743616
140475617909216 --> 94553337617952
🛈 DocStrings¶
Bases: BasePDFContent
PDF from base64 data.
Source code in src/llmling_agent/models/content.py
173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 | |
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
182 183 184 185 186 187 188 189 190 191 192 | |