interface TranscribableAudio implements HasContent, HasMimeType, Stringable

Methods

string
content()

Get the file's raw content.

string|null
mimeType()

Get the file's MIME type.

withMimeType(string $mimeType)

Set the file's MIME type.

transcription()

Generate a transcription of the given audio.

Details

in HasContent at line 14
string content()

Get the file's raw content.

Return Value

string

in HasMimeType at line 12
string|null mimeType()

Get the file's MIME type.

Return Value

string|null

in HasMimeType at line 17
HasMimeType withMimeType(string $mimeType)

Set the file's MIME type.

Parameters

string $mimeType

Return Value

HasMimeType

at line 15
PendingTranscriptionGeneration transcription()

Generate a transcription of the given audio.