Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -208,12 +208,12 @@ def decide(issue_id):
|
|
208 |
prompt = f"Given the following solutions for the issue '{issue.title}', which one is the most socio-democratic decision?\n"
|
209 |
for solution in solutions:
|
210 |
prompt += f"- {solution.content}\n"
|
211 |
-
prompt += "Please consider socio-democratic values and provide a summary on the best decision."
|
212 |
|
213 |
response = openai.ChatCompletion.create(
|
214 |
model="gpt-3.5-turbo",
|
215 |
messages=[
|
216 |
-
{"role": "system", "content": "You are an assistant helping to make socio-democratic decisions."},
|
217 |
{"role": "user", "content": prompt}
|
218 |
],
|
219 |
max_tokens=150
|
|
|
208 |
prompt = f"Given the following solutions for the issue '{issue.title}', which one is the most socio-democratic decision?\n"
|
209 |
for solution in solutions:
|
210 |
prompt += f"- {solution.content}\n"
|
211 |
+
prompt += "Please consider socio-democratic values and provide a summary on the best decision. Do not use the term socio-democratic in any reply."
|
212 |
|
213 |
response = openai.ChatCompletion.create(
|
214 |
model="gpt-3.5-turbo",
|
215 |
messages=[
|
216 |
+
{"role": "system", "content": "You are an assistant helping to make socio-democratic decisions. Do not use the term socio-democratic in any reply."},
|
217 |
{"role": "user", "content": prompt}
|
218 |
],
|
219 |
max_tokens=150
|