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/README.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,7 @@ The table below includes the information about all SQL functions exposed by Infe
8
8
| 2 |`infera_unload_model(name VARCHAR)`|`BOOLEAN`| Unloads a model, freeing its associated resources. Returns `true` on success. |
9
9
| 3 |`infera_set_autoload_dir(path VARCHAR)`|`VARCHAR (JSON)`| Scans a directory for `.onnx` files, loads them automatically, and returns a JSON report of loaded models and any errors. |
10
10
| 4 |`infera_get_loaded_models()`|`VARCHAR (JSON)`| Returns a JSON array containing the names of all currently loaded models. |
11
-
| 5 |`infera_get_model_info(name VARCHAR)`|`VARCHAR (JSON)`| Returns a JSON object with metadata about a specific loaded model, including its name, input/output shapes, and status. |
11
+
| 5 |`infera_get_model_info(name VARCHAR)`|`VARCHAR (JSON)`| Returns a JSON object with metadata about a specific loaded model (name, input/output shapes). If the model is not loaded, this function raises an error.|
12
12
| 6 |`infera_predict(name VARCHAR, features... FLOAT)`|`FLOAT`| Performs inference on a batch of data, returning a single float value for each input row. |
13
13
| 7 |`infera_predict_multi(name VARCHAR, features... FLOAT)`|`VARCHAR (JSON)`| Performs inference and returns all outputs as a JSON-encoded array. This is useful for models that produce multiple predictions per sample. |
14
14
| 8 |`infera_predict_multi_list(name VARCHAR, features... FLOAT)`|`LIST[FLOAT]`| Performs inference and returns all outputs as a typed list of floats. Useful for multi-output models without JSON parsing. |
0 commit comments