프로젝트
GitHub에서 보기
AlexandreSajus/JARVIS
소개
나만의 개인 음성 비서입니다. 음성을 텍스트로 변환하고 LLM으로 처리한 뒤 다시 음성으로 변환하며, 웹 인터페이스에 결과를 표시합니다.
AI 및 머신러닝측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalJARVIS
Your own voice personal assistant: Voice to Text to LLM to Speech, displayed in a web interface.
How it works
- :microphone: The user speaks into the microphone
- :keyboard: Voice is converted to text using Deepgram
- :robot: Text is sent to OpenAI's GPT-3 API to generate a response
- :loudspeaker: Response is converted to speech using ElevenLabs
- :loud_sound: Speech is played using Pygame
- :computer: Conversation is displayed in a webpage using Taipy
Video Demo
Requirements
Python 3.8 - 3.11
Make sure you have the following API keys:
How to install
- Clone the repository
git clone https://github.com/AlexandreSajus/JARVIS.git
- Install the requirements
pip install -r requirements.txt
- Create a
.envfile in the root directory and add the following variables:
DEEPGRAM_API_KEY=XXX...XXX
OPENAI_API_KEY=sk-XXX...XXX
ELEVENLABS_API_KEY=XXX...XXX
How to use
- Run
display.pyto start the web interface
python display.py
- In another terminal, run
jarvis.pyto start the voice assistant
python main.py
- Once ready, both the web interface and the terminal will show
Listening... - You can now speak into the microphone
- Once you stop speaking, it will show
Stopped listening - It will then start processing your request
- Once the response is ready, it will show
Speaking... - The response will be played and displayed in the web interface.
Here is an example:
Listening...
Done listening
Finished transcribing in 1.21 seconds.
Finished generating response in 0.72 seconds.
Finished generating audio in 1.85 seconds.
Speaking...
--- USER: good morning jarvis
--- JARVIS: Good morning, Alex! How can I assist you today?
Listening...
...
관련 프로젝트 살펴보기
불러오는 중…