Skip to content

Commit

Permalink
no need to limit docs with new approach
Browse files Browse the repository at this point in the history
  • Loading branch information
wjayesh committed Nov 13, 2024
1 parent 2761f2f commit b49d425
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llm-complete-guide/steps/populate_index.py
Original file line number Diff line number Diff line change
Expand Up @@ -646,7 +646,7 @@ def index_generator(

# Prepare bulk operations
operations = []
for doc in document_list[:500]:
for doc in document_list:
# Create a unique identifier based on content and metadata
content_hash = hashlib.md5(
f"{doc.page_content}{doc.filename}{doc.parent_section}{doc.url}".encode()
Expand Down

0 comments on commit b49d425

Please sign in to comment.