You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/commands.md
+11-3Lines changed: 11 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -660,14 +660,14 @@ Because `AI.DAGRUN` provides the `PERSIST` option it is flagged as a 'write' com
660
660
Refer to the Redis [`READONLY` command](https://redis.io/commands/readonly) for further information about read-only cluster replicas.
661
661
662
662
## 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.
664
664
665
665
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.
666
666
667
667
**Redis API**
668
668
669
669
```
670
-
AI.INFO <key> [RESETSTAT]
670
+
AI.INFO [<key>] [RESETSTAT]
671
671
```
672
672
673
673
_Arguments_
@@ -677,7 +677,15 @@ _Arguments_
677
677
678
678
_Return_
679
679
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:
681
689
682
690
***KEY**: a String of the name of the key storing the model or script value
683
691
***TYPE**: a String of the type of value (i.e. 'MODEL' or 'SCRIPT')
0 commit comments