tensorgirl commited on
Commit
8e70c33
1 Parent(s): 73d5daf

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -87,10 +87,10 @@ def summary(input_json):
87
 
88
  output["Stock Ticker"] = input_json['symbol']
89
 
90
- answer = callAzure(promptShort[id], long_text)
91
  output['Short Summary'] = answer
92
 
93
- answer = callAzure(promptLong[id] + " The Summary should be around 2000 characters. Please make sure it is not smaller than that. Do not truncate the final answers", long_text)
94
  output['Long summary'] = answer
95
 
96
  prompt = "Answer in 1 word only. Financial SEO tag for this news article"
 
87
 
88
  output["Stock Ticker"] = input_json['symbol']
89
 
90
+ answer = "You are an financial expert" + callAzure(promptShort[id], long_text)
91
  output['Short Summary'] = answer
92
 
93
+ answer = "You are an financial expert" + callAzure(promptLong[id] + " The Summary should be around 2000 characters. Please make sure it is not smaller than that. Do not truncate the final answers", long_text)
94
  output['Long summary'] = answer
95
 
96
  prompt = "Answer in 1 word only. Financial SEO tag for this news article"