Table of Contents

Property Prompt

Namespace
LMKit.Speech
Assembly
LM-Kit.NET.dll

Prompt

[EXPERIMENTAL] Provides an optional initial text prompt to guide the transcription process. This text is prepended to the decoder’s context, which can help bias recognition toward specific vocabulary, phrases, or styles (e.g., domain-specific terminology).

public string Prompt { get; set; }

Property Value

string

Examples

var model = LM.LoadFromModelID("whisper-large-turbo3");
var engine = new SpeechToText(model);
engine.Prompt = "Technical interview with AI developer.";
var result = engine.Transcribe(new WaveFile("session.wav"));

Remarks

Use this property when you want to improve accuracy in specialized scenarios, such as transcribing medical, legal, or technical audio content. An empty string (default) disables this behavior. Support may vary between models, and results are not guaranteed.