-
Notifications
You must be signed in to change notification settings - Fork 7
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
This is Bunkify's core AI feature. The assistant will answer the user's question, "Can I bunk today?" by using the attendance data to provide a simple, direct answer. This feature depends on both data persistence and the overview calculations being complete.
✅ Acceptance Criteria
- Create UI Element: Add an "Ask AI" button or a small chat interface on the home page.
- Develop Core Logic:
- Identify classes scheduled for the current day.
- For each class, retrieve attendance data and calculate the impact of missing it.
- Formulate a response based on whether the user would stay above or drop below their target percentage.
- Generate Simple Responses: The "AI" response should be direct:
- Positive: "Yes, you can afford to bunk [Subject Name]! Your attendance is well above the target."
- Negative: "No, you should attend [Subject Name]. Missing it will drop your attendance below your target."
- Display Response: Show the AI's answer in a modal or pop-up.
💻 Tech Stack & Guidelines
- The initial "AI" will be logic-based (conditional statements), not a true LLM.
- Use Tailwind CSS to style the modal/pop-up.
- Use Framer Motion to animate the modal for a smoother UX.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed