User Feedback Plugin
Adds like/dislike on each assistant turn, with an optional comment after a dislike. Admins can review the collected feedback.
Enabled in the shipped default config.
Configuration
plugins:
- module: codumentor.plugins.user_feedback
class: UserFeedbackPlugin
args:
enabled: true
| Arg | Type | Default | Description |
|---|---|---|---|
enabled | bool | true | Declared in YAML. To actually turn the feature off, omit this plugin from plugins: — enabled: false does not hide the controls or the admin page. |
Usage
Users: Like and dislike sit in the action row under each assistant reply (next to copy).
- Like saves immediately. Click again to undo.
- Dislike opens a short form: optional comment (max 2000 characters) and Allow human review of this conversation (checked by default). Send stores the dislike; Cancel closes the form without saving. Clicking dislike again when it is already active removes it.
- Reopening a turn shows the feedback already given. Changing it updates the same record.
Admins: The User Feedback card on the admin page shows total / likes / dislikes. Opening it goes to the feedback admin page: filter (all / likes / dislikes), a paginated table (type, comment, conversation, turn, review consent, time), and CSV export. Requires admin:*. When the user allowed review, the conversation id is a link to that turn; otherwise it is plain text.
Notes
- Dislike comments are optional.
- Feedback is stored in
user_feedback.sqlite3under the instance data directory (CODUMENTOR_DATA_DIR, or./data). - Separate from Bug Report, which files a Redmine ticket from the header menu.