EveryLinguaAI is a voice assistant application capable of recognizing and responding to spoken commands in multiple languages. It utilizes the Google Speech Recognition API for speech-to-text conversion, Deep Translator for seamless language translation, and leverages OpenAI's GPT models to generate human-like conversational responses.
- Wake Word Detection: Activates the assistant using a specific wake word.
- Multi-Language Support: Capable of understanding and responding in numerous languages.
- Conversational AI: Employs OpenAI's GPT models for generating intelligent responses.
- Language Switching: Allows users to switch the assistant's language dynamically.
Before you begin, ensure you have the following requirements:
- Python 3.6 or higher
- Pip for Python package management
Follow these steps to get your voice assistant up and running:
- Clone the repository:
git clone https://github.com/RoshisRai/EveryLinguaAI.git
- Navigate to the project directory:
cd EveryLinguaAI
- Install the required Python packages:
pip install -r requirements.txt
- Obtain an API key from OpenAI.
- Create a
.env
file in the project root directory. - Add the following line to your
.env
file:OPENAI_API_KEY=YourOpenAIApiKeyHere
To start EveryLinguaAI voice assistant, execute:
python main.py
To begin interacting with EveryLinguaAI, activate it by saying the wake word "Hey Red" or any other wake word you've configured. Once activated, follow these steps to engage in conversation:
-
Language Selection: After activating the voice assistant, specify the language you want to use for the conversation. Simply say the name of the desired language in the language you are currently interacting with. For example, if you want to converse in Spanish, say "espaΓ±ol" or "Spanish." You can also switch languages at any time during the conversation by saying commands like "change language," "another language," or "different language" in either the current language or English.
-
Asking Questions: After selecting the language, you can proceed to ask questions or give commands. Here are some examples of commands:
- "What is the tallest mountain in the world?"
- "Can you tell me some facts about pyramids?"
- "Do aliens exist?"
- "Is AI going to take over?"
-
Language Switching: If you wish to switch languages during the conversation, simply utter one of the predefined language-switching commands in the language you are currently using or in English. The voice assistant will prompt you to specify the new language, allowing you to seamlessly transition between languages as needed.
-
Ending Interaction: To stop asking questions and deactivate the voice assistant, say commands like "stop listening," "no more," "that's all," or "nothing else." You can reactivate the voice assistant at any time by saying the wake word again.
Feel free to explore the capabilities of the EveryLinguaAI by asking questions, switching languages, and interacting in various scenarios. Enjoy the convenience of a versatile and multilingual conversational experience with EveryLinguaAI Voice Assistant!
We welcome contributions to this project! If you'd like to contribute, please follow these steps:
- Fork the repository.
- Create a new branch:
git checkout -b <branch_name>
. - Make your changes and commit them:
git commit -m '<commit_message>'
. - Push to your branch:
git push origin <branch_name>
. - Create the pull request.
Alternatively, see the GitHub documentation on creating a pull request.
This project is licensed under the MIT License - see the LICENSE
file for details.
If you have any questions or feedback, please contact me at π§ [email protected].