Remove XGBoost ML and spam scorer; add AI image/text classification #81
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/issue-80-remove-ml-add-vision-ai"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removes Fenliu's XGBoost ML integration and rule-based spam scorer, and replaces them with a two-stage AI classifier:
The result is an
ai_would_rejectrecommendation surfaced as a badge + filters in the review UI. No auto-reject at launch (behind theai_auto_rejectsetting, default off). Model is configurable via env vars (AI_API_BASE_URL,AI_API_KEY,AI_TEXT_MODEL,AI_VISION_MODEL,AI_BATCH_HOUR).Also:
scorefield from Zhongli'sQueuedPost(it was fed by Fenliu's removedspam_score).Closes #80
This PR is too large to review automatically (11947 lines; limit is 3000). Please consider splitting it into smaller PRs.
This PR is too large to review automatically (11947 lines; limit is 3000). Please consider splitting it into smaller PRs.
This PR is too large to review automatically (11948 lines; limit is 3000). Please consider splitting it into smaller PRs.
This PR is too large to review automatically (11948 lines; limit is 3000). Please consider splitting it into smaller PRs.