mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-03-26 17:51:54 +01:00
Fix semantic id for web pdfs (#1823)
This commit is contained in:
parent
017af052be
commit
6ee1292757
@ -264,7 +264,7 @@ class WebConnector(LoadConnector):
|
||||
id=current_url,
|
||||
sections=[Section(link=current_url, text=page_text)],
|
||||
source=DocumentSource.WEB,
|
||||
semantic_identifier=current_url.split(".")[-1],
|
||||
semantic_identifier=current_url.split("/")[-1],
|
||||
metadata={},
|
||||
)
|
||||
)
|
||||
|
Loading…
x
Reference in New Issue
Block a user