This repository provides an example of a web application using OpenAI's Realtime API with Nuxt in server-side rendering (SSR) mode.
-
WebRTC(Recommended)
-
WebSocket
Before running the app, make sure to install all dependencies:
npm install
To run the Nuxt.js application, use the following npm script.
export OPENAI_API_KEY=<your-openai-api-key>
npm run dev
Once the application is running, you can access it at http://localhost:8080.