Versions in this module Expand all Collapse all v0 v0.0.1 Feb 23, 2026 Changes in this version + type Controller struct + func NewController(service Service, logger *zap.Logger) *Controller + func (c *Controller) SubmitFeedback(ctx *gin.Context) + type Feedback struct + CreatedAt time.Time + ID uuid.UUID + Message string + PerceivedDifficulty string + StrategySnapshot json.RawMessage + StudentID uuid.UUID + type FeedbackRequest struct + Message string + StudentID uuid.UUID + TaskID string + type Repository interface + GetLatestByStudent func(ctx context.Context, studentID uuid.UUID, limit int) ([]Feedback, error) + Save func(ctx context.Context, feedback *Feedback) error + func NewRepository(db database.DB) Repository + type Service interface + ProcessFeedback func(ctx context.Context, req *FeedbackRequest) (*StrategyUpdate, error) + func NewService(repo Repository, llmClient clients.LLMClient, llmTimeout time.Duration, ...) Service + type StrategyUpdate struct + DifficultyAdjustment float64 + Sentiment string + StrategySnapshot map[string]interface{} + StudentID uuid.UUID + TaskID string + Timestamp time.Time + TopicWeights map[string]float64