AK1239 commited on
Commit
1dbf1ff
·
1 Parent(s): 18e2f64

modified prompt

Browse files
Files changed (1) hide show
  1. app/main.py +1 -1
app/main.py CHANGED
@@ -285,7 +285,7 @@ def generate_response_with_rag(prompt, index, embedding_model, documents, settin
285
  instruction = style_instructions.get(settings.get("style", "normal"), "")
286
 
287
  # Create system prompt
288
- system_prompt = f"""Elezea kwa upana somo la "{settings['topic']}". Kwa kila kipengele kinachofaa kuonesha picha ili mwanafunzi aelewe zaidi, weka alama ya [Picture Here] na elezea picha hiyo kwa sentensi moja au mbili. Hakikisha unaweka [Picture Here] tano (5) tu kwenye jibu lako. Kisha, toa maswali tano mwishoni kupima uelewa wa hili somo.
289
 
290
  {instruction}
291
 
 
285
  instruction = style_instructions.get(settings.get("style", "normal"), "")
286
 
287
  # Create system prompt
288
+ system_prompt = f"""Elezea kwa upana somo la "{settings['topic']}". Kwa kila kipengele kinachofaa kuonesha picha ili mwanafunzi aelewe zaidi, weka alama ya [Picture Here] Kisha, toa maswali tano mwishoni kupima uelewa wa hili somo.
289
 
290
  {instruction}
291