Skip to content
This repository was archived by the owner on Jul 22, 2025. It is now read-only.

Commit 57b0052

Browse files
authored
FIX: Clarify spam response expectations. (#1470)
1 parent 8d943fa commit 57b0052

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lib/personas/spam_detector.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,13 +44,13 @@ def system_prompt
4444
- Site description: {site_description}
4545
- Site top 10 categories: {top_categories}
4646
47-
Format your response as a JSON object with a one key named "spam", which indicates if a post is spam or legitimate.
47+
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.
4848
Your output should be in the following format:
4949
<output>
50-
{"spam": "xx"}
50+
{"spam": xx}
5151
</output>
5252
53-
Where "xx" is true if the post is spam, or false if it's legitimate.
53+
Where xx is true if the post is spam, or false if it's legitimate.
5454
PROMPT
5555
end
5656

0 commit comments

Comments
 (0)