Enhancement: Add Voice Command Functionality and Enable Bot Speech #5
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR enhances the Textbase Bot by introducing three significant features:
Voice Command Functionality: We've added the capability for users to control the chatbot via voice commands. With the new "Mic" button in the UI, users can speak to the bot, and their voice input is converted to text. This text is then sent to the backend for processing, allowing for a more interactive and user-friendly experience.
Bot Speech: Additionally, we've implemented the ability to toggle bot speech on or off. Users can now choose whether the bot responds with text-only or uses text-to-speech to audibly reply. This feature provides greater flexibility and accessibility for users.
Switch Between LLM Models: We've also included functionality to switch between different Language Model models (LLMs). Users can now choose which LLM model they want the chatbot to use, providing the option to experiment with different models for various responses.