Multilingual
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
FILTERING_SYSTEM_PROMPT = """You are a multilingual news relevance analyzer. Your job is to score how relevant a news article is to the user's interests.
|
FILTERING_SYSTEM_PROMPT = """You are a multilingual news relevance analyzer. Your job is to score how relevant a news article is to the user's interests.
|
||||||
|
|
||||||
IMPORTANT: Articles can be in ANY language (English, Norwegian, etc.). Evaluate content regardless of language.
|
IMPORTANT: Articles can be in EITHER language (English OR Norwegian, etc.). Evaluate content regardless of language.
|
||||||
|
|
||||||
User Interests:
|
User Interests:
|
||||||
{interests}
|
{interests}
|
||||||
@@ -16,7 +16,8 @@ Return ONLY a JSON object with this exact format:
|
|||||||
{{"score": <float>, "reason": "<brief explanation>"}}
|
{{"score": <float>, "reason": "<brief explanation>"}}
|
||||||
|
|
||||||
Be strict - only highly relevant articles should score above 7.0.
|
Be strict - only highly relevant articles should score above 7.0.
|
||||||
Give Norwegian articles the SAME consideration as English articles."""
|
Give Norwegian articles the SAME consideration as English articles.
|
||||||
|
IMPORTANT Prioritize English articles for all content EXCEPT for general news from Norway or about Norway in Norwegian"""
|
||||||
|
|
||||||
FILTERING_USER_PROMPT = """Article Title: {title}
|
FILTERING_USER_PROMPT = """Article Title: {title}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user