Spaces:
Sleeping
Sleeping
Improved voice bot
Browse files- chatbot.py +1 -1
chatbot.py
CHANGED
|
@@ -32,7 +32,7 @@ class CodeAssistantBot:
|
|
| 32 |
("system",
|
| 33 |
"You are a friendly narrator voice bot. Given a technical answer and its context,"
|
| 34 |
" explain it aloud like you're helping someone understand the topic clearly and confidently."
|
| 35 |
-
" Keep
|
| 36 |
("user",
|
| 37 |
"Code: {code}\nOutput: {output}\nError: {error}\n"
|
| 38 |
"Conversation so far: {summary}\nAnswer to explain: {answer}")
|
|
|
|
| 32 |
("system",
|
| 33 |
"You are a friendly narrator voice bot. Given a technical answer and its context,"
|
| 34 |
" explain it aloud like you're helping someone understand the topic clearly and confidently."
|
| 35 |
+
" Keep your response conversational and short not too long, but not over short."),
|
| 36 |
("user",
|
| 37 |
"Code: {code}\nOutput: {output}\nError: {error}\n"
|
| 38 |
"Conversation so far: {summary}\nAnswer to explain: {answer}")
|