Akande: A versatile voice assistant powered by OpenAI's GPT-3. It
Project description
Àkàndé
Àkàndé is an advanced voice assistant built in Python, leveraging OpenAI's GPT models for natural language understanding and response generation. Àkàndé has been enhanced to include a caching mechanism for efficient response retrieval and the ability to generate PDF summaries of interactions, making it ideal for both personal assistance and executive briefing purposes.
Features
- Natural Language Understanding: Utilizes OpenAI's GPT models to understand and generate human-like responses.
- PDF Summary Generation: Generates PDF summaries of voice interactions, including a question header, AI-generated response, and an accompanying logo.
- Caching Mechanism: Implements a SQLite-based caching system to store and retrieve past queries and responses, reducing API calls and improving response times.
- Voice Recognition: Integrates with speech recognition libraries to support voice input.
- Text-to-Speech: Converts text responses into speech, providing an interactive voice-based user experience.
Setup
Prerequisites
- Python 3.8+
- Pipenv or virtualenv
Installation
1. Clone the repository
git clone https://github.com/sebastienrousseau/akande
cd akande
2. Install dependencies
pipenv install # If using pipenv
# or
python -m venv venv
source venv/bin/activate # On Windows use `venv\Scripts\activate`
pip install -r requirements.txt
3. Set up environment variables
Copy .env.example to .env and fill in your OpenAI API key and other configurations.
OPENAI_API_KEY=xxxxxxxxxx
4. Running Àkàndé
pipenv run python -m akande # If using pipenv
# or
python -m akande
Usage
After starting Àkàndé, simply follow the voice prompts to ask questions. Àkàndé will respond verbally and generate a PDF summary for each interaction in the specified output directory.
Contributing
Pull requests are welcome. See CONTRIBUTING.md for guidelines.
License
This project is licensed under the MIT license - see the LICENSE file for details.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file akande-0.0.4.tar.gz
.
File metadata
- Download URL: akande-0.0.4.tar.gz
- Upload date:
- Size: 24.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 59956c5d1fbbf8b0bf375ce22e3a14c6e143add7b3e16fe1883761ae4677bd30 |
|
MD5 | 6d4f29648909b8bfb408415527abf640 |
|
BLAKE2b-256 | 9cb7c957d722e90232bdf26479e9b7ef3ee701bb357f9945cb0a821de09d81b2 |
File details
Details for the file akande-0.0.4-py2.py3-none-any.whl
.
File metadata
- Download URL: akande-0.0.4-py2.py3-none-any.whl
- Upload date:
- Size: 22.3 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 70618efdfa269ead67970fc7d584340969743668441f31ddcf2fae632e55549c |
|
MD5 | 532a706b87b3cdf80c0e932c6164ad07 |
|
BLAKE2b-256 | 8747931cdf80de473b37b459f079528971cf3337103cb9f51d18942a48bc20af |