Skip to content

A simple proof of concept for voice-to-voice interaction.

License

Notifications You must be signed in to change notification settings

zalo/OpenAI-Voice

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenAI API Voice Interface

You need an OpenAI API Key to run this example!

This is a simple little voice to voice example app for the OpenAI API. Simply paste your secret key into the URL field, click through the alert (user interaction is necessary to activate voice synthesis), and enable your microphone. This has only been tested on Windows in Chrome 83 and is unlikely to work in other browsers.

This example only depends on sse.js to POST authorization credentials through an EventSource.

This is not meant to serve as an example for how to use the API; it was put together very quickly as a proof of concept. More work will be needed to ensure robustness, improve compatibility with other browsers, and to improve the back and forth time in conversations.

The best thing to ask it is to "Tell me a story (complete)".