Build and run Sagittarius locally
mainTo run the Sagittarius GPT-4/Gemini Voice/Video Exploration Tool on your local machine, follow these steps:
- Clone the repository and navigate into the directory.
- Create a
.envfile by duplicating.env.example. - Configure your API keys in the
.envfile:- Set
VITE_OPENAI_KEYwith your OpenAI API key (requires access to thegpt-4-vision-previewmodel). - Optionally set
VITE_GEMINI_KEYwith your Gemini API key.
- Set
- Install dependencies using
npm install. - Start the development server using
npm run dev.
The application will be available at http://localhost:5173.
Note: For the best experience with in-browser speech recognition, use Google Chrome.
# Setup steps
cp .env.example .env
# Edit .env to add VITE_OPENAI_KEY or VITE_GEMINI_KEY
npm install
npm run dev