Skip to content
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

api调用传入discord服务器整个 [ ] api参数,gpt-4o无法图片使用 #210

Closed
1 of 4 tasks
Mr-XiaoYi opened this issue Jun 8, 2024 · 2 comments
Closed
1 of 4 tasks
Labels
bug Something isn't working

Comments

@Mr-XiaoYi
Copy link

Mr-XiaoYi commented Jun 8, 2024

例行检查

  • 我已确认目前没有类似 issue
  • 我已确认我已升级到最新版本
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

问题描述

  1. 在第三方调用接口的时候discord服务器内容貌似是不对的,整个【】内的参数直接被传入了
  2. 调用gpt4o模型传入图片时,在discord服务器中上传图片正常回答,第三方例nextchat中使用会回答无法使用链接,我看频道猜测可能是第一个问题导致第二个问题出现
    复现步骤
    任何时候调用openai api复现——;第一张为此bug执行步骤之一——;第二张是直接在discord艾特coze的回答——;第三张是docker传入部分参数——;

预期结果
第三方平台调 用api gpt-4o图片正常识别正常回答
相关截图
a8f3842239a1f7b8efe0493beabe3b6
7f73da94c481ab8cfa88e2e1df0f290
4e8ef8f538a8b16ce0ff2e9a6a911c6

@Mr-XiaoYi Mr-XiaoYi added the bug Something isn't working label Jun 8, 2024
@deanxv
Copy link
Owner

deanxv commented Jun 8, 2024

  1. 项目原理就是把整个json传入让gpt4理解上下文。

  2. 你自己在discord发送图片是将图片作为附件传入,而cdp服务是将图片转为url,而目前默认的4o模型对图片url识别不出来,需要开启linkreader插件。

@Mr-XiaoYi
Copy link
Author

我尝试了coze插件,gpt4v会介绍图片识别效果会更好,记录,关闭问题,感谢回答

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants