This project is a NextJS-based chat application that utilizes OpenAI's GPT models for a conversational AI experience. Users can interact with the chatbot using voice, which is then processed and responded to in real-time.
- Real-time voice-to-text chat using OpenAI GPT.
- Easy-to-use interface.
- Responsive design compatible with various devices.
![Screen Shot 2023-12-25 at 2 19 38 PM](https://private-user-images.githubusercontent.com/80165041/292776535-2379763c-9820-4e2c-815e-c70c82d3eced.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyMDQ4MjQsIm5iZiI6MTcyMDIwNDUyNCwicGF0aCI6Ii84MDE2NTA0MS8yOTI3NzY1MzUtMjM3OTc2M2MtOTgyMC00ZTJjLTgxNWUtYzcwYzgyZDNlY2VkLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDUlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA1VDE4MzUyNFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTBlMjY4YWMzMjEwODc1NjhkMzk0M2NjOWU5Mjk2MGY1Y2IxMjE2NzkzMWQ1ZjgzZWFhYmIyM2JhMGRiODVmODImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.8xwTW33UirY0xrpJwfZxC8FMaSaLCg-L2Ei6Ox2qOWw)
To get a local copy up and running, follow these simple steps.
Ensure you have the following installed:
- Node.js (v12 or later)
- npm (usually comes with Node.js)
- Clone the repository:
- Navigate to the project directory:
- Install NPM packages:
npm install
- Environment Variables To run this project, you will need to add the following environment variables to your .env file:
NEXT_PUBLIC_OPENAI_ORG_ID: Your OpenAI Organization ID.
NEXT_PUBLIC_OPENAI_API_KEY: Your OpenAI API Key.
- Run locally
npm run dev