AI suggestions showed in app, and follow ups #97
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.
This pull request introduces a full AI suggestion and feedback workflow for ticket analysis, integrating database persistence, user feedback, and conversational refinement with the AI assistant. The changes span backend logic, database models and migrations, API enhancements, and internationalization for new UI features.
AI Suggestion & Feedback Workflow
AiSuggestionandAiFeedbackto persist AI-generated solutions and user feedback, including relationships to tickets and users. [1] [2]ai_suggestionsandai_feedbackstables, storing model config, prompt hash, generated content, retrieved documents, and feedback actions.aiSuggestionsrelationship to theTicketmodel for easy access to suggestions per ticket.Backend AI Processing & Persistence
backend-ai/src/main.py) to save each suggestion to the database, including prompt hash, model config, and retrieved chunks. Added support for MySQL viapymysqland new environment variables for DB config. [1] [2] [3] [4]Ticket Controller & API Enhancements
aiFollowUpmethod to the ticket controller to validate feedback, retrieve latest suggestion, and push a refinement request to the AI queue, enabling users to request improved solutions.Internationalization & UI Support
Minor Code Quality Improvements