@soat/cli 0.12.2 → 0.12.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.mjs +31 -1
- package/package.json +2 -2
package/dist/index.mjs
CHANGED
|
@@ -11,7 +11,7 @@ import yaml from "js-yaml";
|
|
|
11
11
|
import * as os from "node:os";
|
|
12
12
|
|
|
13
13
|
//#region package.json
|
|
14
|
-
var version = "0.12.
|
|
14
|
+
var version = "0.12.4";
|
|
15
15
|
|
|
16
16
|
//#endregion
|
|
17
17
|
//#region src/cli-wrappers/wrappers/formations.ts
|
|
@@ -1813,6 +1813,27 @@ var routes = {
|
|
|
1813
1813
|
"in": "path"
|
|
1814
1814
|
}]
|
|
1815
1815
|
},
|
|
1816
|
+
"create-embeddings": {
|
|
1817
|
+
serviceClass: "Embeddings",
|
|
1818
|
+
operationId: "createEmbeddings",
|
|
1819
|
+
description: "Generates embedding vectors for one or more text inputs using the server's configured embedding model. Provide `input` for a single text or `inputs` for a batch. At least one is required. Returns `embedding` when `input` is used, and `embeddings` when `inputs` is used.",
|
|
1820
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/embeddings",
|
|
1821
|
+
pathParams: [],
|
|
1822
|
+
queryParams: [],
|
|
1823
|
+
flags: [{
|
|
1824
|
+
"name": "input",
|
|
1825
|
+
"description": "Single text to embed.",
|
|
1826
|
+
"required": false,
|
|
1827
|
+
"type": "string",
|
|
1828
|
+
"in": "body"
|
|
1829
|
+
}, {
|
|
1830
|
+
"name": "inputs",
|
|
1831
|
+
"description": "Batch of texts to embed.",
|
|
1832
|
+
"required": false,
|
|
1833
|
+
"type": "array",
|
|
1834
|
+
"in": "body"
|
|
1835
|
+
}]
|
|
1836
|
+
},
|
|
1816
1837
|
"list-files": {
|
|
1817
1838
|
serviceClass: "Files",
|
|
1818
1839
|
operationId: "listFiles",
|
|
@@ -2953,6 +2974,15 @@ var routes = {
|
|
|
2953
2974
|
"in": "path"
|
|
2954
2975
|
}]
|
|
2955
2976
|
},
|
|
2977
|
+
"list-projects": {
|
|
2978
|
+
serviceClass: "Projects",
|
|
2979
|
+
operationId: "listProjects",
|
|
2980
|
+
description: "Lists projects accessible to the caller. - JWT admin: returns all projects. - JWT regular user: returns only projects granted by the user's policies. - API key scoped to a project: returns only that project.",
|
|
2981
|
+
moduleDocsUrl: "https://soat.ttoss.dev/docs/modules/projects",
|
|
2982
|
+
pathParams: [],
|
|
2983
|
+
queryParams: [],
|
|
2984
|
+
flags: []
|
|
2985
|
+
},
|
|
2956
2986
|
"create-project": {
|
|
2957
2987
|
serviceClass: "Projects",
|
|
2958
2988
|
operationId: "createProject",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@soat/cli",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@inquirer/input": "^5.1.2",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"@ttoss/logger": "^0.8.16",
|
|
9
9
|
"commander": "^15.0.0",
|
|
10
10
|
"js-yaml": "^4.2.0",
|
|
11
|
-
"@soat/sdk": "0.12.
|
|
11
|
+
"@soat/sdk": "0.12.4"
|
|
12
12
|
},
|
|
13
13
|
"devDependencies": {
|
|
14
14
|
"@ttoss/config": "^1.37.15",
|