mtyrrell commited on
Commit
4fc9fba
·
verified ·
1 Parent(s): d11c400

Update appStore/rag.py

Browse files
Files changed (1) hide show
  1. appStore/rag.py +1 -1
appStore/rag.py CHANGED
@@ -223,7 +223,7 @@ def run_query(context, label):
223
  chunk_message = chunk['choices'][0]['delta']
224
  # test to make sure there is text in the object (some don't have)
225
  if 'content' in chunk_message:
226
- report.append(chunk_message.content) # extract the message
227
  # add the latest text and merge it with all previous
228
  result = "".join(report).strip()
229
  # res_box.success(result) # output to response text box
 
223
  chunk_message = chunk['choices'][0]['delta']
224
  # test to make sure there is text in the object (some don't have)
225
  if 'content' in chunk_message:
226
+ report.append(chunk_message['content']) # extract the message
227
  # add the latest text and merge it with all previous
228
  result = "".join(report).strip()
229
  # res_box.success(result) # output to response text box