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

ChatGPT-Next-Web 是docker版本,怎么安装插件? #5

Open
shawn8888 opened this issue Sep 13, 2024 · 7 comments
Open

ChatGPT-Next-Web 是docker版本,怎么安装插件? #5

shawn8888 opened this issue Sep 13, 2024 · 7 comments

Comments

@shawn8888
Copy link

找了一圈没找到安装插件的方法。请指教。谢谢!

@nextchat-manager
Copy link

Please follow the issue template to update title and description of your issue.

@lloydzhou
Copy link
Contributor

  1. 这里的插件,并不需要所谓的“安装”,配置即可使用
  2. 参考这个issue进行配置 [Feature Request] plugins (GPTs like action based on function call) ChatGPT-Next-Web#5353

@shawn8888
Copy link
Author

@lloydzhou
我看了您的这个issue,下面这个图是怎么调出来的?
image
我在settings中没有找到任何plugin的设置,但注意到在对话界面有一个plugin按钮,如下图:
image
点进去之后不知道怎么做:
image
点create按钮之后,怎么设置呢?
image

@lloydzhou
Copy link
Contributor

  1. 点击Discovery,会出现Plugins的弹窗
  2. plugins列表有create按钮,创建的时候会弹出Edit Plugin弹窗
  3. 从本项目找到你需要的插件的openapi.json文件,复制内容填到 OpenAPISchema下面的输入框里面。
  4. 有的插件需要apikey,就配置一下 Authentication信息

编辑完成之后,回到chat页面。再次点击Plugin按钮,会出现配置好的插件。聊天的时候,选择当前你需要启用哪几个插件。即可开始聊天。

@shawn8888
Copy link
Author

按照您的步骤设置好了两个插件,DuckDuckGoLiteSearch Chat PDF
但是都显示无法访问外部网络(错误信息如下)。但是ChatGPT问答一切正常,而且因为是装在NAS的docker里,其它的docker container访问外部网络也一切正常。怎么解决呢?

It seems I'm currently unable to access the PDF from the provided link due to a network issue. You can download the PDF and share its contents or key sections here, and I can help summarize or analyze it based on that information!

It seems I'm currently unable to access external resources or perform searches due to a network issue. However, I can provide general information about NextChat and its plugins if you have specific questions or topics in mind.

@shawn8888
Copy link
Author

自己解决了!打开proxy错误消失。
image

@k0baya
Copy link

k0baya commented Nov 12, 2024

  1. 点击Discovery,会出现Plugins的弹窗
  2. plugins列表有create按钮,创建的时候会弹出Edit Plugin弹窗
  3. 从本项目找到你需要的插件的openapi.json文件,复制内容填到 OpenAPISchema下面的输入框里面。
  4. 有的插件需要apikey,就配置一下 Authentication信息

编辑完成之后,回到chat页面。再次点击Plugin按钮,会出现配置好的插件。聊天的时候,选择当前你需要启用哪几个插件。即可开始聊天。

您好,请问如何自行编写插件,有相关的文档吗?

比如我希望把 GPT 返回的 react / next.js / html / css 等等代码直接部署到 vercel,并且在 artifacts 的小窗内预览 vercel 上部署之后的 Web 效果,我该如何编写这个插件的配置呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants