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?
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.
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
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?
@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.