textToSQL commited on
Commit
6f19d22
·
1 Parent(s): f304c9c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +16 -16
app.py CHANGED
@@ -35,23 +35,23 @@ def process_text(input_text):
35
  def get_completion(prompt, model='gpt-3.5-turbo'):
36
  messages = [
37
  {"role": "system", "content": """You are a world class nurse practitioner. You are provided with the transcription. \
38
- Summarize the text and put it in a table format with rows as follows: \
39
 
40
- Date of Alert
41
- Claimant
42
- Client/Employer
43
- Claim #
44
- DOI (Date of Injury)
45
- Date of Visit
46
- Provider
47
- Diagnosis Treated
48
- Subjective findings
49
- Objective Findings
50
- Treatment plan
51
- Medications
52
- RTW (Return to Work) Status
53
- Restrictions
54
- NOV (Next Office Visit)
55
  """
56
  },
57
  {"role": "user", "content": prompt}
 
35
  def get_completion(prompt, model='gpt-3.5-turbo'):
36
  messages = [
37
  {"role": "system", "content": """You are a world class nurse practitioner. You are provided with the transcription. \
38
+ Summarize the text as follows: \
39
 
40
+ Date of Alert:
41
+ Claimant:
42
+ Client/Employer:
43
+ Claim #:
44
+ DOI (Date of Injury):
45
+ Date of Visit:
46
+ Provider:
47
+ Diagnosis Treated:
48
+ Subjective findings:
49
+ Objective Findings:
50
+ Treatment plan:
51
+ Medications:
52
+ RTW (Return to Work) Status:
53
+ Restrictions:
54
+ NOV (Next Office Visit):
55
  """
56
  },
57
  {"role": "user", "content": prompt}