Home を更新
14
Home.md
14
Home.md
@ -1,5 +1,7 @@
|
||||
## ailog stream
|
||||
|
||||
`ailog auth init`が必要。
|
||||
|
||||
1. start: jetstreamを監視してコメントがあったとき管理者アカウントのatprotoの`ai.syui.log.user`にdidを追加する
|
||||
2. --ai-generate: AIを使って`$host/index.json`の更新があったとき、新しくatprotoの`ai.syui.log.chat`に`lang`, `comment`を追加する
|
||||
|
||||
@ -14,4 +16,14 @@ sudo systemctl daemon-reload
|
||||
sudo systemctl start ailog-stream
|
||||
|
||||
systemctl status ailog-stream
|
||||
```
|
||||
```
|
||||
|
||||
## ailog auth
|
||||
|
||||
```sh
|
||||
$ cat ~/.config/syui/ai/log/config.json
|
||||
$ ailog auth logout
|
||||
$ ailog auth init
|
||||
```
|
||||
|
||||
この処理がなければ、`ailog stream`などは動作しない。
|
Reference in New Issue
Block a user