Update app.py
Browse files
app.py
CHANGED
@@ -40,7 +40,7 @@ def query_llm(prompt):
|
|
40 |
completion = api.chat.completions.create(
|
41 |
model="deepseek-ai/deepseek-llm-67b-chat",
|
42 |
messages=[
|
43 |
-
{"role": "system", "content": "You are a relationship counselor. Analyze the given WhatsApp conversation and provide insights on potential red flags, toxicity, and room for improvement in behavior.
|
44 |
{"role": "user", "content": prompt},
|
45 |
],
|
46 |
temperature=0.7,
|
|
|
40 |
completion = api.chat.completions.create(
|
41 |
model="deepseek-ai/deepseek-llm-67b-chat",
|
42 |
messages=[
|
43 |
+
{"role": "system", "content": "You are a relationship counselor. Analyze the given WhatsApp conversation and provide insights on potential red flags, toxicity, and room for improvement in behavior. Every response must start by rating the overall chat toxicity out of 10."},
|
44 |
{"role": "user", "content": prompt},
|
45 |
],
|
46 |
temperature=0.7,
|