Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] 文件上传与处理 #335

Open
michaelGuo1204 opened this issue Jan 14, 2025 · 1 comment
Open

[Feature Request] 文件上传与处理 #335

michaelGuo1204 opened this issue Jan 14, 2025 · 1 comment
Labels
enhancement New feature or request

Comments

@michaelGuo1204
Copy link

🥰 需求描述

当前代码中用户上传文件的浏览与问答需要通过配套RAG实现,配置较为繁琐。如果用户上传文件体量较小,我们是否也可通过单个插件的形式实现文件处理:类似现有的PDF浏览器,直接通过LangchainJS 中的FileLoader将文件内容转化为聊天上下文。

🧐 解决方案

  1. 开放MyFilesBrowser的独立使用
  2. 在该插件中提供不使用RAG,直接获取文件内容的选项

📝 补充信息

No response

@michaelGuo1204 michaelGuo1204 added the enhancement New feature or request label Jan 14, 2025
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Feature Request] File upload and processing

🥰 Description of requirements

In the current code, browsing and Q&A of user-uploaded files need to be implemented through the supporting RAG, and the configuration is relatively cumbersome. If the file size uploaded by the user is small, can we also implement file processing through a single plug-in: similar to the existing PDF browser, directly convert the file content into a chat context through the FileLoader in LangchainJS.

🧐 Solution

  1. Open the independent use of MyFilesBrowser
  2. The plug-in provides the option to directly obtain the file content without using RAG.

📝 Supplementary information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants