Spaces:
Running
Running
diana3135 commited on
Commit ·
7017268
1
Parent(s): a57aef3
system prompt
Browse files
utils.py
CHANGED
|
@@ -39,15 +39,7 @@ def generate_text_with_gpt(prompts, api_key = None):
|
|
| 39 |
response = openai.ChatCompletion.create(
|
| 40 |
model="gpt-4o",
|
| 41 |
messages=[
|
| 42 |
-
{"role": "system", "content": ""
|
| 43 |
-
You are a sustainability expert with an extensive background in SDG17
|
| 44 |
-
(Partnerships for the Goals) and the United Nations Sustainable Development Goals (SDGs).
|
| 45 |
-
Your role is to critically analyze and evaluate the sustainability of business models,
|
| 46 |
-
using a highly rigorous and evidence-based approach.
|
| 47 |
-
You must maintain strict scoring criteria with clear justification for each score,
|
| 48 |
-
ensuring a wide distribution of scores to reflect meaningful differentiation in compliance and impact levels.
|
| 49 |
-
Avoid overly lenient assessments.
|
| 50 |
-
"""},
|
| 51 |
{"role": "user", "content": prompts}
|
| 52 |
]
|
| 53 |
)
|
|
|
|
| 39 |
response = openai.ChatCompletion.create(
|
| 40 |
model="gpt-4o",
|
| 41 |
messages=[
|
| 42 |
+
{"role": "system", "content": "Please perform the tasks as instructed, following the instructions carefully."},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 43 |
{"role": "user", "content": prompts}
|
| 44 |
]
|
| 45 |
)
|