Skip to content
This repository has been archived by the owner on Sep 12, 2024. It is now read-only.

Commit

Permalink
update web_page_reader.py
Browse files Browse the repository at this point in the history
  • Loading branch information
SeeknnDestroy authored Nov 6, 2023
1 parent 6428690 commit c530e65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autollm/utils/web_page_reader.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ def load_data(self, url: str) -> List[Document]:
tag.decompose()

content = " ".join(soup.stripped_strings)
document = Document(text=content, metadata={"url": url})
document = Document(doc_id=url, text=content, metadata={"url": url})
return [document]


Expand Down

0 comments on commit c530e65

Please sign in to comment.