[GH-ISSUE #3749] rag for json file #52037

Closed
opened 2026-05-05 13:15:06 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @codeMonkey-shin on GitHub (Jul 10, 2024).
Original GitHub issue: https://github.com/open-webui/open-webui/issues/3749

Could you create a new feature to handle JSON files in the Rag system?

Originally created by @codeMonkey-shin on GitHub (Jul 10, 2024). Original GitHub issue: https://github.com/open-webui/open-webui/issues/3749 Could you create a new feature to handle JSON files in the Rag system?
Author
Owner

@atgehrhardt commented on GitHub (Jul 10, 2024):

Not sure what you mean here, can you share more information? Currently the RAG system doesn't support the json extension, BUT, will accept the file as text.

You'll receive a notification when uploading:
"Unknown File Type 'application/json', but accepting and treating as plain text"

It WILL upload the file however, and you can interact with it via rag. Because almost every LLM out there understands json quite well, there's no shortcomings to this approach that I am aware of.

<!-- gh-comment-id:2219433996 --> @atgehrhardt commented on GitHub (Jul 10, 2024): Not sure what you mean here, can you share more information? Currently the RAG system doesn't support the json extension, BUT, will accept the file as text. You'll receive a notification when uploading: "Unknown File Type 'application/json', but accepting and treating as plain text" It WILL upload the file however, and you can interact with it via rag. Because almost every LLM out there understands json quite well, there's no shortcomings to this approach that I am aware of.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/open-webui#52037