TranscriptionProvider
interface TranscriptionProvider implements Provider
Methods
Get the provider connection configuration other than the driver, key, and name.
Get a provider instance that sends the given HTTP headers with each request.
Generate text from the given audio.
Get the provider's transcription gateway.
Get the name of the default transcription (STT) model.
Details
in
Provider at line 12
string
name()
Get the name of the underlying AI provider.
in
Provider at line 17
string
driver()
Get the name of the underlying AI driver.
in
Provider at line 24
array
providerCredentials()
Get the credentials for the underlying AI provider.
in
Provider at line 31
array
additionalConfiguration()
Get the provider connection configuration other than the driver, key, and name.
in
Provider at line 40
Provider
withHeaders(array $headers)
| internal |
Get a provider instance that sends the given HTTP headers with each request.
at line 19
TranscriptionResponse
transcribe(TranscribableAudio $audio, string|null $language = null, bool $diarize = false, string|null $model = null, int|null $timeout = null, array $providerOptions = [])
Generate text from the given audio.
at line 31
TranscriptionGateway
transcriptionGateway()
Get the provider's transcription gateway.
at line 36
TranscriptionProvider
useTranscriptionGateway(TranscriptionGateway $gateway)
Set the provider's transcription gateway.
at line 42
string
defaultTranscriptionModel()
Get the name of the default transcription (STT) model.