MikeMann commited on
Commit
6b5a0fd
·
1 Parent(s): 5b587ba

readded reverse

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -384,8 +384,8 @@ class BSIChatbot:
384
  #newprint("DBG:retrieved_chunks_text after rerank")
385
  #newprint(type(retrieved_chunks_text))
386
  #newprint(retrieved_chunks_text)a
387
- for chunk in reversed(retrieved_chunks_text):
388
- print(chunk.rank)
389
  retrieved_chunks_text = [chunk["content"] for chunk in reversed(retrieved_chunks_text)]
390
 
391
  #retrieved_chunks_text = [chunk["content"] for chunk in retrieved_chunks_text]
 
384
  #newprint("DBG:retrieved_chunks_text after rerank")
385
  #newprint(type(retrieved_chunks_text))
386
  #newprint(retrieved_chunks_text)a
387
+ #for chunk in reversed(retrieved_chunks_text):
388
+ #print(chunk["rank"])
389
  retrieved_chunks_text = [chunk["content"] for chunk in reversed(retrieved_chunks_text)]
390
 
391
  #retrieved_chunks_text = [chunk["content"] for chunk in retrieved_chunks_text]