Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions lib/personas/spam_detector.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def system_prompt
- Site description: {site_description}
- Site top 10 categories: {top_categories}

Format your response as a JSON object with a one key named "spam", which indicates if a post is spam or legitimate.
Format your response as a JSON object with a one key named "spam", which is a boolean that indicates if a post is spam or legitimate.
Your output should be in the following format:
<output>
{"spam": "xx"}
{"spam": xx}
</output>

Where "xx" is true if the post is spam, or false if it's legitimate.
Where xx is true if the post is spam, or false if it's legitimate.
PROMPT
end

Expand Down
Loading