Update app.py
Browse files
app.py
CHANGED
@@ -46,7 +46,7 @@ def predict(message, history):
|
|
46 |
# Convert chat history to OpenAI format
|
47 |
history_openai_format = [{
|
48 |
"role": "system",
|
49 |
-
"content": "You are a great ai assistant. and you are amazing at coding and coding problems. "
|
50 |
}]
|
51 |
for human, assistant in history:
|
52 |
history_openai_format.append({"role": "user", "content": human})
|
|
|
46 |
# Convert chat history to OpenAI format
|
47 |
history_openai_format = [{
|
48 |
"role": "system",
|
49 |
+
"content": "You are a great ai assistant. and you are amazing at coding and coding problems. and you respond only in English"
|
50 |
}]
|
51 |
for human, assistant in history:
|
52 |
history_openai_format.append({"role": "user", "content": human})
|