Skip to content

Commit 68534d6

Browse files
authored
Merge branch 'master' into improve_tensor_len_calculation
2 parents 2a198ff + 14e82db commit 68534d6

31 files changed

+501
-384
lines changed

docs/commands.md

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,14 +660,14 @@ Because `AI.DAGRUN` provides the `PERSIST` option it is flagged as a 'write' com
660660
Refer to the Redis [`READONLY` command](https://redis.io/commands/readonly) for further information about read-only cluster replicas.
661661

662662
## AI.INFO
663-
The **`AI.INFO`** command returns information about the execution a model or a script.
663+
The **`AI.INFO`** command returns general module information or information about the execution a model or a script.
664664

665665
Runtime information is collected each time that [`AI.MODELRUN`](#aimodelrun) or [`AI.SCRIPTRUN`](#aiscriptrun) is called. The information is stored locally by the executing RedisAI engine, so when deployed in a cluster each shard stores its own runtime information.
666666

667667
**Redis API**
668668

669669
```
670-
AI.INFO <key> [RESETSTAT]
670+
AI.INFO [<key>] [RESETSTAT]
671671
```
672672

673673
_Arguments_
@@ -677,7 +677,15 @@ _Arguments_
677677

678678
_Return_
679679

680-
An array with alternating entries that represent the following key-value pairs:
680+
For a module genernal information: An array with alternating entries that represent the following key-value pairs:
681+
682+
* **Version**: a string showing the current module version.
683+
* **Low level API Version**: a string showing the current module's low level api version.
684+
* **RDB Encoding version**: a string showing the current module's RDB encoding version.
685+
* **TensorFlow version**: a string showing the current loaded TesnorFlow backend version.
686+
* **ONNX version**: a string showing the current loaded ONNX Runtime backend version.
687+
688+
For model or script runtime information: An array with alternating entries that represent the following key-value pairs:
681689

682690
* **KEY**: a String of the name of the key storing the model or script value
683691
* **TYPE**: a String of the type of value (i.e. 'MODEL' or 'SCRIPT')

0 commit comments

Comments
 (0)