Commit ·
0ee6a35
1
Parent(s): 2ff618f
adding more banned contents
Browse files
Config_files/message_system_config.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
| 20 |
"AI_Jargon": ["elevate", "enhance", "ignite", "reignite", "rekindle", "rediscover","passion", "boost", "fuel", "thrill", "revive", "spark", "performing", "fresh", "tone", "enthusiasm", "illuminate"],
|
| 21 |
"AI_phrases_singeo": ["your voice deserves more"],
|
| 22 |
"AI_phrases_guitareo": ["strum", "boost"],
|
| 23 |
-
"AI_phrases_pianote": ["boost"],
|
| 24 |
"header_limit": 30,
|
| 25 |
"message_limit": 110,
|
| 26 |
"LLM_models": ["gpt-4o-mini", "gpt-4o", "gpt-4.1-mini", "gemini-2.5-flash-lite", "gemini-2.5-flash", "gemini-2.0-flash", "gpt-5-mini", "gpt-5-nano","claude-3-5-haiku-latest", "google/gemma-3-27b-instruct/bf-16"],
|
|
@@ -30,7 +30,7 @@
|
|
| 30 |
"claude_models": ["claude-3-5-haiku-latest"],
|
| 31 |
"inference_models": ["google/gemma-3-27b-instruct/bf-16", "meta-llama/llama-3.2-11b-instruct/fp-16"],
|
| 32 |
"google_models": ["gemini-2.5-flash-lite", "gemini-2.5-flash", "gemini-2.0-flash"],
|
| 33 |
-
"banned_contents": [373883, 358813, 301039, 377366]
|
| 34 |
}
|
| 35 |
|
| 36 |
|
|
|
|
| 20 |
"AI_Jargon": ["elevate", "enhance", "ignite", "reignite", "rekindle", "rediscover","passion", "boost", "fuel", "thrill", "revive", "spark", "performing", "fresh", "tone", "enthusiasm", "illuminate"],
|
| 21 |
"AI_phrases_singeo": ["your voice deserves more"],
|
| 22 |
"AI_phrases_guitareo": ["strum", "boost"],
|
| 23 |
+
"AI_phrases_pianote": ["boost", "quick tip"],
|
| 24 |
"header_limit": 30,
|
| 25 |
"message_limit": 110,
|
| 26 |
"LLM_models": ["gpt-4o-mini", "gpt-4o", "gpt-4.1-mini", "gemini-2.5-flash-lite", "gemini-2.5-flash", "gemini-2.0-flash", "gpt-5-mini", "gpt-5-nano","claude-3-5-haiku-latest", "google/gemma-3-27b-instruct/bf-16"],
|
|
|
|
| 30 |
"claude_models": ["claude-3-5-haiku-latest"],
|
| 31 |
"inference_models": ["google/gemma-3-27b-instruct/bf-16", "meta-llama/llama-3.2-11b-instruct/fp-16"],
|
| 32 |
"google_models": ["gemini-2.5-flash-lite", "gemini-2.5-flash", "gemini-2.0-flash"],
|
| 33 |
+
"banned_contents": [373883, 358813, 301039, 377366, 404990, 404991]
|
| 34 |
}
|
| 35 |
|
| 36 |
|
Messaging_system/PromptGenerator.py
CHANGED
|
@@ -154,15 +154,16 @@ Below is the content we want to recommend to the user:
|
|
| 154 |
When incorporating this content into the message and header, follow these guidelines to keep them friendly, relevant, and casual (not too scripted):
|
| 155 |
|
| 156 |
1. **Title Usage**:
|
| 157 |
-
- Refer to the **CONTENT_TITLE** naturally in the message — paraphrase or describe it, but do *not* quote it or use it verbatim.
|
| 158 |
- Avoid making it feel like a promotion; frame it as something that *might interest* or *help* the user.
|
| 159 |
|
| 160 |
2. **Content Type Context**:
|
| 161 |
-
- Mention the **CONTENT_TYPE** (
|
| 162 |
|
| 163 |
3. **Artist/Instructor Name**:
|
| 164 |
- If the full name of the **ARTIST** is available, mention it casually if appropriate (e.g., "led by Jordan Mitchell").
|
| 165 |
- If only the first name is known, do *not* include it in the message at all.
|
|
|
|
| 166 |
|
| 167 |
4. **Tone & Style**:
|
| 168 |
- Keep the tone light, supportive, and personal — like a helpful suggestion from a friend.
|
|
|
|
| 154 |
When incorporating this content into the message and header, follow these guidelines to keep them friendly, relevant, and casual (not too scripted):
|
| 155 |
|
| 156 |
1. **Title Usage**:
|
| 157 |
+
- Refer to the **CONTENT_TITLE** or content details naturally in the message — paraphrase or describe it, but do *not* quote it or use it verbatim.
|
| 158 |
- Avoid making it feel like a promotion; frame it as something that *might interest* or *help* the user.
|
| 159 |
|
| 160 |
2. **Content Type Context**:
|
| 161 |
+
- Mention the **CONTENT_TYPE** (only course, workout or lesson) only if it flows naturally in the message.
|
| 162 |
|
| 163 |
3. **Artist/Instructor Name**:
|
| 164 |
- If the full name of the **ARTIST** is available, mention it casually if appropriate (e.g., "led by Jordan Mitchell").
|
| 165 |
- If only the first name is known, do *not* include it in the message at all.
|
| 166 |
+
- Don't assume Artist name based on previous messages, only refer to Recommended Content Details
|
| 167 |
|
| 168 |
4. **Tone & Style**:
|
| 169 |
- Keep the tone light, supportive, and personal — like a helpful suggestion from a friend.
|