-
Notifications
You must be signed in to change notification settings - Fork 384
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] 是否考虑支持文件上传功能 #77
Comments
Title: [Feature] Whether to consider supporting file upload function |
gpt-4-vision-preview? |
麻烦大佬也更新下docker 镜像😂,支持图像上传 |
Could you please also update the docker image 😂 to support image uploading? |
可以用这个版本的镜像:gosuto/chatgpt-next-web-langchain:20231206 |
发现bug,这个镜像识别图片可以,但是切换到其他模型正常输入文字发不出去,js报错 |
发现bug,这个镜像识别图片可以,但是切换到其他模型正常输入文字发不出去,js报错 @Hk-Gosuto 我记得昨天已经修复了,等会我再打个包。 |
Found a bug. This image can recognize images, but when switching to other models and inputting text normally, it cannot be sent, and js reports an error @Hk-Gosuto I remember it was repaired yesterday, I'll pack it up later. |
发现bug,这个镜像识别图片可以,但是切换到其他模型正常输入文字发不出去,js报错 @Hk-Gosuto 使用 |
Found a bug, this image can recognize images, but when switching to other models, input text cannot be sent normally, and js reports an error @Hk-Gosuto Use |
感谢大佬,可以用了,很好很强大 👍 |
Thank you boss, it can be used, it’s very good and powerful 👍 |
好像有个bug偶现,有时候调用接口没有传图片 |
There seems to be a bug that appears occasionally. Sometimes the calling interface does not send pictures. |
我发现是快捷键发送会重现,用鼠标点击发送就可以发 |
I found that the shortcut key to send will reappear. Click send with the mouse to send. |
是的,还有Whisper,挺多场景需要上传文件给到插件,然后插件处理的,另外想请教下vercel是直接实现文件的一些操作是不是限制很多呢,我尝试了下文件下载的很慢,大点文件就不行了 |
Yes, there is also Whisper. There are many scenarios where you need to upload files to the plug-in, and then the plug-in processes them. In addition, I would like to ask if there are many restrictions on vercel's direct implementation of some file operations. I tried it and the file download was very slow. Bigger files won’t work |
vercel 的 edge function 没办法调用 nodejs 的一些核心函数,比如文件操作相关。 |
Vercel's edge function cannot call some core functions of nodejs, such as file operations. |
主分支修复了,docker镜像用这个: |
The main branch has been repaired, and the docker image uses this: |
我看现在图片是base64的方案,如果上传到R2,使用图片url传到openai,应该还可以节省token费用? |
I see that the current image is a base64 solution. If you upload it to R2 and use the image URL to transfer it to openai, you should be able to save token fees? |
图片是根据像素单独计费的 |
Images are billed individually per pixel |
@Hk-Gosuto 我也同样有这个错误,使用的是:gosuto/chatgpt-next-web-langchain:20231207 |
@Hk-Gosuto I also have this error, using: gosuto/chatgpt-next-web-langchain:20231207 |
gosuto/chatgpt-next-web-langchain:20231207-2 |
gosuto/chatgpt-next-web-langchain:20231207-2 |
gpt-4-vision-preview 可以上传图片。请问是否支持多种日志文件上传的入口呢。 |
gpt-4-vision-preview can upload images. I would like to ask if it supports multiple entrances for uploading log files. |
视觉模型只能解析图片,上传日志之类的东西也没办法处理啊。还是说你想要的是 plus 账户的 Code Interpreter 功能? |
The visual model can only parse images, and cannot handle things like uploading logs. Or do you want the Code Interpreter function of the plus account? |
更新为使用对象存储来中转图像文件了,参考文档配置一下:docs/s3-oss.md |
Updated to use object storage to transfer image files, refer to the documentation for configuration: [docs/s3-oss.md](https://github.com/Hk-Gosuto/ChatGPT-Next-Web-LangChain/blob/main/ docs/s3-oss.md) |
可以考虑接入LangChain的Code Interpreter开源实现 https://github.com/shroominic/codeinterpreter-api |
这个项目我之前有关注过,想支持要需要对这个项目进行改造,成本比较高,后面如果比较空闲的话会再研究下这个。 |
I have paid attention to this project before. If I want to support it, I need to modify this project. The cost is relatively high. If I have more free time, I will study this again later. |
Is your feature request related to a problem? Please describe.
gpt4已经可以处理文件了,是否考虑将文件上传也添加进去
The text was updated successfully, but these errors were encountered: