audio_chunk_event
Adapted from the Griptape AI Framework documentation.
Bases:
BaseChunkEvent
Attributes
Name | Type | Description |
---|---|---|
data | str | Base64 encoded audio data. |
Source Code in griptape/events/audio_chunk_event.py
@define class AudioChunkEvent(BaseChunkEvent): """Stores a chunk of audio data. Attributes: data: Base64 encoded audio data. """ data: str = field(kw_only=True, metadata={"serializable": True}) def __str__(self) -> str: return self.data
data = field(kw_only=True, metadata={'serializable': True})
class-attribute instance-attribute
str()
Source Code in griptape/events/audio_chunk_event.py
def __str__(self) -> str: return self.data
- On this page
- Attributes
- str()
Could this page be better? Report a problem or suggest an addition!