public void StopRecording()
    {
        string recorded = stt.GetRecordedText();

        stt.StopRecording();
        assistant.SendToChatbot(recorded);
    }