fix readme
This commit is contained in:
17
readme.md
17
readme.md
@@ -33,3 +33,20 @@ content/
|
|||||||
└── 3mch5zca4nj2h.json
|
└── 3mch5zca4nj2h.json
|
||||||
```
|
```
|
||||||
|
|
||||||
|
## translate
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ cd rust/
|
||||||
|
$ cargo build --release
|
||||||
|
$ ./target/release/ailog
|
||||||
|
$ cat .env.example
|
||||||
|
AILOG_DIR=~/ai/log
|
||||||
|
TRANSLATE_URL=http://127.0.0.1:1234/v1
|
||||||
|
TRANSLATE_MODEL=plamo-2-translate
|
||||||
|
```
|
||||||
|
|
||||||
|
```sh
|
||||||
|
$ ailog l syui.ai -p ${PASSWORD} -s bsky.social
|
||||||
|
$ ailog t ./content/did:plc:uqzpqmrjnptsxezjx4xuh2mn/ai.syui.log.post -f ja -l en
|
||||||
|
$ ailog s ./content/did:plc:uqzpqmrjnptsxezjx4xuh2mn/ai.syui.log.post/3mch5zca4nj2h.json -c ai.syui.log.post
|
||||||
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user