Spaces:
Sleeping
Sleeping
prompt: modify gen ai prompt to output in html tag instead of markdown
Browse files- inference_api.py +2 -1
inference_api.py
CHANGED
|
@@ -654,7 +654,8 @@ def trigger_gemini_explanation(skills: List[str], preference: str, question: Opt
|
|
| 654 |
"The response MUST focus heavily on solving this specific question step-by-step "
|
| 655 |
f"using their hobby (\"{preference}\") as a creative analogy, theme, or context to make it highly engaging and easy to understand. "
|
| 656 |
"If the question requires step-by-step mathematical problem solving, show the clear step-by-step calculations. "
|
| 657 |
-
"Keep the overall response extremely concise and strictly under 10 lines total."
|
|
|
|
| 658 |
)
|
| 659 |
|
| 660 |
logger.info(f"[Gemini Prompt]\n{prompt}")
|
|
|
|
| 654 |
"The response MUST focus heavily on solving this specific question step-by-step "
|
| 655 |
f"using their hobby (\"{preference}\") as a creative analogy, theme, or context to make it highly engaging and easy to understand. "
|
| 656 |
"If the question requires step-by-step mathematical problem solving, show the clear step-by-step calculations. "
|
| 657 |
+
"Keep the overall response extremely concise and strictly under 10 lines total. "
|
| 658 |
+
"Format the output strictly using HTML tags (e.g., <em> for italics, <b> for bold, <br> for newlines) instead of Markdown."
|
| 659 |
)
|
| 660 |
|
| 661 |
logger.info(f"[Gemini Prompt]\n{prompt}")
|