namirasoft-inference 1.5.8 → 1.5.9
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/NamirasoftInferenceServer.js +1 -1
- package/dist/meta/ChatMetaTable.d.ts +1 -1
- package/dist/meta/ChatMetaTable.js +1 -1
- package/dist/meta/ChatMetaTable.js.map +1 -1
- package/dist/row/ChatRow.d.ts +1 -1
- package/package.json +1 -1
- package/src/NamirasoftInferenceServer.ts +1 -1
- package/src/meta/ChatMetaTable.ts +2 -2
- package/src/row/ChatRow.ts +1 -1
|
@@ -18,7 +18,7 @@ const NamirasoftInferenceServerUsage_1 = require("./NamirasoftInferenceServerUsa
|
|
|
18
18
|
const NamirasoftInferenceServerValue_1 = require("./NamirasoftInferenceServerValue");
|
|
19
19
|
class NamirasoftInferenceServer extends namirasoft_account_1.NSABaseServer {
|
|
20
20
|
constructor(base_url, token_manager, onError) {
|
|
21
|
-
super(base_url, `1.5.
|
|
21
|
+
super(base_url, `1.5.9`, token_manager, onError);
|
|
22
22
|
this.health = new NamirasoftInferenceServerHealth_1.NamirasoftInferenceServerHealth(this);
|
|
23
23
|
this.metrics = new NamirasoftInferenceServerMetrics_1.NamirasoftInferenceServerMetrics(this);
|
|
24
24
|
this.value = new NamirasoftInferenceServerValue_1.NamirasoftInferenceServerValue(this);
|
|
@@ -9,7 +9,7 @@ export declare class ChatMetaTable extends NSBaseMetaTable<NamirasoftInferenceSe
|
|
|
9
9
|
workspace_id: BaseMetaColumn;
|
|
10
10
|
inferencer_type: BaseMetaColumn;
|
|
11
11
|
inferencer_id: BaseMetaColumn;
|
|
12
|
-
|
|
12
|
+
name: BaseMetaColumn;
|
|
13
13
|
total_token: BaseMetaColumn;
|
|
14
14
|
total_token_input: BaseMetaColumn;
|
|
15
15
|
total_token_output: BaseMetaColumn;
|
|
@@ -21,7 +21,7 @@ class ChatMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
21
21
|
workspace_id: new namirasoft_core_1.BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
22
22
|
inferencer_type: new namirasoft_core_1.BaseMetaColumn(this, "inferencer_type", "Inferencer Type", "Enum", true),
|
|
23
23
|
inferencer_id: new namirasoft_core_1.BaseMetaColumn(this, "inferencer_id", "Inferencer ID", "String", true),
|
|
24
|
-
|
|
24
|
+
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", false),
|
|
25
25
|
total_token: new namirasoft_core_1.BaseMetaColumn(this, "total_token", "Total Token", "Integer", true),
|
|
26
26
|
total_token_input: new namirasoft_core_1.BaseMetaColumn(this, "total_token_input", "Total Token Input", "Integer", true),
|
|
27
27
|
total_token_output: new namirasoft_core_1.BaseMetaColumn(this, "total_token_output", "Total Token Output", "Integer", true),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ChatMetaTable.js","sourceRoot":"","sources":["../../src/meta/ChatMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAA2D;AAG3D,qDAAsE;AAGtE,MAAa,aAAc,SAAQ,iCAAmD;IAkBlF,YAAY,QAAuD;QAE/D,KAAK,CAAC,QAAQ,EAAE,MAAM,EAAE,MAAM,EAAE,IAAI,0BAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;QACzD,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,YAAY,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,CAAC;YACtF,eAAe,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,MAAM,EAAE,IAAI,CAA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,GAAG,EAAE,CAAC,EAAE,CAAC;QACrC,IAAI,CAAC,SAAS,CAAC,aAAa,GAAG,GAAG,EAAE,CAAC,EAAE,CAAC;IAC5C,CAAC;CACJ;AAlDD,sCAkDC;AAAA,CAAC"}
|
package/dist/row/ChatRow.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -53,7 +53,7 @@ export class NamirasoftInferenceServer extends NSABaseServer
|
|
|
53
53
|
usage: NamirasoftInferenceServerUsage;
|
|
54
54
|
constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
|
|
55
55
|
{
|
|
56
|
-
super(base_url, `1.5.
|
|
56
|
+
super(base_url, `1.5.9`, token_manager, onError);
|
|
57
57
|
this.health = new NamirasoftInferenceServerHealth(this);
|
|
58
58
|
this.metrics = new NamirasoftInferenceServerMetrics(this);
|
|
59
59
|
this.value = new NamirasoftInferenceServerValue(this);
|
|
@@ -32,7 +32,7 @@ export class ChatMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer, Ch
|
|
|
32
32
|
workspace_id: BaseMetaColumn;
|
|
33
33
|
inferencer_type: BaseMetaColumn;
|
|
34
34
|
inferencer_id: BaseMetaColumn;
|
|
35
|
-
|
|
35
|
+
name: BaseMetaColumn;
|
|
36
36
|
total_token: BaseMetaColumn;
|
|
37
37
|
total_token_input: BaseMetaColumn;
|
|
38
38
|
total_token_output: BaseMetaColumn;
|
|
@@ -51,7 +51,7 @@ export class ChatMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer, Ch
|
|
|
51
51
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
52
52
|
inferencer_type: new BaseMetaColumn(this, "inferencer_type", "Inferencer Type", "Enum", true),
|
|
53
53
|
inferencer_id: new BaseMetaColumn(this, "inferencer_id", "Inferencer ID", "String", true),
|
|
54
|
-
|
|
54
|
+
name: new BaseMetaColumn(this, "name", "Name", "String", false),
|
|
55
55
|
total_token: new BaseMetaColumn(this, "total_token", "Total Token", "Integer", true),
|
|
56
56
|
total_token_input: new BaseMetaColumn(this, "total_token_input", "Total Token Input", "Integer", true),
|
|
57
57
|
total_token_output: new BaseMetaColumn(this, "total_token_output", "Total Token Output", "Integer", true),
|
package/src/row/ChatRow.ts
CHANGED