talltree commited on
Commit
1c9a3e5
1 Parent(s): d6746de

Update rag_chain/chain.py

Browse files
Files changed (1) hide show
  1. rag_chain/chain.py +1 -1
rag_chain/chain.py CHANGED
@@ -34,7 +34,7 @@ def reorder_documents(docs: list[Document]) -> list[Document]:
34
 
35
 
36
  def randomize_documents(documents: list[Document]) -> list[Document]:
37
- """Randomize the documents to vary the recommendations."""
38
  random.shuffle(documents)
39
  return documents
40
 
 
34
 
35
 
36
  def randomize_documents(documents: list[Document]) -> list[Document]:
37
+ """Randomize the documents as an attempt to randomize the model recommendations."""
38
  random.shuffle(documents)
39
  return documents
40