Frontend: React, tailwind
Backend: Nodejs (Node version: 18.17.1)
Backend url: https://ai-bot-be.onrender.com/
Frontend url: https://effortless-sprinkles-19f01c.netlify.app/
- Run
yarnto install dependencies. - Run
npm run devto start the development server.
- Run
yarnto install dependencies. - Rename
.env.sampleto.env. - Update
OPENAI_API_KEYto your API key. - Run
npm run devto start the development server.
- Implement the UI for the chatbot in React. ✅
- Implement functionality to collapse and expand the chatbot modal. ✅
- Implement a keyboard shortcut to trigger the opening of the chatbot modal. ✅
- Integrate OpenAI's GPT-based model to handle the chat. ✅
- Implement a mechanism to call the API, send user messages, and receive AI messages. ✅
- Display a typing effect in the UI when the AI is generating a response. ✅
- AI Suggested Actions ✅
- After each interaction, provide suggested actions that a user can click on for quick replies. ✅
- Implement mechanisms to deal with unrecognized or ambiguous queries. Offer the user guidance or clarification prompts as necessary. ✅
- Create multiple test cases to validate the reliability and accuracy of your implemented chatbot feature.
- Rate limiting for OpenAI API calls. ✅ (Showing rate limit details on the UI)
- Add support for multiple languages. ✅