Browse Source

Merge pull request #10817 from NovoNordisk-OpenSource/ivaroli/adding-json-as-supported-file-type

fix: Using the TextLoader instead of Tika for JSON files
Timothy Jaeryang Baek 2 tháng trước cách đây
mục cha
commit
33d3558ca9
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      backend/open_webui/retrieval/loaders/main.py

+ 1 - 0
backend/open_webui/retrieval/loaders/main.py

@@ -77,6 +77,7 @@ known_source_ext = [
     "jsx",
     "hs",
     "lhs",
+    "json",
 ]