Skip to content

Commit fd04b03

Browse files
author
DvirDukhan
authored
Merge pull request #472 from RedisAI/redis-cli-modelget-limitation
redis-cli modelget limitation
2 parents ec0d906 + 3c9e855 commit fd04b03

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

docs/commands.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,8 +335,9 @@ redis> AI.MODELGET mymodel META
335335
You can also save it to the local file 'model.ext' with [`redis-cli`](https://redis.io/topics/cli) like so:
336336

337337
```
338-
$ redis-cli --raw AI.MODELGET mymodel BLOB > model.ext
338+
$ redis-cli AI.MODELGET mymodel BLOB > model.ext
339339
```
340+
Note that for the time being, redis-cli adds additional linefeed character to redirected output so that the model blob retrieved with redis-cli will have an additional linefeed character.
340341

341342
## AI.MODELDEL
342343
The **`AI.MODELDEL`** deletes a model stored as a key's value.

0 commit comments

Comments
 (0)