audio

A sound recording, such as a call recording or a voice message. Read what was said as a transcript timed in seconds, and listen to a stretch of it as a clip.

At a glance

Writing

Written as

A JSON object.

Create options

Options for speaking a text as a new recording.

Reading

Querying

The transcript is indexed in passages of consecutive utterances, once it has been made, a little after the save (see the HQL reference). ~= compares the meaning of what was said, not the sound. For a recording, match.start and match.end are seconds: pass them as range to read or play the hit. match.meta lists the passage's utterances with their speaker and channel.

Call | recording ~~ "call me back tomorrow" | select id, match.text, match.start, match.end | limit 10
* | ~~ "cancel my order" | match.dtype = "audio" | select _concrete_type, id, match.start, match.text | limit 10

size.seconds is where the transcript's last speech ends, which can be a little short of the recording's length, and it is there once the transcript is:

Call | recording.size.seconds > 1800 | select id, created_at, recording.size.seconds

In agent tools

Metadata

Derived values kept with a stored value:

Operations

Through the dtypes resource: