mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-07 11:28:35 -05:00
[PR #10817] [MERGED] fix: Using the TextLoader instead of Tika for JSON files #9398
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10817
Author: @ivaroli
Created: 2/26/2025
Status: ✅ Merged
Merged: 2/26/2025
Merged by: @tjbck
Base:
dev← Head:ivaroli/adding-json-as-supported-file-type📝 Commits (2)
6617111Adding json as a known source for Tikac5a09cdadding a comma📊 Changes
1 file changed (+1 additions, -0 deletions)
View changed files
📝
backend/open_webui/retrieval/loaders/main.py(+1 -0)📄 Description
Pull Request Checklist
Note to first-time contributors: Please open a discussion post in Discussions and describe your changes before submitting a pull request.
Before submitting, make sure you've checked the following:
devbranch.Changelog Entry
Description
Adding JSON as a known file format and using the TextLoader for parsing. This is to solve a bug where Tika returns no content when parsing a Json file, so just use the TextLoader instead.
Added
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.