Skip to content

rqpt/jarvis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

52 Commits
 
 
 
 

Repository files navigation

Intro

This is essentially a convenience wrapper for another amazing tool called shell-gpt. It enables you to interact with chatGPT using either text or voice, and receive voice and text responses back.

User input is kept very minimal.

Compatibility

This should be usable from linux or macOS systems. Testing still needs to be done to confirm this.

Installation

No installation for the tool itself, it is simply a bash script. You will just need to install a few dependencies-

sudo apt install lame festival jq curl
pip install shell-gpt

Setup

  1. Set your openai api key in your bashrc -
OPENAI_API_KEY=<key>
  1. Put the script in your ~/.local/bin/ directory.
  2. Create a folder anywhere in your filesystem where the script's temporary files can be stored
  3. Open the script file and set the ROOT_DIR variable to the path for the folder you just created.

Use

Prompt

Call jarvis in your terminal and a voice recording will start. Press enter and the recording will be used as a chatgpt prompt. You can alternatively type your prompt, and that will be used as the prompt instead.

Response

You will get both a text and an audio response. The audio can be skipped by pressing enter. Hit enter again to begin the next prompt

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages