Class TranscriptionConfig
Configuration for input audio transcription, defaults to off and can be set to null to turn off once on.
Input audio transcription is not native to the model, since the model consumes audio directly.
Transcription runs asynchronously through the /audio/transcriptions endpoint and
should be treated as guidance of input audio content rather than precisely what the model heard.
The client can optionally set the language and prompt for transcription,
these offer additional guidance to the transcription service.
Inheritance
TranscriptionConfig
Assembly: Glitch9.AIDevKit.Provider.OpenAI.dll
Syntax
public class TranscriptionConfig
Properties
|
Edit this page
View Source
Language
Declaration
[JsonProperty("language")]
public string Language { get; set; }
Property Value
|
Edit this page
View Source
Model
Declaration
[JsonProperty("model")]
public string Model { get; set; }
Property Value
|
Edit this page
View Source
Prompt
An optional text to guide the model's style or continue a previous audio segment.
For whisper-1, the prompt is a list of keywords.
For gpt-4o-transcribe models, the prompt is a free text string,
for example "expect words related to technology".
Declaration
[JsonProperty("prompt")]
public string Prompt { get; set; }
Property Value
Extension Methods