Package Exports
- koishi-plugin-chatluna-wenxin-adapter
- koishi-plugin-chatluna-wenxin-adapter/lib/index.js
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (koishi-plugin-chatluna-wenxin-adapter) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
koishi-plugin-chathub-wenxin-adapter
为 ChatHub 提供文心一言(API)支持的适配器
怎么使用?
- 请先前往百度智能云千帆大模型控制台,获取你应用的 Api Key 和 Secret Key,怎么获取这里不再赘述
- 在插件市场安装本插件(
@dingyi222666/chathub-wenxin-adapter
),并安装好本插件依赖的前置插件 - 在插件配置中填写你的 API Key(请求设置 -> apiKey)
- 如果想默认使用文心一言服务的话,需要使用命令设置模型。
- 现在你可以尝试回复 Bot 一句你好,如果Bot响应了你,那么恭喜你,你已经成功接入了 文心一言
常见问题
待施工...