' ---------------------------------------------- ' Commands to Theremino_LLM ' ---------------------------------------------- Variable Numeric Slot_Commands = 89 Button 1 Label Model Qwen Button 2 Label Model Kimi Button 3 Label Model DeeepSeek Button 4 Label Model Gemini Button 5 Label Model Ollama Button 7 Label ControlEnter ON Button 8 Label ControlEnter OFF Button 10 Label ShortResponses ON Button 11 Label ShortResponses OFF ' 17 Button 17 Label "Key MyFriend" Button 18 Label "Key MyRobot" Button 20 Label Confidence 30 Button 21 Label Confidence 90 Button 23 Label Hard ON Button 24 Label Hard OFF Button 26 Label VocalFeedback ON Button 27 Label VocalFeedback OFF Button 29 Label Precision Random ' 33 Button 33 Label Send / Abort Button 34 Label New Chat Button 36 Label Dictation ON Button 37 Label Dictation OFF Button 39 Label Speech ON Button 40 Label Speech OFF Button 42 Label Save Button 43 Label Load Button 44 Label Save_TestTxt Button 45 Label Load_TestTxt ' 49 Button 49 Label MainVolume 10 Button 50 Label MainVolume 100 Button 52 Label TTS_Volume 30 Button 53 Label TTS_Volume 90 Button 55 Label TTS_Speed 0 Button 56 Label TTS_Speed 3 Button 58 Label TTS_EngMale Button 59 Label TTS_ItaFemale Button 61 Label Maximize Button 62 Label Minimize Button 63 Label Normal Button 65 Label HowAreYou Button HowAreYou Color Yellow9 Button 66 Label DateAndTime Button DateAndTime Color Yellow9 Stop ' ============================================================= ' SEND COMMAND (default timeout = 0.5 Sec) ' ============================================================= Label SendCommand Variable Numeric SC1 '<-- Parameter Destinat.-Slot Variable String SC2 '<-- Parameter Command-String Variable Numeric SC3 = 0.5 '<-- The timeout in seconds Variable Numeric SC4 SlotText SC1 = SC2 For SC4 = 0.1 To SC3 Step 0.1 If SlotText(SC1) = "" Exit EndIf Wait Seconds 0.1 Next Return ' ============================================================= ' COMMANDS to Theremino_LLM ' ============================================================= ' ------------------------------------------------------------- Label Model Qwen SendCommand(Slot_Commands)("Model Qwen") Return Label Model Kimi SendCommand(Slot_Commands)("Model Kimi") Return Label Model DeeepSeek SendCommand(Slot_Commands)("Model DeepSeek") Return Label Model Gemini SendCommand(Slot_Commands)("Model Gemini") Return Label Model Ollama SendCommand(Slot_Commands)("Model Ollama") Return Label ControlEnter ON SendCommand(Slot_Commands)("ControlEnterON") Return Label ControlEnter OFF SendCommand(Slot_Commands)("ControlEnterOFF") Return Label Key MyFriend SendCommand(Slot_Commands)("Keyword My Friend") Return Label Key MyRobot SendCommand(Slot_Commands)("Keyword My Robot") Return Label Confidence 30 SendCommand(Slot_Commands)("Confidence 30") Return Label Confidence 90 SendCommand(Slot_Commands)("Confidence 90") Return Label Hard ON SendCommand(Slot_Commands)("HardON") Return Label Hard OFF SendCommand(Slot_Commands)("HardOFF") Return Label VocalFeedback ON SendCommand(Slot_Commands)("VocalFeedbackON") Return Label VocalFeedback OFF SendCommand(Slot_Commands)("VocalFeedbackOFF") Return Label ShortResponses ON SendCommand(Slot_Commands)("ShortResponsesON") Return Label ShortResponses OFF SendCommand(Slot_Commands)("ShortResponsesOFF") Return Label Precision Random SendCommand(Slot_Commands)("Precision " + (40 + Rnd * 60)) Return ' ------------------------------------------------------------- Label Send / Abort SendCommand(Slot_Commands)("Send") Return Label New Chat SendCommand(Slot_Commands)("NewChat") Return Label Dictation ON SendCommand(Slot_Commands)("DictationON") Return Label Dictation OFF SendCommand(Slot_Commands)("DictationOFF") Return Label Speech ON SendCommand(Slot_Commands)("SpeechON") Return Label Speech OFF SendCommand(Slot_Commands)("SpeechOFF") Return Label Save SendCommand(Slot_Commands)("Save") Return Label Load SendCommand(Slot_Commands)("Load") Return Label Save_TestTxt SendCommand(Slot_Commands)("Save test.txt") Return Label Load_TestTxt SendCommand(Slot_Commands)("Load test.txt") Return ' ------------------------------------------------------------- Label MainVolume 10 SendCommand(Slot_Commands)("MainVolume 10") Return Label MainVolume 100 SendCommand(Slot_Commands)("MainVolume 100") Return Label TTS_Volume 30 SendCommand(Slot_Commands)("TTSvolume 30") Return Label TTS_Volume 90 SendCommand(Slot_Commands)("TTSvolume 90") Return Label TTS_Speed 0 SendCommand(Slot_Commands)("TTSspeed 0") Return Label TTS_Speed 3 SendCommand(Slot_Commands)("TTSspeed 3") Return Label TTS_EngMale SendCommand(Slot_Commands)("TTSvoice English") Return Label TTS_ItaFemale SendCommand(Slot_Commands)("TTSvoice Italian") Return Label Maximize SendCommand(Slot_Commands)("Maximize") Return Label Minimize SendCommand(Slot_Commands)("Minimize") Return Label Normal SendCommand(Slot_Commands)("Normal") Return Label HowAreYou SendCommand(Slot_Commands)("Prompt How Are You ?") Return Label DateAndTime SendCommand(Slot_Commands)("Prompt What is Date And Time?") Return 'BOOKMARKS 'EDITEDLINES 156 2 152 1 149 2 168 3 171 4 167 5 170 6 37 7 38 8 -1 0