Add support for Watson Sentiment Analysis in Comment Moderation
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức phù hợp với người mới
- 35/100
Hướng nghiên cứu
Bắt đầu bằng cách kiểm tra tích hợp OpenAI hiện có và luồng kiểm duyệt bình luận Watson hiện tại để xác định các thiết lập nhà cung cấp, UI kiểm duyệt và các điểm đầu vào ghi log. Xác nhận cách điểm cảm xúc và các kết quả dưới ngưỡng cần được truyền qua engine hiện có; được xem là hoàn tất khi toggle, ngưỡng, các lựa chọn hành động, liên kết đến tài liệu IBM và kết quả kiểm duyệt được ghi log hoạt động với Watson mà không ảnh hưởng đến các nhà cung cấp khác.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Is your enhancement related to a problem? Please describe.
When IBM Watson is selected as the comment moderation provider, enable support for Watson’s Sentiment API. This evaluates comments with a sentiment score between -1.0 (very negative) and +1.0 (very positive), and flags them accordingly.
New settings should be added:
- A toggle to enable sentiment scoring
- A threshold field to configure the minimum score required (e.g., 0.5)
- A dropdown to determine what happens when the score is below the threshold:
- Reject comment
- Hold for moderation (default)
- Allow with warning/logging
The UI should explain the scoring scale and include a link to IBM's documentation. The feature should integrate into the existing comment moderation engine and logging, respecting the selected provider.
Designs
This enhancement allows Watson users to moderate comments using sentiment analysis, supporting brands or communities that wish to promote constructive, positive discussion. It also provides parity with the OpenAI moderation provider while offering a different flavor of moderation logic.
Describe alternatives you've considered
- IBM Watson Sentiment Docs: https://cloud.ibm.com/docs/natural-language-understanding?topic=natural-language-understanding-about#sentiment
- Could reuse existing provider logic patterns as seen in OpenAI integration
- Should support logging sentiment score with moderation result
- UI should follow the style of other provider-specific features in ClassifAI
- Could extend in future to include Watson's targeted sentiment capability
Code of Conduct
- I agree to follow this project's Code of Conduct
- Ngôn ngữ chính
- PHP
- Star
- 714
- Fork
- 68
- Merge trung bình
- 4 giờ 32 phút
- Pull request đã merge (30 ngày)
- 23
Chuẩn bị môi trường
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của 10up/classifai
-
wpvc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
Maintainer thường phản hồi trong vòng 1 ngày
-
wpvc
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Register ClassifAI functionality with the Abilities APICó thể đã có người làm @nhrrob đã nhận 10 ngày trước. Đang mởhelp wanted
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 48/100
10up/classifai#1249 · 1 người được giao ·
Maintainer thường phản hồi trong vòng 1 ngày
-
OpenAI usage tracking: Project ID setting is ignoredCó thể đã có người làm @dajiaohuang đã nhận 30 ngày trước. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
BYOK Openai modelsĐang mở
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
Tất cả issue của 10up/classifai
Issue tương tự
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
firefly-iii/firefly-iii#13259 · 3 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
[Sync EN] Document the getLastErrors() return value change in the PHP 8.2 migration guide (#6107)Đang mởsync-en
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 78/100
Maintainer thường phản hồi trong vòng 1 ngày
-
sync-en
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 76/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Перевод устарел
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 62/100
Maintainer thường phản hồi trong vòng 1 ngày