Last pull to main#45
Merged
Merged
Conversation
Remade the chatbot so that there are no merge conflicts
Adds documentation.
Added more backend test to get security classes up
…talling chrome driver in run-tests.yml
…NovaCorz/CSC510 into aaparr/automated-frontend-tests
- Implemented backend ChatController and ChatService for Ollama API communication - Created interactive chatbot UI with 3-question conversation flow - Integrated user preferences (budget and dietary restrictions) into AI recommendations - Added personalized food recommendations based on mood, hunger, and preferences - Direct order creation from chatbot recommendations - Added AI Assistant navigation link for customer users - Includes comprehensive setup guide in CHATBOT_SETUP.md Backend changes: - ChatController.java: REST endpoint at /api/chat - ChatService & ChatServiceImpl: Ollama API integration - ChatRequestDto & ChatResponseDto: DTOs for chat communication Frontend changes: - Chatbot.js: Interactive chat component with typing indicators - Navigation.js: Added AI Assistant link - App.js: Added /chatbot route - api.js: Added sendChatMessage function - index.css: Added chatbot styling
- Save chatbot conversation state to localStorage - Persist messages, conversation step, and recommendation across navigation - Order This Now button now adds food to cart instead of direct order - Automatically add recommended food to cart when navigating to Create Order - Show success/out-of-stock notification banner - Clear localStorage state when starting over - Improved UX: users can browse other pages without losing conversation
Feature/ai chatbot integration
Updated the FoodSeer setup guide with improved formatting and additional details.
|
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Collaborator
|
Tests all pass. Good work guys. Merging. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Getting everything for the project in before deadline