AudioURLContent
Base classes¶
| Name | Children | Inherits |
|---|---|---|
| AudioContent llmling_agent.models.content Base for audio content. |
⋔ Inheritance diagram¶
graph TD
94890200670640["content.AudioURLContent"]
94890200664032["content.AudioContent"]
94890199950896["content.BaseContent"]
94890183243792["schema.Schema"]
94890170496944["main.BaseModel"]
139970493684192["builtins.object"]
94890200664032 --> 94890200670640
94890199950896 --> 94890200664032
94890183243792 --> 94890199950896
94890170496944 --> 94890183243792
139970493684192 --> 94890170496944
🛈 DocStrings¶
Bases: AudioContent
Audio from URL.
Source code in src/llmling_agent/models/content.py
235 236 237 238 239 240 241 242 243 244 245 246 247 | |
type
class-attribute
instance-attribute
¶
type: Literal['audio_url'] = Field('audio_url', init=False)
URL-based audio.
to_openai_format
¶
Convert to OpenAI API format for audio models.
Source code in src/llmling_agent/models/content.py
244 245 246 247 | |