FIX: Clarify spam response expectations. (#1470)

This commit is contained in:
Roman Rizzi 2025-06-27 16:59:55 -03:00 committed by GitHub
parent 8d943fa29d
commit 57b00526f8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -44,13 +44,13 @@ module DiscourseAi
- 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