Comments (5)
看文档去。
from chatnio.
必须要输入图片 url 直链,不可以直接用上传文件的方式?
那 README 里的这种效果是怎么实现的?不太明白,麻烦大佬指点一下,感谢!
from chatnio.
后台设置自定义文件解析服务,看解析项目文档
from chatnio.
感谢大佬回复,我在 docker 中部署 chatnio-blob-service 试了一下:
- 配置成
No Storage
的时候,上传图片会被转换,chatnio 那边可以正确调用 gpt 并且获得回复,这个没问题 - 配置成
Local Storage
的时候,还是会有本 issue 最开始提到的问题:请求 gpt 的时候,body
中的image_url
字段中图片 url 结尾会多一个\n```
,导致请求失败;而且我看text
字段开头有```
,但是结尾没有,看上去像是一个完整的 markdown 代码块被分割之后,前半段塞到了text
字段,后半段塞到了image_url
字段,这个麻烦大佬有空再看下,可以参考我开头贴的日志
预祝大佬中考顺利~
from chatnio.
抱歉,无法复现
chatnio 提取图片实现为此函数,复制并最小化demo没有发现问题
Lines 229 to 234 in f860a99
如果不是 chatnio 最新版,请按照 README 更新容器。
from chatnio.
Related Issues (20)
- 附件或者图片能否使用base64实现 HOT 13
- 支持searxng HOT 3
- 支持模型市场更多设置 HOT 3
- 更易操作的用户管理 HOT 5
- API返回内容不对? HOT 3
- nil pointer dereference错误 HOT 13
- 模型提供商支持提议 | Model Provider Support Proposals HOT 18
- [Feat] 历史会话列表增加收藏/置顶按钮 HOT 7
- 自定义点数充值折扣 HOT 1
- 源码文件缺失? HOT 3
- 对接部分中转 Anthropic 渠道的格式兼容性问题 HOT 18
- 按钮名称错误 HOT 2
- 编译构建老是报错has not been built from source file vite.config.ts HOT 6
- MJ图片无法存到服务端 HOT 5
- gpt系列只有gpt-4o模型可以用了吗? HOT 3
- MORE LANGUAGUE HOT 2
- 请求添加Casdoor单点登录方式 HOT 8
- 用户账号界面的账号ID HOT 13
- 渠道额度消耗统计 HOT 1
- 希望添加预设自定义预设模型功能 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chatnio.