All Templates / AI/ML
OpenAI Voice Assistant
Extensible voice assistant template built with the Realtime API and FastAPI
server
pietz/openai-voice-assistant
Just deployed
A template for building real-time voice assistants using OpenAI's realtime API. This project provides a foundation for creating web-based voice interfaces that can process speech in real-time and respond with both voice and text.
It uses the new WebRTC API from OpenAI and a FastAPI server to authenticate the client and handle tool calls. An example tool call to retrieve the current weather is included.
It uses a JavaScript helper library that simplifies the usage in the frontend and pulls tool signatures directly from the OpenAPI definition.
Works best in Chrome, Edge and Safari. Firefox WebRTC performance is not great at the moment.
Template Content
OPENAI_API_KEY
Your secret OpenAI API key
Details
Paul-Louis Pröve's Projects
Created on Jan 15, 2025
21 total projects
11 active projects
80% success on recent deploys
JavaScript, Python, HTML
AI/ML
More templates in this category
Chat Chat
Chat Chat, your own unified chat and search to AI platform.
Harry Yep's Projects
103
openui
Deploy OpenUI: AI-powered UI generation with GitHub OAuth and OpenAI API.
zexd's Projects