├── .gitignore ├── Makefile ├── README.md ├── ai ├── openai.go └── session.go ├── bot └── bot.go ├── config.json.example ├── config └── config.go ├── consts └── consts.go ├── docs ├── qq群.jpg ├── 微信群.jpg ├── 文字3.jpeg ├── 画图1.jpg ├── 画图2.jpg ├── 画图3.jpg ├── 连续对话1.jpg └── 连续对话2.jpg ├── go.mod ├── go.sum ├── handler.go ├── main.go ├── prompt.txt.example └── utils └── utils.go /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/.gitignore -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/README.md -------------------------------------------------------------------------------- /ai/openai.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/ai/openai.go -------------------------------------------------------------------------------- /ai/session.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/ai/session.go -------------------------------------------------------------------------------- /bot/bot.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/bot/bot.go -------------------------------------------------------------------------------- /config.json.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/config.json.example -------------------------------------------------------------------------------- /config/config.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/config/config.go -------------------------------------------------------------------------------- /consts/consts.go: -------------------------------------------------------------------------------- 1 | package consts 2 | 3 | const ( 4 | ErrTips = "抱歉,出错了,请稍后重试~" 5 | ) 6 | -------------------------------------------------------------------------------- /docs/qq群.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/qq群.jpg -------------------------------------------------------------------------------- /docs/微信群.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/微信群.jpg -------------------------------------------------------------------------------- /docs/文字3.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/文字3.jpeg -------------------------------------------------------------------------------- /docs/画图1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/画图1.jpg -------------------------------------------------------------------------------- /docs/画图2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/画图2.jpg -------------------------------------------------------------------------------- /docs/画图3.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/画图3.jpg -------------------------------------------------------------------------------- /docs/连续对话1.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/连续对话1.jpg -------------------------------------------------------------------------------- /docs/连续对话2.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/docs/连续对话2.jpg -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/go.mod -------------------------------------------------------------------------------- /go.sum: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/go.sum -------------------------------------------------------------------------------- /handler.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/handler.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/main.go -------------------------------------------------------------------------------- /prompt.txt.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/prompt.txt.example -------------------------------------------------------------------------------- /utils/utils.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/riba2534/openai-on-wechat/HEAD/utils/utils.go --------------------------------------------------------------------------------