An open source tool - converse with AI in audio. Powered by OpenAI Realtime, Braintrust & Neon.
- Neon for storing conversation history
- OpenAI Realtime API on Braintrust for audio conversation powered by AI
- Next.js with TypeScript for the app framework
- Tailwind for styling
- Clone the repo:
git clone https://github.com/neondatabase-labs/voice-thingy
- Create a
.env
file and add the following environment variables:
# Grab a connection string from https://console.neon.tech
DATABASE_URL="postgresql://neondb_owner:[email protected]/neondb?sslmode=require"
# Grab API Key from https://www.braintrust.dev/app/settings/api-keys
BRAINTRUST_API_KEY="sk-xlKWNORh5P4zOneLDeYq78VQqed9WBmIKSHddl7WDbHXh107"
- In Braintrust's Settings, set your
OPENAI_API_KEY
. - Run
pnpm install
andpnpm schema
to install dependencies and set the relevant schema in your Neon database. - Run
pnpm dev
to run the application locally.