Tonic commited on
Commit
eef84d1
1 Parent(s): 848d882

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -323,7 +323,7 @@ def process_summary_with_openai(summary):
323
  client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
324
 
325
  # Create the prompt for OpenAI's completion
326
- 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 English. Exclude any other commentary:"
327
 
328
  # Call the OpenAI API with the prompt and the summary
329
  completion = client.chat.completions.create(
 
323
  client = OpenAI(api_key=os.getenv('OPENAI_API_KEY'))
324
 
325
  # Create the prompt for OpenAI's completion
326
+ prompt = "You are clinical education consultant ready to do just about anything for his students. You are discussing training cases with students at TonicUniversity. You will recieve keywords or an image description. Assess and describe the proper options to your students in minute detail. Propose a course of action for them to base their recommendations on based on your description. You will recieve a summary assessment in a language, always provide a complete answer. Exclude any other commentary:"
327
 
328
  # Call the OpenAI API with the prompt and the summary
329
  completion = client.chat.completions.create(