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