Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/peterw/JarvisBase
Question-answering chatbot using OpenAI's GPT-3.5-turbo model, DeepLake for the vector database, and the Whisper API for voice transcription. The chatbot also uses Eleven Labs to generate audio responses.
https://github.com/peterw/JarvisBase
Last synced: 3 months ago
JSON representation
Question-answering chatbot using OpenAI's GPT-3.5-turbo model, DeepLake for the vector database, and the Whisper API for voice transcription. The chatbot also uses Eleven Labs to generate audio responses.
- Host: GitHub
- URL: https://github.com/peterw/JarvisBase
- Owner: peterw
- License: mit
- Created: 2023-05-10T03:08:13.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-05-20T03:45:22.000Z (7 months ago)
- Last Synced: 2024-07-15T14:40:09.412Z (5 months ago)
- Language: Python
- Homepage: https://explodinginsights.com/
- Size: 488 KB
- Stars: 149
- Watchers: 5
- Forks: 41
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JarvisBase
Question-answering chatbot using OpenAI's GPT-3.5-turbo model, DeepLake for the vector database, and the Whisper API for voice transcription. The chatbot also uses Eleven Labs to generate audio responses.## Basic Idea
1. Get all the Huggingface Hub Python Library Articles
2. Embed them with Deeplake
3. Allow the user to record their voice or type their query
4. Generate the repsonse and make an audio recording using elevenlabs## Installation
Clone the repository.git clone https://github.com/peterw/QnA.git
Install dependencies:
pip install -r requirements.txt
Get your [OpenAi API keys](https://platform.openai.com/account/api-keys), [Activeloop APi Keys](https://app.activeloop.ai/profile/kenyanroot/apitoken) and [Eleven Labs API Keys](https://beta.elevenlabs.io/speech-synthesis) and add them to your .env file.
## Usage
To set up and run this project, follow these steps:1. Run the scrape.py script to embed the Intercom articles first
python scrape.py
2. Start the app
streamlit run chat.py
Type your query in the input field and press enter.
If you have a microphone, you can click the record button and transcribe your audio. Click the transcribe button to get the text.
The bot will display the response in the chat history, and it will also be spoken using the Eleven Labs API.## Sponsors
✨ Find profitable ideas faster: [Exploding Insights](https://explodinginsights.com/)
## License
This project is licensed under the MIT License. See the LICENSE file for details.