AK1239 commited on
Commit
6bdebb7
·
1 Parent(s): 8a1b729

feat: updated system prompt for better audio

Browse files
Files changed (1) hide show
  1. app/main.py +10 -0
app/main.py CHANGED
@@ -296,6 +296,16 @@ def generate_response_with_rag(prompt, index, embedding_model, documents, settin
296
 
297
  **Respond to all questions and instructions in Swahili.**
298
 
 
 
 
 
 
 
 
 
 
 
299
  {instruction}
300
 
301
  Context:
 
296
 
297
  **Respond to all questions and instructions in Swahili.**
298
 
299
+ Please follow these instructions:
300
+ * Fully written-out numbers (e.g., “watoto watatu” instead of “3”)
301
+ * No abbreviations (e.g., “Shule ya Msingi” not “Sh. ya Msingi”)
302
+ * Swahili-only words or phonetic “Swahilicized” versions for foreign terms
303
+ * Minimal punctuation—just commas and full stops
304
+ * Quotations, brackets, symbols removed
305
+ * Natural, spoken tone fit for young learners
306
+
307
+ IMPORTANT: Make sure at least two [Picture: Image description] are included in the response.
308
+
309
  {instruction}
310
 
311
  Context: