Skip to content

Commit

Permalink
Merge pull request #154 from sayanb/patch-1
Browse files Browse the repository at this point in the history
Update agent_rag.ipynb
  • Loading branch information
aymeric-roucher authored Jul 23, 2024
2 parents 1e7f5d7 + 18a506c commit 7bb89c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion notebooks/en/agent_rag.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@
" new_docs = text_splitter.split_documents([doc])\n",
" for new_doc in new_docs:\n",
" if new_doc.page_content not in unique_texts:\n",
" unique_texts[doc.page_content] = True\n",
" unique_texts[new_doc.page_content] = True\n",
" docs_processed.append(new_doc)\n",
"\n",
"print(\n",
Expand Down

0 comments on commit 7bb89c9

Please sign in to comment.