Class RealtimeTranscriberOptions
- Namespace
- AssemblyAI.Realtime
- Assembly
- AssemblyAI.dll
The options for the real-time transcriber.
public sealed class RealtimeTranscriberOptions
- Inheritance
-
RealtimeTranscriberOptions
- Inherited Members
Properties
ApiKey
Use your AssemblyAI API key to authenticate with the AssemblyAI real-time transcriber.
public string? ApiKey { set; }
Property Value
DisablePartialTranscripts
Disable partial transcripts.
Set to true
to not receive partial transcripts. Defaults to false
.
public bool DisablePartialTranscripts { get; set; }
Property Value
Encoding
The encoding of the audio data
public AudioEncoding? Encoding { get; set; }
Property Value
RealtimeUrl
The Streaming STT endpoint to connect to.
public string RealtimeUrl { get; set; }
Property Value
SampleRate
The sample rate of the streamed audio. Defaults to 16000.
public uint SampleRate { get; set; }
Property Value
Token
Use a temporary auth token to authenticate with the AssemblyAI real-time transcriber. Learn how to generate a temporary token here.
public string? Token { set; }
Property Value
WordBoost
Add up to 2500 characters of custom vocabulary
public IEnumerable<string> WordBoost { get; set; }