Class: Audio
Audio content (dspy.Audio).
URI: dspy:Audio
classDiagram
class Audio
click Audio href "../Audio/"
Type <|-- Audio
click Type href "../Type/"
Audio : data
Audio : description
Audio : id
Audio : mimetype
Audio : name
Audio : url
Inheritance
- NamedThing
- Type
- Audio
- Type
Slots
| Name | Cardinality and Range | Description | Inheritance |
|---|---|---|---|
| data | 0..1 String |
Base64-encoded inline payload | direct |
| mimetype | 0..1 MimeType |
IANA media type for the payload | direct |
| url | 0..1 String |
URL pointing at a remote payload | direct |
| id | 1 Identifier |
Stable opaque identifier for an instance | NamedThing |
| name | 0..1 String |
Short human-readable name | NamedThing |
| description | 0..1 String |
Free-form description | NamedThing |
In Subsets
Identifier and Mapping Information
Annotations
| property | value |
|---|---|
| dspy_source_paths | ['dspy/adapters/types/audio.py'] |
| dspy_source_urls | ['https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/audio.py'] |
Schema Source
- from schema: https://w3id.org/lmodel/dspy
Mappings
| Mapping Type | Mapped Value |
|---|---|
| self | dspy:Audio |
| native | dspy:Audio |
| broad | nexus:Modality |
| related | ai:AudioCapability, iso22989:DataModality |
LinkML Source
Direct
name: Audio
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/adapters/types/audio.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/audio.py
description: Audio content (``dspy.Audio``).
in_subset:
- custom_types
from_schema: https://w3id.org/lmodel/dspy
related_mappings:
- ai:AudioCapability
- iso22989:DataModality
broad_mappings:
- nexus:Modality
is_a: Type
slots:
- data
- mimetype
- url
Induced
name: Audio
annotations:
dspy_source_paths:
tag: dspy_source_paths
value:
- dspy/adapters/types/audio.py
dspy_source_urls:
tag: dspy_source_urls
value:
- https://github.com/stanfordnlp/dspy/blob/main/dspy/adapters/types/audio.py
description: Audio content (``dspy.Audio``).
in_subset:
- custom_types
from_schema: https://w3id.org/lmodel/dspy
related_mappings:
- ai:AudioCapability
- iso22989:DataModality
broad_mappings:
- nexus:Modality
is_a: Type
attributes:
data:
name: data
description: Base64-encoded inline payload.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: Audio
domain_of:
- Audio
- File
- Document
- LMSourcePart
- LMDocumentPart
range: string
mimetype:
name: mimetype
description: IANA media type for the payload.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
owner: Audio
domain_of:
- Audio
- File
- Document
- LMSourcePart
- LMDocumentPart
range: MimeType
url:
name: url
description: URL pointing at a remote payload.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: schema:url
owner: Audio
domain_of:
- Image
- Audio
- File
- Citation
- Document
- LMSourcePart
- LMDocumentPart
- LMCitationPart
range: string
id:
name: id
description: Stable opaque identifier for an instance.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: schema:identifier
identifier: true
owner: Audio
domain_of:
- NamedThing
range: Identifier
required: true
name:
name: name
description: Short human-readable name.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: rdfs:label
owner: Audio
domain_of:
- NamedThing
- LMToolCallPart
- LMMessage
- LMToolSpec
range: string
description:
name: description
description: Free-form description.
from_schema: https://w3id.org/lmodel/dspy
rank: 1000
slot_uri: dct:description
owner: Audio
domain_of:
- NamedThing
- LMToolSpec
range: string