lobehub / lobe-chat

🤯 Lobe Chat - an open-source, modern-design AI chat framework. Supports Multi AI Providers( OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek), Knowledge Base (file upload / knowledge management / RAG ), Multi-Modals (Vision/TTS) and plugin system. One-click FREE deployment of your private ChatGPT/ Claude application.
https://chat-preview.lobehub.com
Other
39.88k stars 9.08k forks source link

[Request] 增加文档解析功能 #1760

Closed forever-lwy closed 2 weeks ago

forever-lwy commented 5 months ago

🥰 需求描述

我希望可以支持解析能提取文字的文件如doc、pdf、txt等,然后将提取到的文字直接放进上下文中进行简单的与文件对话。基于现在大模型普遍的长上下文,这应该是处理不太大的文件效果最好的方式。而且应该可以在没有服务端数据库的前提下实现。

🧐 解决方案

chatnio项目似乎是差不多的方案,或许可以参考一下。

📝 补充信息

lobehubbot commented 5 months ago

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


🥰 Description of requirements

I hope to be able to support parsing files that can extract text, such as doc, pdf, txt, etc., and then put the extracted text directly into the context for simple dialogue with the file. Based on the long context common for large models today, this should be the best way to handle files that are not too large. And it should be possible to implement without a server-side database.

🧐 Solution

The chatnio project seems to be a similar solution, maybe you can refer to it.

📝 Supplementary information

None

lobehubbot commented 5 months ago

👀 @forever-lwy

Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. Please make sure you have given us as much context as possible.\ 非常感谢您提交 issue。我们会尽快调查此事,并尽快回复您。 请确保您已经提供了尽可能多的背景信息。

xiaoxuan220 commented 4 months ago

I need too

lobehubbot commented 2 weeks ago

✅ @forever-lwy

This issue is closed, If you have any questions, you can comment and reply.\ 此问题已经关闭。如果您有任何问题,可以留言并回复。

lobehubbot commented 2 weeks ago

:tada: This issue has been resolved in version 1.12.0 :tada:

The release is available on:

Your semantic-release bot :package::rocket: