-
-
Notifications
You must be signed in to change notification settings - Fork 9.5k
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
[Request] 请加上以下功能:用户自定义哪个模型可以上传文件 #1000
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
This issue is closed, If you have any questions, you can comment and reply. |
🎉 This issue has been resolved in version 0.123.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
why it was closed? even not resolved yet... |
Because i have add an hidden model named gpt-4-all to support this |
could you please tell me how to use this hidden model named gpt-4-all ? |
🥰 需求描述
目前lobe只有gpt-4-vision-preview支持文件上传,而且仅支持图片。但是目前很多将plus的功能转发,比如pandora,这些项目产生的api都可以支持上传文件分析。因此希望lobe可以支持用户自定义模型上传文件。
在之前的issue中有人提到过将该行注释可以实现文件上传(不仅限图片):https://github.com/lobehub/lobe-chat/blob/main/src/features/ChatInput/ActionBar/FileUpload.tsx#L25
实测之后确实可以
lobe中的对话:来自pandora的转发,如果传图片的话仍然可以展示图片,传非图片,比如此处的pdf文件,则显示空
下图是对应的GPT PLUS账号中创建的对话,可以看到这个上传过程与直接在网页端上传没有什么差别,只不过接口可能对文件大小有限制
感谢大佬!
🧐 解决方案
暂无
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: