A robust solution providing self-hosted ChatGPT service using OpenAI APIs, along with API endpoints, frontend application, and session storage capabilities.
This project employs the 'gpt-3.5-turbo' model API from OpenAI.
- Next.js (APIs and Frontend)
- OpenAI JS Lib (API calls to OpenAI)
- Mongo DB (FootballMatch History Storage)
Update docker-compose.yml/.env file with OPEN AI API Key. Start the Frontend + API server and run Mongo DB Docker containers -
docker compose up -d
Open http://localhost:3000 with your browser to view the result.
A simplified login system to segregate the conversation history by username.