update prompt system for generate audio text
Browse files- src/agents/chatbot.py +1 -1
src/agents/chatbot.py
CHANGED
|
@@ -135,7 +135,7 @@ class ChatbotAgent:
|
|
| 135 |
prompt = (
|
| 136 |
"You are a text to speech assistant. Given the following AI response, "
|
| 137 |
"write a plain language summary in exactly 2 or 3 sentences. "
|
| 138 |
-
"Output only the summary text. Allowed characters are letters numbers spaces
|
| 139 |
"Do not output any other characters. Do not name symbols. "
|
| 140 |
f"The response language is {lang}. Write the summary in {lang} only. Do not translate.\n\n"
|
| 141 |
f"Response:\n{full_response}\n\n"
|
|
|
|
| 135 |
prompt = (
|
| 136 |
"You are a text to speech assistant. Given the following AI response, "
|
| 137 |
"write a plain language summary in exactly 2 or 3 sentences. "
|
| 138 |
+
"Output only the summary text. Allowed characters are letters numbers spaces, periods only, commas or dots for decimal number formatting"
|
| 139 |
"Do not output any other characters. Do not name symbols. "
|
| 140 |
f"The response language is {lang}. Write the summary in {lang} only. Do not translate.\n\n"
|
| 141 |
f"Response:\n{full_response}\n\n"
|