public RingNotifyOptions(ICamera camera, IChatbot chatbot, string chatId, int notifyPin) { Camera = camera; Chatbot = chatbot; ChatId = chatId; NotifyPin = notifyPin; }
private void RadChatbot_CheckedChanged(object sender, EventArgs e) { RadioButton rb = (RadioButton)sender; if (!rb.Checked) { return; } // Set Engine ChatBot IChatbot chatbot = Program.RuntimeEngine.AI.LanguageModel.ChatbotManager[rb.Name]; Program.RuntimeEngine.AI.LanguageModel.ChatbotManager.Current = chatbot; // Speak the Default Greeting SendResponse(chatbot.Greeting); // Disable the Default this.radDefault.Enabled = false; // Focus Input txtInput.Focus(); }