This project is a survey application that utilizes the OpenAI GPT-3.5-turbo model to generate and process survey questions. The application is built using Next.js, Firebase, and the OpenAI API.
Features
- Fetch survey templates from the database
- Generate dynamic survey questions based on user responses
- Store survey sessions and templates in Firebase
- Utilize GPT-3.5-turbo model to provide intelligent survey experiences
UX Flow
- Users access the application and choose a survey template.
- The first survey question is generated by GPT and displayed to the user.
- Users answer the question, and the application sends the response to the backend.
- The backend updates the session data and generates the next question.
- The next question is displayed to the user, and the process continues until the survey is complete.