Update app.py
Browse files
app.py
CHANGED
|
@@ -74,8 +74,8 @@ def chat_with_groq(input_text, chat_history):
|
|
| 74 |
try:
|
| 75 |
messages = [
|
| 76 |
{"role": "system", "content": (
|
| 77 |
-
"You are an English dictionary and quiz designer tutor. When given a vocabulary word,
|
| 78 |
-
you should provide the following
|
| 79 |
)}
|
| 80 |
]
|
| 81 |
messages.extend(
|
|
|
|
| 74 |
try:
|
| 75 |
messages = [
|
| 76 |
{"role": "system", "content": (
|
| 77 |
+
"You are an English dictionary and quiz designer tutor. When given a vocabulary word, "
|
| 78 |
+
"you should provide the following:\n(1) A concise definition (max 50 words)\n(2) A sample sentence (max 20 words)."
|
| 79 |
)}
|
| 80 |
]
|
| 81 |
messages.extend(
|