Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -239,7 +239,7 @@ def process_summary_with_openai(summary):
|
|
239 |
client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
|
240 |
|
241 |
# Create the prompt for OpenAI's completion
|
242 |
-
prompt = "You are clinical consultant discussion training cases with students at TonicUniversity.
|
243 |
|
244 |
# Call the OpenAI API with the prompt and the summary
|
245 |
completion = client.chat.completions.create(
|
|
|
239 |
client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
|
240 |
|
241 |
# Create the prompt for OpenAI's completion
|
242 |
+
prompt = "You are clinical consultant discussion training cases with students at TonicUniversity. Assess and describe the proper options in minute detail. Propose a course of action based on your assessment. You will recieve a summary assessment in a language, respond ONLY in the original language. Exclude any other commentary:"
|
243 |
|
244 |
# Call the OpenAI API with the prompt and the summary
|
245 |
completion = client.chat.completions.create(
|