瀏覽代碼

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 月之前
父節點
當前提交
33d3558ca9
共有 1 個文件被更改,包括 1 次插入0 次删除
  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",
     "jsx",
     "hs",
     "hs",
     "lhs",
     "lhs",
+    "json",
 ]
 ]