Comments (11)
这部分功能还在完善,文档也还在写,最近加班太厉害,可能没那么快。
目前的机制跟 openai 一样,写好配置,然后启动你的插件服务,就会自动使用了,
代码里有一个简单的日期插件,你可以看下
from chatgpt-wechat.
No description provided.
加入了一个 search 插件 感觉效果还不错,你可以试试 ,
cd plugins
docker-composer build && docker-composer up -d
# 再根据配置把 chat-api.yaml 的 插件部分配置填入就行
from chatgpt-wechat.
这里是需要把plugins作为一个整体做一次docker-composer吗?
那在插件配置方面,填入这个docker的相关信息即可,是吗?包括地址、端口等。
from chatgpt-wechat.
@whyiyhw >
大佬,搜索插件启动成功,也搜索到内容了,但返回的信息中没有搜索出来的内容。
搜索到的内容只会作为提示上下文发给GPT吗?但感觉回答的内容和搜索出来的信息并没有关联呢。
另外,是否可以支持#enable_plugin: search ,#disable_plugin: search 命令启动和关闭插件功能,不然每次提问都会走插件过一次,有时候并不需要做搜索。
谢谢大佬!
from chatgpt-wechat.
@whyiyhw >
大佬,搜索插件启动成功,也搜索到内容了,但返回的信息中没有搜索出来的内容。 搜索到的内容只会作为提示上下文发给GPT吗?但感觉回答的内容和搜索出来的信息并没有关联呢。 另外,是否可以支持#enable_plugin: search ,#disable_plugin: search 命令启动和关闭插件功能,不然每次提问都会走插件过一次,有时候并不需要做搜索。 谢谢大佬!
目前确实会每次都会判断是否使用插件,插件管理这块确实还没来得及做,我周末再改下,这个建议很不错~
from chatgpt-wechat.
这里是需要把plugins作为一个整体做一次docker-composer吗? 那在插件配置方面,填入这个docker的相关信息即可,是吗?包括地址、端口等。
是的,目前是打算做一个总体进行启动,相关的配置信息已经在完整配置文件里面了
from chatgpt-wechat.
插件部分,基础已完成。文档已更新,https://github.com/whyiyhw/chatgpt-wechat/blob/main/doc/plugin.md
from chatgpt-wechat.
谢谢。
请问下,插件配置里
API:
URL: "http://192.168.1.202:8885/search" # 插件接口地址,默认 post 调用
这个192.168.1.202是什么的IP?我们自己在服务器上部署的时候应该使用啥?
from chatgpt-wechat.
plugins的容器应该是在chat_network,而且需要assign特定的ip地址,然后api的url才能够从web的容器里访问到吧?
我把他们移到t同一个docker-compose.yml,然后放在同一个network下了 对么
from chatgpt-wechat.
谢谢。 请问下,插件配置里 API: URL: "http://192.168.1.202:8885/search" # 插件接口地址,默认 post 调用
这个192.168.1.202是什么的IP?我们自己在服务器上部署的时候应该使用啥?
就是你服务器内网的ip
from chatgpt-wechat.
plugins的容器应该是在chat_network,而且需要assign特定的ip地址,然后api的url才能够从web的容器里访问到吧?
我把他们移到t同一个docker-compose.yml,然后放在同一个network下了 对么
也可以,我最开始是想着,两个 docker-compose 二合一去处理,在同一网络下,调用也更方便,但是两个语言的东西合在一起挺怪的,后续扩展也不方便,就分离出来了,插件做独立服务
from chatgpt-wechat.
Related Issues (20)
- 大佬,实现群聊有计划吗 HOT 4
- 大佬,这2个端口可以改吗? 可以自己定义吗 HOT 1
- 使用Gemini API报错 HOT 2
- 我端口是8080 如何修改配置 HOT 1
- 微信客服错误 HOT 2
- Gemini pro support HOT 17
- clear命令怎么失效了 HOT 2
- 可否优化返回消息里直接显示图片而不是图片链接? HOT 1
- 在启用流式回复 Stream: true 后,返回的消息顺序不正确。 HOT 1
- 建议在配置文件增加企业微信api地址 HOT 1
- 企业微信客服报错 HOT 5
- bug:已对接one-api,由于代码内限制,无法使用除openAI,gemini之外的模型
- build的时候总是卡住 HOT 3
- gpt-4 不存在 HOT 4
- 老大,有空请看看xtekky/gpt4free,很火且无需API
- 有arm版本的吗
- 考虑加入对国产的开源llmm模型 chatlm6b支持吗?
- 企微welcome消息不生效 HOT 1
- docker-compose build 报错 HOT 1
- 请教企业微信客服功能 HOT 5
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 chatgpt-wechat.