Garvis (Starts with G) ๐
Garvis: Realtime AI Voice Assistant
README
Garvis (Starts with G) ๐
This README is a work in progress. Please check back soon for more information. ๐ง
Welcome to Garvis! ๐ This project leverages the speech-to-text endpoint from Groq, utilizing their cutting-edge LPU (Language Processing Unit) chips, which offer unprecedented speed, faster than traditional GPUs. The goal of Garvis is to provide a near real-time user experience by chunking based on silence and translating instantly, thanks to the high-speed capabilities of Groq's hardware and the LLAMA3 large language model. ๐
Attention: ๐จ
At the moment, Groq API is free but has a limited rate. The techniques I'm using to create real-time results require multiple calls, so you may reach your rate limit quickly. Just keep this in mind. โณ
Features
- Real-Time Translation: By chunking input based on silence, Garvis can translate in near real-time, providing an almost instantaneous user experience. โฑ๏ธ
- Asynchronous Core Library: The core of Garvis, named "garvis", is built to be asynchronous, making it adaptable to various user interfaces. ๐
- Flexible User Interface: Garvis is designed to be user interface agnostic, allowing it to be integrated into any platform. Currently, there are examples for both a desktop application and a terminal interface. ๐ป๐ฅ๏ธ
Repository Structure ๐
- examples/: Contains example implementations of Garvis.
- desktop/: A simple desktop application showcasing Garvis in action. ๐ฅ๏ธ
- terminal/: A sample of using the Garvis library in a terminal environment. ๐ฅ๏ธ
Getting Started ๐
Prerequisites ๐
- Python 3.x ๐
- Dependencies listed in
requirements.txt
Installation ๐ป
-
Clone the repository:
git clone https://github.com/unclecode/garvis.git cd garvis -
Install the required dependencies:
pip install -r requirements.txt
Usage ๐
Core Library ๐
[This part is a work in progress. Please check back soon for more information.] ๐ง
Desktop Application ๐ฅ๏ธ
Navigate to the examples/desktop directory and run the application:
cd examples/desktop
python garvis_app_async.py
Terminal Application ๐ป
Navigate to the examples/terminal directory and run the terminal example:
cd examples/terminal
python terminal_ui_async.py
Contributing ๐ค
Contributions are welcome! If you have suggestions for improvements or encounter any issues, please feel free to open an issue or submit a pull request. ๐ ๏ธ
License ๐
This project is licensed under the MIT License - see the LICENSE file for details. ๐
Acknowledgements ๐
- Groq for their Speciatex endpoint and LPU chips. ๐ก
- The developers of the LLAMA3 large language model. ๐ง
Contact ๐ฌ
- X (UncleCode) - @unclecode ๐ฑ
Thank you for checking out Garvis! Stay tuned for more updates and examples. ๐
