From 661711164a44f748ab527dc696b8f39b61a2b338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dvar=20=C3=93li=20Sigur=C3=B0sson?= Date: Wed, 26 Feb 2025 15:11:21 +0100 Subject: [PATCH 1/2] Adding json as a known source for Tika --- backend/open_webui/retrieval/loaders/main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/open_webui/retrieval/loaders/main.py b/backend/open_webui/retrieval/loaders/main.py index a9372f65a..ae22f13df 100644 --- a/backend/open_webui/retrieval/loaders/main.py +++ b/backend/open_webui/retrieval/loaders/main.py @@ -76,6 +76,7 @@ known_source_ext = [ "jsx", "hs", "lhs", + "json" ] From c5a09cdd2194b0f01fd5dbe7bb26c7a891e42f6b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=8Dvar=20=C3=93li=20Sigur=C3=B0sson?= Date: Wed, 26 Feb 2025 15:27:03 +0100 Subject: [PATCH 2/2] adding a comma --- backend/open_webui/retrieval/loaders/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/retrieval/loaders/main.py b/backend/open_webui/retrieval/loaders/main.py index ae22f13df..d392088c7 100644 --- a/backend/open_webui/retrieval/loaders/main.py +++ b/backend/open_webui/retrieval/loaders/main.py @@ -76,7 +76,7 @@ known_source_ext = [ "jsx", "hs", "lhs", - "json" + "json", ]