AudioBase64Content
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AudioContent llmling_agent.models.content Base for audio content. |
⋔ Inheritance diagram¶
graph TD
94096746701248["content.AudioBase64Content"]
94096746904176["content.AudioContent"]
94096745529792["content.BaseContent"]
94096720270928["schema.Schema"]
94096710877664["main.BaseModel"]
140089511254496["builtins.object"]
94096746904176 --> 94096746701248
94096745529792 --> 94096746904176
94096720270928 --> 94096745529792
94096710877664 --> 94096720270928
140089511254496 --> 94096710877664
🛈 DocStrings¶
Bases: AudioContent
Audio from base64 data.
Source code in src/llmling_agent/models/content.py
244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 | |
type
class-attribute
instance-attribute
¶
type: Literal['audio_base64'] = Field('audio_base64', init=False)
Base64-encoded audio.
from_bytes
classmethod
¶
Create from raw bytes.
Source code in src/llmling_agent/models/content.py
260 261 262 263 | |
from_path
classmethod
¶
from_path(path: JoinablePathLike) -> Self
Create from file path with auto format detection.
Source code in src/llmling_agent/models/content.py
265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 | |