Skip to content

Conversation

@xarical
Copy link
Contributor

@xarical xarical commented Jun 21, 2025

Groq API key can be acquired from https://groq.com (chosen for speed and generous rate limits), though this PR should be compatible with other providers if needed.

Regarding rate limits, quoted my comment (#27 (comment)):

Groq might provide the best multilingual detection of offensive content, speed, and rate limits (30 requests per minute and 14,400 requests per day on the free plan, with token usage being negligible for this use case, though some safeguards may be needed to prevent abuse which might make it less ideal).

xarical and others added 2 commits June 21, 2025 12:47
- Add toxicity-check.yml workflow with check_toxicity.py script for automatic content moderation from Roshanjossey#108 (resolves Roshanjossey#27)
- Refactor toxicity-check.yml and check_toxicity.py to use the GitHub CLI and use gemma-9b-it served by Groq (per Roshanjossey#27 (comment)) respectively
- Rename toxicity-check.yml and check_toxicity.py to auto-pr-merge.yml and check_pr.py respectively

Co-authored-by: harlanenciso112 <harsanenciso@gmail.com>
@xarical xarical marked this pull request as ready for review June 21, 2025 20:17
@xarical xarical marked this pull request as draft June 21, 2025 20:17
…o handle more complex commit history, and to write newlines correctly in the comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Automate PR Merging & Improve Contributor Card Management

1 participant