Add filetype key for web chunk

This commit is contained in:
Nielson Janné 2025-03-15 15:35:09 +01:00
parent 865c2c3b8b
commit 37aa171924

View File

@ -52,6 +52,7 @@ def add_urls(vector_store: Chroma, urls: list[str], chunk_size: int) -> None:
for split in splits:
split.metadata["source"] = url
split.metadata["filetype"] = "web"
all_splits.extend(splits)