georad commited on
Commit
53b9fb4
·
verified ·
1 Parent(s): 6d4505d

Update pages/type_text_v10.py

Browse files
Files changed (1) hide show
  1. pages/type_text_v10.py +2 -2
pages/type_text_v10.py CHANGED
@@ -153,11 +153,11 @@ if INTdesc_input is not None and createSBScodes_clicked == True:
153
 
154
  display_format = "ask REASONING MODEL: Which, if any, of the above SBS descriptions corresponds best to " + INTdesc_input +"? "
155
  #st.write(display_format)
156
- question = "Which one, if any, of the below Saudi Billing System descriptions A, B, C, D, or E corresponds best to " + INTdesc_input +"? "
157
  shortlist = [SBScorpus[result[0]["corpus_id"]], SBScorpus[result[1]["corpus_id"]], SBScorpus[result[2]["corpus_id"]], SBScorpus[result[3]["corpus_id"]], SBScorpus[result[4]["corpus_id"]]]
158
  prompt = question + " " +"A: "+ shortlist[0] + " " +"B: " + shortlist[1] + " " + "C: " + shortlist[2] + " " + "D: " + shortlist[3] + " " + "E: " + shortlist[4]
159
  st.write(prompt)
160
-
161
  messages = [
162
  {"role": "system", "content": "You are a knowledgable AI assistant who always answers truthfully and precisely!"},
163
  {"role": "user", "content": prompt},
 
153
 
154
  display_format = "ask REASONING MODEL: Which, if any, of the above SBS descriptions corresponds best to " + INTdesc_input +"? "
155
  #st.write(display_format)
156
+ question = "Which one, if any, of the following Saudi Billing System descriptions A, B, C, D, or E corresponds best to " + INTdesc_input +"? "
157
  shortlist = [SBScorpus[result[0]["corpus_id"]], SBScorpus[result[1]["corpus_id"]], SBScorpus[result[2]["corpus_id"]], SBScorpus[result[3]["corpus_id"]], SBScorpus[result[4]["corpus_id"]]]
158
  prompt = question + " " +"A: "+ shortlist[0] + " " +"B: " + shortlist[1] + " " + "C: " + shortlist[2] + " " + "D: " + shortlist[3] + " " + "E: " + shortlist[4]
159
  st.write(prompt)
160
+
161
  messages = [
162
  {"role": "system", "content": "You are a knowledgable AI assistant who always answers truthfully and precisely!"},
163
  {"role": "user", "content": prompt},