17 lines
289 B
Markdown
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
|
|
```
|