wechatgpt/README.md
2022-12-07 15:12:19 +09:00

17 lines
289 B
Markdown

# how to use
## prepare runtime environment
```
go mod tidy
cp config/config.yaml.example local/config.yaml
```
## add your openai token
open the [openai](https://beta.openai.com/account/api-keys) and register account, copy your token to config file
## run app
```
go run main.go
```