go-chatgpt-bot

command module
v0.0.0-...-9afd7d1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 31, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

README

go-chatgpt-bot

ChatGPT,对接个人微信

使用方法

编译可执行文件
make deps # 安装倚赖
make bin # 编译
运行方法
1. 配置文件

https://platform.openai.com/account/api-keys 下获取自己的SECRET KEY,并填入config.yaml文件

cp etc/chatgpt.json.example chatgpt.json
2. 运行
./bin/go-chatgpt-bot start -c chatgpt.json

或者 
bash scripts/start.sh
## 运行以后会在终端显示二维码链接,打开并用微信扫描登录即可
访问下面网址扫描二维码登录
https://login.weixin.qq.com/qrcode/IcqL-5PuXw==

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL