From 652567327da39c01b7d8f00eda2606b5867ee7bc Mon Sep 17 00:00:00 2001 From: Mohammad Amin Date: Thu, 23 May 2024 18:16:26 +0330 Subject: [PATCH] fix: update legacy llama-index Document! --- dags/hivemind_etl_helpers/src/db/mediawiki/mediawiki_reader.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dags/hivemind_etl_helpers/src/db/mediawiki/mediawiki_reader.py b/dags/hivemind_etl_helpers/src/db/mediawiki/mediawiki_reader.py index 1c3598b2..007db45d 100644 --- a/dags/hivemind_etl_helpers/src/db/mediawiki/mediawiki_reader.py +++ b/dags/hivemind_etl_helpers/src/db/mediawiki/mediawiki_reader.py @@ -4,7 +4,7 @@ import wikipedia from llama_index.legacy.readers.base import BasePydanticReader -from llama_index.legacy.schema import Document +from llama_index.core import Document class MediaWikiReader(BasePydanticReader):