-
Notifications
You must be signed in to change notification settings - Fork 1k
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
附件或者图片能否使用base64实现 #215
Comments
Title: Can attachments or pictures be implemented using base64? As title One less service and easier to deploy |
Hi, chatnio-blob-service 项目附带支持 base64 的选项,不需要其他依赖、支持使用 vercel 进行一键部署 Regrads, |
提问题前建议看文档 |
It is recommended to read the documentation before asking questions |
但是请求到到llm后端的时候是通过 chatnio-blob-service 配置的公网域名url; 我指的是直接到llm后端的时候 就是 base64。 |
But when the request reaches the llm backend, it is the public domain name URL configured through chatnio-blob-service; What I mean is that when going directly to the llm backend, it is base64. |
Hi, 较为冗余,建议使用 vercel 一键快速部署。 Regards, |
Hi, It is relatively redundant. It is recommended to use vercel for one-click rapid deployment. Regards, |
好的,确实是支持,没看清楚;抱歉,不过内容貌似不全: {"model":"qwen","messages":[{"role":"user","content":"hi"},{"role":"assistant","content":"Hi! How can I help you today? "},{"role":"user","content":"hi"},{"role":"assistant","content":"Hi! How can I assist you today?"},{"role":"user","content":" |
Okay, it is indeed supported, but I didn’t see it clearly; I’m sorry, but the content seems incomplete: {"model":"qwen","messages":[{"role":"user","content":"hi"},{"role":"assistant","content":"Hi! How can I help you today? "},{"role":"user","content":"hi"},{"role":"assistant","content":"Hi! How can I assist you today?" },{"role":"user","content":"```file\n[[20240618-104928.jpeg]]\ndata:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQA ...\n` ``\n\nWhat is the content of the picture? "}],"max_tokens":2000,"stream":true,"presence_penalty":0,"frequency_penalty":0,"temperature":0.8,"top_p": 1} |
Hi, 你请求的模型 解决方案:使用支持图片识别的模型。如: Regards, |
Hi, The model Solution: Use a model that supports image recognition. Such as: Regards, |
hey there, your model |
如题
少一个服务,部署起来也简单些
The text was updated successfully, but these errors were encountered: