TsgcAIOpenAIChatBotMethods › Start

Start Method

Starts microphone recording through the attached AudioRecorder.

Syntax

procedure Start;

Remarks

Delegates to AudioRecorder.Start and raises OnAudioStart once capture begins. Requires a non-nil AudioRecorder. When AudioRecorder.RecorderOptions.Mode = camoAuto, the ChatBot calls Start automatically after each TextToSpeech playback to create a continuous voice loop.

Example

sgcChatBot.Start;
// ... user speaks into the microphone ...
sgcChatBot.Stop;

Back to Methods