-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a function to generate a generic response if a bot can't #60
Labels
enhancement
New feature or request
Comments
This was referenced Dec 4, 2020
Merged
NeonDaniel
added a commit
that referenced
this issue
Dec 17, 2020
* Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master
NeonDaniel
added a commit
that referenced
this issue
Dec 18, 2020
* Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87)
NeonDaniel
added a commit
that referenced
this issue
Dec 22, 2020
* Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87) * Import bots by names (#73) * Additional parameter for limiting bots import by names * Added additional CLI parameter 'bot-names' to consider only certain bots Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> * Feat threaded shout handling (#89) * First attempt at bot threading * Move socket creation into bot thread for socketio compat. Update testing to include threaded bot creation testing * Cleanup debug lines * Make shout thread a daemon * Fix history tracking update logging (#90) * Troubleshooting participant tracking and package logging * Minor logging change * Update participant history to use sets (#92) * Grammar check integration (#88) * Added grammar check decorator for bots output methods * Returned erased changes * Returned erased changes * Removed grammar check decorators froom parent class * Add back decorator mixin from #88 (#93) Timeout test_start_bot fn Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com>
NeonDaniel
added a commit
that referenced
this issue
Dec 23, 2020
* Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87) * Import bots by names (#73) * Additional parameter for limiting bots import by names * Added additional CLI parameter 'bot-names' to consider only certain bots Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> * Feat threaded shout handling (#89) * First attempt at bot threading * Move socket creation into bot thread for socketio compat. Update testing to include threaded bot creation testing * Cleanup debug lines * Make shout thread a daemon * Fix history tracking update logging (#90) * Troubleshooting participant tracking and package logging * Minor logging change * Update participant history to use sets (#92) * Grammar check integration (#88) * Added grammar check decorator for bots output methods * Returned erased changes * Returned erased changes * Removed grammar check decorators froom parent class * Add back decorator mixin from #88 (#93) Timeout test_start_bot fn * Fix participant bot determination (#95) * Update logging Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com>
NeonDaniel
added a commit
that referenced
this issue
Dec 23, 2020
* Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master
NeonDaniel
added a commit
that referenced
this issue
Apr 27, 2021
* Add unit test badge * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87) * Threading, participant history, shutdown bots, Fix merge (#85) * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87) * Import bots by names (#73) * Additional parameter for limiting bots import by names * Added additional CLI parameter 'bot-names' to consider only certain bots Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> * Feat threaded shout handling (#89) * First attempt at bot threading * Move socket creation into bot thread for socketio compat. Update testing to include threaded bot creation testing * Cleanup debug lines * Make shout thread a daemon * Fix history tracking update logging (#90) * Troubleshooting participant tracking and package logging * Minor logging change * Update participant history to use sets (#92) * Grammar check integration (#88) * Added grammar check decorator for bots output methods * Returned erased changes * Returned erased changes * Removed grammar check decorators froom parent class * Add back decorator mixin from #88 (#93) Timeout test_start_bot fn * Promote to Master (#94) * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87) * Import bots by names (#73) * Additional parameter for limiting bots import by names * Added additional CLI parameter 'bot-names' to consider only certain bots Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> * Feat threaded shout handling (#89) * First attempt at bot threading * Move socket creation into bot thread for socketio compat. Update testing to include threaded bot creation testing * Cleanup debug lines * Make shout thread a daemon * Fix history tracking update logging (#90) * Troubleshooting participant tracking and package logging * Minor logging change * Update participant history to use sets (#92) * Grammar check integration (#88) * Added grammar check decorator for bots output methods * Returned erased changes * Returned erased changes * Removed grammar check decorators froom parent class * Add back decorator mixin from #88 (#93) Timeout test_start_bot fn Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com> * Fix participant bot determination (#95) * Update logging * Dev (#96) * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Troubleshooting test import errors (#87) * Import bots by names (#73) * Additional parameter for limiting bots import by names * Added additional CLI parameter 'bot-names' to consider only certain bots Co-authored-by: Daniel McKnight <34697904+NeonDaniel@users.noreply.github.com> * Feat threaded shout handling (#89) * First attempt at bot threading * Move socket creation into bot thread for socketio compat. Update testing to include threaded bot creation testing * Cleanup debug lines * Make shout thread a daemon * Fix history tracking update logging (#90) * Troubleshooting participant tracking and package logging * Minor logging change * Update participant history to use sets (#92) * Grammar check integration (#88) * Added grammar check decorator for bots output methods * Returned erased changes * Returned erased changes * Removed grammar check decorators froom parent class * Add back decorator mixin from #88 (#93) Timeout test_start_bot fn * Fix participant bot determination (#95) * Update logging Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com> * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Fix bad revert and pull from Master (#86) * Pull upstream (#7) * Bug fix server stop (#22) * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot server stop script * Troubleshoot logging * Troubleshoot logging * Catch @user replies in idle conversation from proctor Handle "observer" bot type * Prevent handling any @user shouts as a submind * Add step for bots to notify Proctor when ready for the next prompt * Troubleshoot bots ready for next input * Better handle abstaining votes, update default logging * Update logging * Update logging * Update logging * Increment version * Update logging to resolve depreciation warnings Update next prompt logic * #28 * Prevent logging incoming prompts for non-proctors * Cleanup pause_response logic for unproctored conversations * Update logging * Introduce random wait to space out bot responses * Catch empty shouts explicitly vote to abstain * Timeout NeonBot queries, fix typo in on_server check * Fix NeonBot responses for on/off server Annotate bus type * Always send a string for vote_response to allow for backwards compat. * Handle register on login attempt user not registered * Update logging * Troubleshoot quotes around prompt * Remove TODO handled in klat-connector * Outline methods for Proctor selecting respondents from the pool of bots * Ensure facilitators always ready for all prompts * Log login errors Prevent facilitators being in a WAIT state * Encapsulate bot errors in handle_incoming_shout * Troubleshoot logging * Troubleshoot logging for bots * Update logging * Catch no nick exceptions * Add LOG for backwards compat. * Troubleshooting LOG changes * Logging updates * Cleanup imports * Update LOG for backwards compat * Troubleshooting response selection errors on cert * Troubleshooting selections counting as prompts on cert * More specific logging of login errors Fix proctor selection of bots to wait out rounds * Troubleshooting NeonBot testing errors * Troubleshooting NeonBot missing responses * Troubleshooting NeonBot missing responses (if guest, don't wait for login return) * Fix ima_dict location * Fix respondent bot proctor shout handling * Logging change only * Update utils to handle starting bots with excluded bots * #63 handle @botName incoming shouts (default ask_chatbot) #60 return a random selection of responses generically when no response is generated * Update ask_history handling Encapsulate errors in bot detection * Only ask scorekeeper on selection, not stenographer * Ignore torchmoji directory in bot detection Catch undefined excluded_bots exception * Update logging and encapsulate more bot errors * Fix logging error in startup function Handle new case sensitivity in participant announcement * Start proctor first to avoid problems with prompts while starting bots * Troubleshoot subminds handling facilitator shouts * Handle default response for timeout in NeonBot Update unit test job name * Update debug to handle chatbot logging * Cleanup vote counting logic Fix scorekeeper call to include current round selection Reorg bot detection startup order * Handle self-votes from ask_appraiser in core (before Proctor) * Add unit test badge * Update logging * Reorg initialization order * Troubleshoot unproctored conversation with multiple bots responding * Troubleshoot unproctored conversation with multiple bots responding * Prevent handling prompts without a proctor Force shouts to be handled synchronously * Cleanup response pausing with queue changes * Thread new shout handling Add threaded prompt handling to core tests * Revert "Add queuing, Better handling of unproctored conversations" * Refactor "thread" to "shout_thread" for clarity * Add participant history param for scorekeeper and other bots * Add participant history param for scorekeeper and other bots * Add function to shutdown bot and call on cli exit * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Revert "Pull upstream (#7)" (#8) This reverts commit 2377871. * Fix git errors after reverting commit to Master * Fix participant bot determination (#95) * Update logging * Replace clean_up_bot function and call on exit (#97) Cleanup imports * Troubleshooting setup requirements, ParlAI dir errors * Use event instead of infinite loop to wait for exit (#102) * Troubleshooting credential file cli option (#104) * Troubleshooting credential file cli option * Increment version * Feat handle stop bot args (#107) * Handle cli server argument * Troubleshoot cli stop server argument * More process ending troubleshooting * More process ending troubleshooting * Cleanup stop bots logging and waiting * Closest Answer Finder (restored) (#106) * Removed redundant logic * Restored closest answer finder * Updated requirements.txt * UpdateD README.md * Update README.md * Fix lowercased names in objects (#109) * Lowercase nicks used as indices * Lowercase nicks vote check * Fix lowercase names in testing (#110) * Lowercase nicks used as indices * Lowercase nicks vote check * Fix case sensitivity in testing * Fix server stop for no server arg * Feat messagebus bot restarts (#113) * Add bot restart via messagebus * Troubleshooting bot restart via messagebus * Troubleshooting bot restart via messagebus * Troubleshooting bot restart via messagebus * Troubleshoot bot restarts * Troubleshoot bot restarts killing all PIDs * Troubleshoot bot restarts track all PIDs on start * Troubleshoot bot restarts log pids * Troubleshoot bot restarts don't remove PIDs in iterator * Cleanup Restart code * Fix messagebus init for NeonBots (#115) Cleanup messagebus in clean_up_bot * Add a thread safety check in cleanup (#117) * Update license in file headers (#120) Add LICENSE.md * Update license notices (#121) * Update license in file headers Add LICENSE.md * Update license in setup.py * Fix case sensitivity issues in _clean_options function (#122) * Fix Recursive Shout Handling (#124) * Update git testing and automation (#125) * Use unique prompt id for vote counting (#129) * Increment version to 2.0.0 (#132) * Add support for running a bot as a prompter (#128) * Outline changes to allow a chatbot to converse with Proctor/subminds * Fix @proctor shouts * Add CLI entry point for prompter bot start * Fix typo in CLI entry point * Remove cred_file reference from cli_start_prompter * Prompter send a shout on initialization * Troubleshooting first prompt * Troubleshooting first prompt * Handle initial prompt as a bot parameter * Fix typo in initial prompt * Return to prevent prompter double-handling incoming shouts * Strip "@user" prefix in all handled cases * Handle restart with specified bot (not restart all) * Increment Version * Add backwards compat for v2 bots Add tests * Log error if requesting a v2 bot prompter * Use unique prompt id for vote counting (#129) * Fix bot selection string matching (#136) * Fix bot selection matching partial bot names ("markbot" matched by "kbot") * Fix bot selection matching partial bot names ("markbot" matched by "kbot") * Added more specific login error logging (#135) Improved proctor checking Log shutdown exceptions * Fix @proctor prompt handling (#137) * Fix neon bot prompter (#138) * Add missing is_prompter param to NeonBot * Increment version * Update README.md (#140) * Add Prompter bot support (#141) * Update prompter handling for new server logic * Update prompter response handling * Update prompter response handling * Troubleshooting Prompter connections * Troubleshooting Prompter shout handling * Fix Prompter start domain * Fix Uncovered bug in register on login logic (#144) Co-authored-by: NeonKirill <74428618+NeonKirill@users.noreply.github.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Create a function in chatbot-core used to generate a response if the bot has failed to generate a response and return that.
i.e. in KlatBot, don't return the incoming prompt, in other bots don't return "huh" or "I don't understand" as a catch-all fallback response (those may be valid responses if they match some input pattern/intent).
The text was updated successfully, but these errors were encountered: