Gladia
Orate supports Gladia's transcription services.
Gladia provide infrastructure to transform note-taking, customer support, sales assistance, user experience, and more. From async to live streaming, their API empowers your platform with accurate, multilingual speech-to-text and actionable insights.
Setup
The Gladia provider is available by default in Orate. To import it, you can use the following code:
Configuration
You can use Gladia by creating a new instance of the Gladia
class:
This will use the GLADIA_API_KEY
environment variable. If you don't have this variable set, you can pass your API key as an argument to the constructor.
Usage
The Gladia provider provides a single interface for all of Gladia's transcription services.
Speech to Text
The Gladia provider provides a stt
function that allows you to create a speech-to-text transcription function using Gladia. By default, the stt
function uses the best
model.
You can specify the model to use by passing it as an argument to the stt
function. By default, the stt
function uses the base
model.
You can also specify specific Gladia properties by passing them as an argument to the stt
function.