Have you ever wished your voice assistant could do more than just answer questions? Verbi is here to make that a reality! This open-source voice assistant, powered by cutting-edge AI, can actually take actions on your behalf.
Understanding the Power of Verbi 💪
Verbi leverages the “function calling” abilities of large language models (LLMs). In simple terms, this means it can understand your requests and connect them to the right tools or APIs to get things done.
How It Works ⚙️
- You Speak: Tell Verbi what you need. 🎤
- Speech to Text: Verbi converts your words into text. 📝
- LLM Analyzes & Acts: The LLM determines if it needs to use a specific tool (like your calendar or email) based on your request. 🧠
- Function Calling: Verbi interacts with the necessary tool, retrieving information or performing an action. 🛠️
- Response Generation: The LLM crafts a response based on the tool’s output and delivers it back to you. 🗣️
Setting Up Verbi for Success 🚀
Ready to experience the power of Verbi firsthand? Here’s how to get started:
Cloning and Setting Up 💻
- Clone the Repository: Use the following command to clone the specific branch of the Verbi repository:
git clone -b agent https://github.com/PromtEngineer/Verbi.git
- Navigate to the Folder:
cd Verbi
- Create a Virtual Environment (Optional but Recommended):
conda create -n verbi python=3.8
- Activate the Virtual Environment:
conda activate verbi
- Install Dependencies:
pip install -r requirements.txt
Configuration is Key 🔑
- API Keys: Rename
example.env
to.env
and populate it with your API keys for services like Groq (for speech to text and LLM) and Cartisia (for text to speech). - Customize Actions: Explore
agent/actions.py
to see the pre-built actions. You can customize these or add your own by implementing the necessary API calls.
Bringing Verbi to Life ✨
Once you’ve configured Verbi, run the following command to start interacting with it:
python run_voice_assistant.py
Example Interaction 💬
You: “Verbi, I’m planning a weekend party. Can you suggest some activities?”
Verbi: “Sure! To give you the best suggestions, could you tell me the date for the party?”
You: “The weekend of the 25th and 26th.”
Verbi: (After checking the weather and your calendar)…
The Future of Voice Assistants is Here 🔮
Verbi is more than just a voice assistant—it’s a glimpse into the future of AI. As more tools and APIs become available, the possibilities for Verbi are limitless.
Resources 🧰
- Verbi GitHub Repository: https://github.com/PromtEngineer/Verbi
- Groq Function Calling: https://youtu.be/ybau-0ZIsMc
- AI Agents: https://youtu.be/28w5uFiX-po
Start exploring Verbi today and unlock a new level of efficiency and convenience in your life. 🚀