Tonic commited on
Commit
15964f8
·
1 Parent(s): d20cfe2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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. 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:"
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(