namirasoft-inference 1.5.11 → 1.5.12
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 +39 -39
- package/dist/NamirasoftInferenceServerUsage.d.ts +12 -12
- package/dist/NamirasoftInferenceServerUsage.js +36 -36
- package/dist/command/UsageCommand.js +16 -16
- package/dist/command/UsageDashboardCommand.d.ts +5 -5
- package/dist/command/UsageDashboardCommand.js +37 -37
- package/dist/enum/InferencerType.d.ts +6 -6
- package/dist/enum/InferencerType.js +10 -10
- package/dist/enum/UsageBucketType.d.ts +4 -4
- package/dist/enum/UsageBucketType.js +8 -8
- package/dist/index.d.ts +141 -141
- package/dist/index.js +157 -157
- package/dist/row/UsageDashboardBucketRow.d.ts +10 -10
- package/dist/row/UsageDashboardBucketRow.js +2 -2
- package/dist/row/UsageDashboardResponseRow.d.ts +8 -8
- package/dist/row/UsageDashboardResponseRow.js +2 -2
- package/package.json +1 -1
- package/src/NamirasoftInferenceServer.ts +1 -1
- package/src/enum/UsageBucketType.ts +2 -2
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NamirasoftInferenceServer = void 0;
|
|
4
|
-
const namirasoft_account_1 = require("namirasoft-account");
|
|
5
|
-
const NamirasoftInferenceServerChat_1 = require("./NamirasoftInferenceServerChat");
|
|
6
|
-
const NamirasoftInferenceServerFailover_1 = require("./NamirasoftInferenceServerFailover");
|
|
7
|
-
const NamirasoftInferenceServerHealth_1 = require("./NamirasoftInferenceServerHealth");
|
|
8
|
-
const NamirasoftInferenceServerInteraction_1 = require("./NamirasoftInferenceServerInteraction");
|
|
9
|
-
const NamirasoftInferenceServerLLM_1 = require("./NamirasoftInferenceServerLLM");
|
|
10
|
-
const NamirasoftInferenceServerLoadBalancer_1 = require("./NamirasoftInferenceServerLoadBalancer");
|
|
11
|
-
const NamirasoftInferenceServerMetrics_1 = require("./NamirasoftInferenceServerMetrics");
|
|
12
|
-
const NamirasoftInferenceServerModel_1 = require("./NamirasoftInferenceServerModel");
|
|
13
|
-
const NamirasoftInferenceServerModelCategory_1 = require("./NamirasoftInferenceServerModelCategory");
|
|
14
|
-
const NamirasoftInferenceServerModelField_1 = require("./NamirasoftInferenceServerModelField");
|
|
15
|
-
const NamirasoftInferenceServerModelTag_1 = require("./NamirasoftInferenceServerModelTag");
|
|
16
|
-
const NamirasoftInferenceServerRace_1 = require("./NamirasoftInferenceServerRace");
|
|
17
|
-
const NamirasoftInferenceServerUsage_1 = require("./NamirasoftInferenceServerUsage");
|
|
18
|
-
const NamirasoftInferenceServerValue_1 = require("./NamirasoftInferenceServerValue");
|
|
19
|
-
class NamirasoftInferenceServer extends namirasoft_account_1.NSABaseServer {
|
|
20
|
-
constructor(base_url, token_manager, onError) {
|
|
21
|
-
super(base_url, `1.5.
|
|
22
|
-
this.health = new NamirasoftInferenceServerHealth_1.NamirasoftInferenceServerHealth(this);
|
|
23
|
-
this.metrics = new NamirasoftInferenceServerMetrics_1.NamirasoftInferenceServerMetrics(this);
|
|
24
|
-
this.value = new NamirasoftInferenceServerValue_1.NamirasoftInferenceServerValue(this);
|
|
25
|
-
this.model_category = new NamirasoftInferenceServerModelCategory_1.NamirasoftInferenceServerModelCategory(this);
|
|
26
|
-
this.model_field = new NamirasoftInferenceServerModelField_1.NamirasoftInferenceServerModelField(this);
|
|
27
|
-
this.model_tag = new NamirasoftInferenceServerModelTag_1.NamirasoftInferenceServerModelTag(this);
|
|
28
|
-
this.model = new NamirasoftInferenceServerModel_1.NamirasoftInferenceServerModel(this);
|
|
29
|
-
this.load_balancer = new NamirasoftInferenceServerLoadBalancer_1.NamirasoftInferenceServerLoadBalancer(this);
|
|
30
|
-
this.failover = new NamirasoftInferenceServerFailover_1.NamirasoftInferenceServerFailover(this);
|
|
31
|
-
this.race = new NamirasoftInferenceServerRace_1.NamirasoftInferenceServerRace(this);
|
|
32
|
-
this.llm = new NamirasoftInferenceServerLLM_1.NamirasoftInferenceServerLLM(this);
|
|
33
|
-
this.chat = new NamirasoftInferenceServerChat_1.NamirasoftInferenceServerChat(this);
|
|
34
|
-
this.interaction = new NamirasoftInferenceServerInteraction_1.NamirasoftInferenceServerInteraction(this);
|
|
35
|
-
this.usage = new NamirasoftInferenceServerUsage_1.NamirasoftInferenceServerUsage(this);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
exports.NamirasoftInferenceServer = NamirasoftInferenceServer;
|
|
39
|
-
;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NamirasoftInferenceServer = void 0;
|
|
4
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
5
|
+
const NamirasoftInferenceServerChat_1 = require("./NamirasoftInferenceServerChat");
|
|
6
|
+
const NamirasoftInferenceServerFailover_1 = require("./NamirasoftInferenceServerFailover");
|
|
7
|
+
const NamirasoftInferenceServerHealth_1 = require("./NamirasoftInferenceServerHealth");
|
|
8
|
+
const NamirasoftInferenceServerInteraction_1 = require("./NamirasoftInferenceServerInteraction");
|
|
9
|
+
const NamirasoftInferenceServerLLM_1 = require("./NamirasoftInferenceServerLLM");
|
|
10
|
+
const NamirasoftInferenceServerLoadBalancer_1 = require("./NamirasoftInferenceServerLoadBalancer");
|
|
11
|
+
const NamirasoftInferenceServerMetrics_1 = require("./NamirasoftInferenceServerMetrics");
|
|
12
|
+
const NamirasoftInferenceServerModel_1 = require("./NamirasoftInferenceServerModel");
|
|
13
|
+
const NamirasoftInferenceServerModelCategory_1 = require("./NamirasoftInferenceServerModelCategory");
|
|
14
|
+
const NamirasoftInferenceServerModelField_1 = require("./NamirasoftInferenceServerModelField");
|
|
15
|
+
const NamirasoftInferenceServerModelTag_1 = require("./NamirasoftInferenceServerModelTag");
|
|
16
|
+
const NamirasoftInferenceServerRace_1 = require("./NamirasoftInferenceServerRace");
|
|
17
|
+
const NamirasoftInferenceServerUsage_1 = require("./NamirasoftInferenceServerUsage");
|
|
18
|
+
const NamirasoftInferenceServerValue_1 = require("./NamirasoftInferenceServerValue");
|
|
19
|
+
class NamirasoftInferenceServer extends namirasoft_account_1.NSABaseServer {
|
|
20
|
+
constructor(base_url, token_manager, onError) {
|
|
21
|
+
super(base_url, `1.5.12`, token_manager, onError);
|
|
22
|
+
this.health = new NamirasoftInferenceServerHealth_1.NamirasoftInferenceServerHealth(this);
|
|
23
|
+
this.metrics = new NamirasoftInferenceServerMetrics_1.NamirasoftInferenceServerMetrics(this);
|
|
24
|
+
this.value = new NamirasoftInferenceServerValue_1.NamirasoftInferenceServerValue(this);
|
|
25
|
+
this.model_category = new NamirasoftInferenceServerModelCategory_1.NamirasoftInferenceServerModelCategory(this);
|
|
26
|
+
this.model_field = new NamirasoftInferenceServerModelField_1.NamirasoftInferenceServerModelField(this);
|
|
27
|
+
this.model_tag = new NamirasoftInferenceServerModelTag_1.NamirasoftInferenceServerModelTag(this);
|
|
28
|
+
this.model = new NamirasoftInferenceServerModel_1.NamirasoftInferenceServerModel(this);
|
|
29
|
+
this.load_balancer = new NamirasoftInferenceServerLoadBalancer_1.NamirasoftInferenceServerLoadBalancer(this);
|
|
30
|
+
this.failover = new NamirasoftInferenceServerFailover_1.NamirasoftInferenceServerFailover(this);
|
|
31
|
+
this.race = new NamirasoftInferenceServerRace_1.NamirasoftInferenceServerRace(this);
|
|
32
|
+
this.llm = new NamirasoftInferenceServerLLM_1.NamirasoftInferenceServerLLM(this);
|
|
33
|
+
this.chat = new NamirasoftInferenceServerChat_1.NamirasoftInferenceServerChat(this);
|
|
34
|
+
this.interaction = new NamirasoftInferenceServerInteraction_1.NamirasoftInferenceServerInteraction(this);
|
|
35
|
+
this.usage = new NamirasoftInferenceServerUsage_1.NamirasoftInferenceServerUsage(this);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
exports.NamirasoftInferenceServer = NamirasoftInferenceServer;
|
|
39
|
+
;
|
|
40
40
|
//# sourceMappingURL=NamirasoftInferenceServer.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
-
import { InferencerType } from "./enum/InferencerType";
|
|
3
|
-
import { NamirasoftInferenceServer } from "./NamirasoftInferenceServer";
|
|
4
|
-
import { NamirasoftInferenceServerBase } from "./NamirasoftInferenceServerBase";
|
|
5
|
-
import { UsageBucketType } from "./enum/UsageBucketType";
|
|
6
|
-
import { UsageDashboardResponseRow } from "./row/UsageDashboardResponseRow";
|
|
7
|
-
import { UsageSummaryResponseRow } from "./row/UsageSummaryResponseRow";
|
|
8
|
-
export declare class NamirasoftInferenceServerUsage extends NamirasoftInferenceServerBase {
|
|
9
|
-
constructor(server: NamirasoftInferenceServer);
|
|
10
|
-
Summary(model_id: (string | null), started_at: string, ended_at: string, config?: BaseServerConfig<any>): Promise<UsageSummaryResponseRow>;
|
|
11
|
-
Dashboard(inferencer_type: (InferencerType | null), inferencer_id: (string | null), winner_final: (boolean | null), started_at: string, ended_at: string, bucket: UsageBucketType, config?: BaseServerConfig<any>): Promise<UsageDashboardResponseRow>;
|
|
12
|
-
}
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { InferencerType } from "./enum/InferencerType";
|
|
3
|
+
import { NamirasoftInferenceServer } from "./NamirasoftInferenceServer";
|
|
4
|
+
import { NamirasoftInferenceServerBase } from "./NamirasoftInferenceServerBase";
|
|
5
|
+
import { UsageBucketType } from "./enum/UsageBucketType";
|
|
6
|
+
import { UsageDashboardResponseRow } from "./row/UsageDashboardResponseRow";
|
|
7
|
+
import { UsageSummaryResponseRow } from "./row/UsageSummaryResponseRow";
|
|
8
|
+
export declare class NamirasoftInferenceServerUsage extends NamirasoftInferenceServerBase {
|
|
9
|
+
constructor(server: NamirasoftInferenceServer);
|
|
10
|
+
Summary(model_id: (string | null), started_at: string, ended_at: string, config?: BaseServerConfig<any>): Promise<UsageSummaryResponseRow>;
|
|
11
|
+
Dashboard(inferencer_type: (InferencerType | null), inferencer_id: (string | null), winner_final: (boolean | null), started_at: string, ended_at: string, bucket: UsageBucketType, config?: BaseServerConfig<any>): Promise<UsageDashboardResponseRow>;
|
|
12
|
+
}
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.NamirasoftInferenceServerUsage = void 0;
|
|
13
|
-
const NamirasoftInferenceServerBase_1 = require("./NamirasoftInferenceServerBase");
|
|
14
|
-
class NamirasoftInferenceServerUsage extends NamirasoftInferenceServerBase_1.NamirasoftInferenceServerBase {
|
|
15
|
-
constructor(server) {
|
|
16
|
-
super(server);
|
|
17
|
-
this.Summary = this.Summary.bind(this);
|
|
18
|
-
this.Dashboard = this.Dashboard.bind(this);
|
|
19
|
-
}
|
|
20
|
-
Summary(model_id, started_at, ended_at, config) {
|
|
21
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
-
let path = `/usage/summary`;
|
|
23
|
-
let { data } = yield this.server._get(path, { model_id, started_at, ended_at }, config);
|
|
24
|
-
return data;
|
|
25
|
-
});
|
|
26
|
-
}
|
|
27
|
-
Dashboard(inferencer_type, inferencer_id, winner_final, started_at, ended_at, bucket, config) {
|
|
28
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
-
let path = `/usage/dashboard`;
|
|
30
|
-
let { data } = yield this.server._get(path, { inferencer_type, inferencer_id, winner_final, started_at, ended_at, bucket }, config);
|
|
31
|
-
return data;
|
|
32
|
-
});
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
exports.NamirasoftInferenceServerUsage = NamirasoftInferenceServerUsage;
|
|
36
|
-
;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftInferenceServerUsage = void 0;
|
|
13
|
+
const NamirasoftInferenceServerBase_1 = require("./NamirasoftInferenceServerBase");
|
|
14
|
+
class NamirasoftInferenceServerUsage extends NamirasoftInferenceServerBase_1.NamirasoftInferenceServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.Summary = this.Summary.bind(this);
|
|
18
|
+
this.Dashboard = this.Dashboard.bind(this);
|
|
19
|
+
}
|
|
20
|
+
Summary(model_id, started_at, ended_at, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/usage/summary`;
|
|
23
|
+
let { data } = yield this.server._get(path, { model_id, started_at, ended_at }, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
Dashboard(inferencer_type, inferencer_id, winner_final, started_at, ended_at, bucket, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/usage/dashboard`;
|
|
30
|
+
let { data } = yield this.server._get(path, { inferencer_type, inferencer_id, winner_final, started_at, ended_at, bucket }, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftInferenceServerUsage = NamirasoftInferenceServerUsage;
|
|
36
|
+
;
|
|
37
37
|
//# sourceMappingURL=NamirasoftInferenceServerUsage.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UsageCommand = void 0;
|
|
4
|
-
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
5
|
-
const UsageDashboardCommand_1 = require("./UsageDashboardCommand");
|
|
6
|
-
const UsageSummaryCommand_1 = require("./UsageSummaryCommand");
|
|
7
|
-
class UsageCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
8
|
-
constructor(argv) {
|
|
9
|
-
super(argv, {
|
|
10
|
-
"summary": UsageSummaryCommand_1.UsageSummaryCommand,
|
|
11
|
-
"dashboard": UsageDashboardCommand_1.UsageDashboardCommand,
|
|
12
|
-
});
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
exports.UsageCommand = UsageCommand;
|
|
16
|
-
;
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UsageCommand = void 0;
|
|
4
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
5
|
+
const UsageDashboardCommand_1 = require("./UsageDashboardCommand");
|
|
6
|
+
const UsageSummaryCommand_1 = require("./UsageSummaryCommand");
|
|
7
|
+
class UsageCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
|
|
8
|
+
constructor(argv) {
|
|
9
|
+
super(argv, {
|
|
10
|
+
"summary": UsageSummaryCommand_1.UsageSummaryCommand,
|
|
11
|
+
"dashboard": UsageDashboardCommand_1.UsageDashboardCommand,
|
|
12
|
+
});
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
exports.UsageCommand = UsageCommand;
|
|
16
|
+
;
|
|
17
17
|
//# sourceMappingURL=UsageCommand.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
2
|
-
export declare class UsageDashboardCommand extends BaseFinalCommand {
|
|
3
|
-
constructor(argv: string[]);
|
|
4
|
-
exec(): Promise<void>;
|
|
5
|
-
}
|
|
1
|
+
import { BaseFinalCommand } from "namirasoft-node-cli";
|
|
2
|
+
export declare class UsageDashboardCommand extends BaseFinalCommand {
|
|
3
|
+
constructor(argv: string[]);
|
|
4
|
+
exec(): Promise<void>;
|
|
5
|
+
}
|
|
@@ -1,38 +1,38 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
-
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
-
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
-
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
-
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
-
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
-
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.UsageDashboardCommand = void 0;
|
|
13
|
-
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
-
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
-
const NamirasoftInferenceServer_1 = require("../NamirasoftInferenceServer");
|
|
16
|
-
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
-
class UsageDashboardCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
-
constructor(argv) {
|
|
19
|
-
super(argv, ["inferencer_type", "inferencer_id", "winner_final", "started_at", "ended_at", "bucket"], []);
|
|
20
|
-
}
|
|
21
|
-
exec() {
|
|
22
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
-
let token = this.app.storage.getNSAToken();
|
|
24
|
-
if (token == null)
|
|
25
|
-
throw new Error("Token is not available. Please login first using:\nns-inference ns-account config \nor \nns-inference ns-account login.");
|
|
26
|
-
let storage = new namirasoft_core_1.IStorageMemoryDedicated();
|
|
27
|
-
let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
-
token_manager.setValue(token, false);
|
|
29
|
-
let url = this.app.storage.getItem("ns-inference-server-url");
|
|
30
|
-
let server = new NamirasoftInferenceServer_1.NamirasoftInferenceServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
31
|
-
let ans = yield server.usage.Dashboard(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3], this.arg_values[4], this.arg_values[5]);
|
|
32
|
-
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
-
});
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
exports.UsageDashboardCommand = UsageDashboardCommand;
|
|
37
|
-
;
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UsageDashboardCommand = void 0;
|
|
13
|
+
const namirasoft_node_cli_1 = require("namirasoft-node-cli");
|
|
14
|
+
const namirasoft_core_1 = require("namirasoft-core");
|
|
15
|
+
const NamirasoftInferenceServer_1 = require("../NamirasoftInferenceServer");
|
|
16
|
+
const namirasoft_account_1 = require("namirasoft-account");
|
|
17
|
+
class UsageDashboardCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
18
|
+
constructor(argv) {
|
|
19
|
+
super(argv, ["inferencer_type", "inferencer_id", "winner_final", "started_at", "ended_at", "bucket"], []);
|
|
20
|
+
}
|
|
21
|
+
exec() {
|
|
22
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
23
|
+
let token = this.app.storage.getNSAToken();
|
|
24
|
+
if (token == null)
|
|
25
|
+
throw new Error("Token is not available. Please login first using:\nns-inference ns-account config \nor \nns-inference ns-account login.");
|
|
26
|
+
let storage = new namirasoft_core_1.IStorageMemoryDedicated();
|
|
27
|
+
let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
|
|
28
|
+
token_manager.setValue(token, false);
|
|
29
|
+
let url = this.app.storage.getItem("ns-inference-server-url");
|
|
30
|
+
let server = new NamirasoftInferenceServer_1.NamirasoftInferenceServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
31
|
+
let ans = yield server.usage.Dashboard(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3], this.arg_values[4], this.arg_values[5]);
|
|
32
|
+
this.app.logger.success(JSON.stringify(ans));
|
|
33
|
+
});
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UsageDashboardCommand = UsageDashboardCommand;
|
|
37
|
+
;
|
|
38
38
|
//# sourceMappingURL=UsageDashboardCommand.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export declare enum InferencerType {
|
|
2
|
-
MODEL = "MODEL",
|
|
3
|
-
LOAD_BALANCER = "LOAD_BALANCER",
|
|
4
|
-
FAILOVER = "FAILOVER",
|
|
5
|
-
RACE = "RACE"
|
|
6
|
-
}
|
|
1
|
+
export declare enum InferencerType {
|
|
2
|
+
MODEL = "MODEL",
|
|
3
|
+
LOAD_BALANCER = "LOAD_BALANCER",
|
|
4
|
+
FAILOVER = "FAILOVER",
|
|
5
|
+
RACE = "RACE"
|
|
6
|
+
}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.InferencerType = void 0;
|
|
4
|
-
var InferencerType;
|
|
5
|
-
(function (InferencerType) {
|
|
6
|
-
InferencerType["MODEL"] = "MODEL";
|
|
7
|
-
InferencerType["LOAD_BALANCER"] = "LOAD_BALANCER";
|
|
8
|
-
InferencerType["FAILOVER"] = "FAILOVER";
|
|
9
|
-
InferencerType["RACE"] = "RACE";
|
|
10
|
-
})(InferencerType || (exports.InferencerType = InferencerType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.InferencerType = void 0;
|
|
4
|
+
var InferencerType;
|
|
5
|
+
(function (InferencerType) {
|
|
6
|
+
InferencerType["MODEL"] = "MODEL";
|
|
7
|
+
InferencerType["LOAD_BALANCER"] = "LOAD_BALANCER";
|
|
8
|
+
InferencerType["FAILOVER"] = "FAILOVER";
|
|
9
|
+
InferencerType["RACE"] = "RACE";
|
|
10
|
+
})(InferencerType || (exports.InferencerType = InferencerType = {}));
|
|
11
11
|
//# sourceMappingURL=InferencerType.js.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare enum UsageBucketType {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
1
|
+
export declare enum UsageBucketType {
|
|
2
|
+
Hour = "Hour",
|
|
3
|
+
Day = "Day"
|
|
4
|
+
}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UsageBucketType = void 0;
|
|
4
|
-
var UsageBucketType;
|
|
5
|
-
(function (UsageBucketType) {
|
|
6
|
-
UsageBucketType["
|
|
7
|
-
UsageBucketType["
|
|
8
|
-
})(UsageBucketType || (exports.UsageBucketType = UsageBucketType = {}));
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UsageBucketType = void 0;
|
|
4
|
+
var UsageBucketType;
|
|
5
|
+
(function (UsageBucketType) {
|
|
6
|
+
UsageBucketType["Hour"] = "Hour";
|
|
7
|
+
UsageBucketType["Day"] = "Day";
|
|
8
|
+
})(UsageBucketType || (exports.UsageBucketType = UsageBucketType = {}));
|
|
9
9
|
//# sourceMappingURL=UsageBucketType.js.map
|
package/dist/index.d.ts
CHANGED
|
@@ -1,141 +1,141 @@
|
|
|
1
|
-
export * from "./NamirasoftInferenceServer";
|
|
2
|
-
export * from "./NamirasoftInferenceServerBase";
|
|
3
|
-
export * from "./NamirasoftInferenceServerChat";
|
|
4
|
-
export * from "./NamirasoftInferenceServerFailover";
|
|
5
|
-
export * from "./NamirasoftInferenceServerHealth";
|
|
6
|
-
export * from "./NamirasoftInferenceServerInteraction";
|
|
7
|
-
export * from "./NamirasoftInferenceServerLLM";
|
|
8
|
-
export * from "./NamirasoftInferenceServerLoadBalancer";
|
|
9
|
-
export * from "./NamirasoftInferenceServerMetrics";
|
|
10
|
-
export * from "./NamirasoftInferenceServerModel";
|
|
11
|
-
export * from "./NamirasoftInferenceServerModelCategory";
|
|
12
|
-
export * from "./NamirasoftInferenceServerModelField";
|
|
13
|
-
export * from "./NamirasoftInferenceServerModelTag";
|
|
14
|
-
export * from "./NamirasoftInferenceServerRace";
|
|
15
|
-
export * from "./NamirasoftInferenceServerUsage";
|
|
16
|
-
export * from "./NamirasoftInferenceServerValue";
|
|
17
|
-
export * from "./command/ChatCommand";
|
|
18
|
-
export * from "./command/ChatGetCommand";
|
|
19
|
-
export * from "./command/ChatListCommand";
|
|
20
|
-
export * from "./command/FailoverAskAsyncCommand";
|
|
21
|
-
export * from "./command/FailoverAskCommand";
|
|
22
|
-
export * from "./command/FailoverCommand";
|
|
23
|
-
export * from "./command/FailoverCreateCommand";
|
|
24
|
-
export * from "./command/FailoverDeleteCommand";
|
|
25
|
-
export * from "./command/FailoverGetCommand";
|
|
26
|
-
export * from "./command/FailoverListCommand";
|
|
27
|
-
export * from "./command/FailoverUpdateCommand";
|
|
28
|
-
export * from "./command/HealthCommand";
|
|
29
|
-
export * from "./command/HealthLivenessCommand";
|
|
30
|
-
export * from "./command/HealthReadinessCommand";
|
|
31
|
-
export * from "./command/InteractionCommand";
|
|
32
|
-
export * from "./command/InteractionGetCommand";
|
|
33
|
-
export * from "./command/InteractionListCommand";
|
|
34
|
-
export * from "./command/LLMCommand";
|
|
35
|
-
export * from "./command/LLMListCommand";
|
|
36
|
-
export * from "./command/LoadBalancerAskAsyncCommand";
|
|
37
|
-
export * from "./command/LoadBalancerAskCommand";
|
|
38
|
-
export * from "./command/LoadBalancerCommand";
|
|
39
|
-
export * from "./command/LoadBalancerCreateCommand";
|
|
40
|
-
export * from "./command/LoadBalancerDeleteCommand";
|
|
41
|
-
export * from "./command/LoadBalancerGetCommand";
|
|
42
|
-
export * from "./command/LoadBalancerListCommand";
|
|
43
|
-
export * from "./command/LoadBalancerUpdateCommand";
|
|
44
|
-
export * from "./command/MetricsCommand";
|
|
45
|
-
export * from "./command/MetricsGetCommand";
|
|
46
|
-
export * from "./command/ModelAskAsyncCommand";
|
|
47
|
-
export * from "./command/ModelAskCommand";
|
|
48
|
-
export * from "./command/ModelCategoryCommand";
|
|
49
|
-
export * from "./command/ModelCategoryCreateCommand";
|
|
50
|
-
export * from "./command/ModelCategoryDeleteCommand";
|
|
51
|
-
export * from "./command/ModelCategoryGetCommand";
|
|
52
|
-
export * from "./command/ModelCategoryListCommand";
|
|
53
|
-
export * from "./command/ModelCommand";
|
|
54
|
-
export * from "./command/ModelCreateCommand";
|
|
55
|
-
export * from "./command/ModelDeleteCommand";
|
|
56
|
-
export * from "./command/ModelFieldCommand";
|
|
57
|
-
export * from "./command/ModelFieldCreateCommand";
|
|
58
|
-
export * from "./command/ModelFieldDeleteCommand";
|
|
59
|
-
export * from "./command/ModelFieldGetCommand";
|
|
60
|
-
export * from "./command/ModelFieldListCommand";
|
|
61
|
-
export * from "./command/ModelFieldUpdateCommand";
|
|
62
|
-
export * from "./command/ModelGetCommand";
|
|
63
|
-
export * from "./command/ModelListCommand";
|
|
64
|
-
export * from "./command/ModelTagCommand";
|
|
65
|
-
export * from "./command/ModelTagCreateCommand";
|
|
66
|
-
export * from "./command/ModelTagDeleteCommand";
|
|
67
|
-
export * from "./command/ModelTagGetCommand";
|
|
68
|
-
export * from "./command/ModelTagListCommand";
|
|
69
|
-
export * from "./command/ModelTagUpdateCommand";
|
|
70
|
-
export * from "./command/ModelUpdateCommand";
|
|
71
|
-
export * from "./command/RaceAskAsyncCommand";
|
|
72
|
-
export * from "./command/RaceAskCommand";
|
|
73
|
-
export * from "./command/RaceCommand";
|
|
74
|
-
export * from "./command/RaceCreateCommand";
|
|
75
|
-
export * from "./command/RaceDeleteCommand";
|
|
76
|
-
export * from "./command/RaceGetCommand";
|
|
77
|
-
export * from "./command/RaceListCommand";
|
|
78
|
-
export * from "./command/RaceUpdateCommand";
|
|
79
|
-
export * from "./command/UsageCommand";
|
|
80
|
-
export * from "./command/UsageDashboardCommand";
|
|
81
|
-
export * from "./command/UsageSummaryCommand";
|
|
82
|
-
export * from "./command/ValueCommand";
|
|
83
|
-
export * from "./command/ValueListCommand";
|
|
84
|
-
export * from "./enum/ChatInferencerType";
|
|
85
|
-
export * from "./enum/FailoverTargetInferencerType";
|
|
86
|
-
export * from "./enum/InferencerType";
|
|
87
|
-
export * from "./enum/InteractionInferencerType";
|
|
88
|
-
export * from "./enum/InteractionModelName";
|
|
89
|
-
export * from "./enum/InteractionModelProvider";
|
|
90
|
-
export * from "./enum/InteractionStatus";
|
|
91
|
-
export * from "./enum/LoadBalancerAlgorithm";
|
|
92
|
-
export * from "./enum/LoadBalancerTargetInferencerType";
|
|
93
|
-
export * from "./enum/ModelCompanyType";
|
|
94
|
-
export * from "./enum/ModelModelCompany";
|
|
95
|
-
export * from "./enum/ModelModelName";
|
|
96
|
-
export * from "./enum/RaceTargetInferencerType";
|
|
97
|
-
export * from "./enum/UsageBucketType";
|
|
98
|
-
export * from "./meta/ChatMetaTable";
|
|
99
|
-
export * from "./meta/FailoverMetaTable";
|
|
100
|
-
export * from "./meta/FailoverTargetMetaTable";
|
|
101
|
-
export * from "./meta/InteractionMetaTable";
|
|
102
|
-
export * from "./meta/LoadBalancerMetaTable";
|
|
103
|
-
export * from "./meta/LoadBalancerTargetMetaTable";
|
|
104
|
-
export * from "./meta/ModelCategoryMetaTable";
|
|
105
|
-
export * from "./meta/ModelFieldMetaTable";
|
|
106
|
-
export * from "./meta/ModelMetaTable";
|
|
107
|
-
export * from "./meta/ModelTagMetaTable";
|
|
108
|
-
export * from "./meta/NamirasoftInferenceMetaDatabase";
|
|
109
|
-
export * from "./meta/RaceMetaTable";
|
|
110
|
-
export * from "./meta/RaceTargetMetaTable";
|
|
111
|
-
export * from "./row/AskAsyncResponseRow";
|
|
112
|
-
export * from "./row/ChatRow";
|
|
113
|
-
export * from "./row/EntityCategoryInputRow";
|
|
114
|
-
export * from "./row/EntityFieldInputRow";
|
|
115
|
-
export * from "./row/EntityTagInputRow";
|
|
116
|
-
export * from "./row/FailoverFullRow";
|
|
117
|
-
export * from "./row/FailoverInputRow";
|
|
118
|
-
export * from "./row/FailoverRow";
|
|
119
|
-
export * from "./row/FailoverTargetInputRow";
|
|
120
|
-
export * from "./row/FailoverTargetRow";
|
|
121
|
-
export * from "./row/InteractionRow";
|
|
122
|
-
export * from "./row/LLMItemRow";
|
|
123
|
-
export * from "./row/LLMListResponseRow";
|
|
124
|
-
export * from "./row/LoadBalancerFullRow";
|
|
125
|
-
export * from "./row/LoadBalancerInputRow";
|
|
126
|
-
export * from "./row/LoadBalancerRow";
|
|
127
|
-
export * from "./row/LoadBalancerTargetInputRow";
|
|
128
|
-
export * from "./row/LoadBalancerTargetRow";
|
|
129
|
-
export * from "./row/ModelCategoryRow";
|
|
130
|
-
export * from "./row/ModelFieldRow";
|
|
131
|
-
export * from "./row/ModelInputRow";
|
|
132
|
-
export * from "./row/ModelRow";
|
|
133
|
-
export * from "./row/ModelTagRow";
|
|
134
|
-
export * from "./row/RaceFullRow";
|
|
135
|
-
export * from "./row/RaceInputRow";
|
|
136
|
-
export * from "./row/RaceRow";
|
|
137
|
-
export * from "./row/RaceTargetInputRow";
|
|
138
|
-
export * from "./row/RaceTargetRow";
|
|
139
|
-
export * from "./row/UsageDashboardBucketRow";
|
|
140
|
-
export * from "./row/UsageDashboardResponseRow";
|
|
141
|
-
export * from "./row/UsageSummaryResponseRow";
|
|
1
|
+
export * from "./NamirasoftInferenceServer";
|
|
2
|
+
export * from "./NamirasoftInferenceServerBase";
|
|
3
|
+
export * from "./NamirasoftInferenceServerChat";
|
|
4
|
+
export * from "./NamirasoftInferenceServerFailover";
|
|
5
|
+
export * from "./NamirasoftInferenceServerHealth";
|
|
6
|
+
export * from "./NamirasoftInferenceServerInteraction";
|
|
7
|
+
export * from "./NamirasoftInferenceServerLLM";
|
|
8
|
+
export * from "./NamirasoftInferenceServerLoadBalancer";
|
|
9
|
+
export * from "./NamirasoftInferenceServerMetrics";
|
|
10
|
+
export * from "./NamirasoftInferenceServerModel";
|
|
11
|
+
export * from "./NamirasoftInferenceServerModelCategory";
|
|
12
|
+
export * from "./NamirasoftInferenceServerModelField";
|
|
13
|
+
export * from "./NamirasoftInferenceServerModelTag";
|
|
14
|
+
export * from "./NamirasoftInferenceServerRace";
|
|
15
|
+
export * from "./NamirasoftInferenceServerUsage";
|
|
16
|
+
export * from "./NamirasoftInferenceServerValue";
|
|
17
|
+
export * from "./command/ChatCommand";
|
|
18
|
+
export * from "./command/ChatGetCommand";
|
|
19
|
+
export * from "./command/ChatListCommand";
|
|
20
|
+
export * from "./command/FailoverAskAsyncCommand";
|
|
21
|
+
export * from "./command/FailoverAskCommand";
|
|
22
|
+
export * from "./command/FailoverCommand";
|
|
23
|
+
export * from "./command/FailoverCreateCommand";
|
|
24
|
+
export * from "./command/FailoverDeleteCommand";
|
|
25
|
+
export * from "./command/FailoverGetCommand";
|
|
26
|
+
export * from "./command/FailoverListCommand";
|
|
27
|
+
export * from "./command/FailoverUpdateCommand";
|
|
28
|
+
export * from "./command/HealthCommand";
|
|
29
|
+
export * from "./command/HealthLivenessCommand";
|
|
30
|
+
export * from "./command/HealthReadinessCommand";
|
|
31
|
+
export * from "./command/InteractionCommand";
|
|
32
|
+
export * from "./command/InteractionGetCommand";
|
|
33
|
+
export * from "./command/InteractionListCommand";
|
|
34
|
+
export * from "./command/LLMCommand";
|
|
35
|
+
export * from "./command/LLMListCommand";
|
|
36
|
+
export * from "./command/LoadBalancerAskAsyncCommand";
|
|
37
|
+
export * from "./command/LoadBalancerAskCommand";
|
|
38
|
+
export * from "./command/LoadBalancerCommand";
|
|
39
|
+
export * from "./command/LoadBalancerCreateCommand";
|
|
40
|
+
export * from "./command/LoadBalancerDeleteCommand";
|
|
41
|
+
export * from "./command/LoadBalancerGetCommand";
|
|
42
|
+
export * from "./command/LoadBalancerListCommand";
|
|
43
|
+
export * from "./command/LoadBalancerUpdateCommand";
|
|
44
|
+
export * from "./command/MetricsCommand";
|
|
45
|
+
export * from "./command/MetricsGetCommand";
|
|
46
|
+
export * from "./command/ModelAskAsyncCommand";
|
|
47
|
+
export * from "./command/ModelAskCommand";
|
|
48
|
+
export * from "./command/ModelCategoryCommand";
|
|
49
|
+
export * from "./command/ModelCategoryCreateCommand";
|
|
50
|
+
export * from "./command/ModelCategoryDeleteCommand";
|
|
51
|
+
export * from "./command/ModelCategoryGetCommand";
|
|
52
|
+
export * from "./command/ModelCategoryListCommand";
|
|
53
|
+
export * from "./command/ModelCommand";
|
|
54
|
+
export * from "./command/ModelCreateCommand";
|
|
55
|
+
export * from "./command/ModelDeleteCommand";
|
|
56
|
+
export * from "./command/ModelFieldCommand";
|
|
57
|
+
export * from "./command/ModelFieldCreateCommand";
|
|
58
|
+
export * from "./command/ModelFieldDeleteCommand";
|
|
59
|
+
export * from "./command/ModelFieldGetCommand";
|
|
60
|
+
export * from "./command/ModelFieldListCommand";
|
|
61
|
+
export * from "./command/ModelFieldUpdateCommand";
|
|
62
|
+
export * from "./command/ModelGetCommand";
|
|
63
|
+
export * from "./command/ModelListCommand";
|
|
64
|
+
export * from "./command/ModelTagCommand";
|
|
65
|
+
export * from "./command/ModelTagCreateCommand";
|
|
66
|
+
export * from "./command/ModelTagDeleteCommand";
|
|
67
|
+
export * from "./command/ModelTagGetCommand";
|
|
68
|
+
export * from "./command/ModelTagListCommand";
|
|
69
|
+
export * from "./command/ModelTagUpdateCommand";
|
|
70
|
+
export * from "./command/ModelUpdateCommand";
|
|
71
|
+
export * from "./command/RaceAskAsyncCommand";
|
|
72
|
+
export * from "./command/RaceAskCommand";
|
|
73
|
+
export * from "./command/RaceCommand";
|
|
74
|
+
export * from "./command/RaceCreateCommand";
|
|
75
|
+
export * from "./command/RaceDeleteCommand";
|
|
76
|
+
export * from "./command/RaceGetCommand";
|
|
77
|
+
export * from "./command/RaceListCommand";
|
|
78
|
+
export * from "./command/RaceUpdateCommand";
|
|
79
|
+
export * from "./command/UsageCommand";
|
|
80
|
+
export * from "./command/UsageDashboardCommand";
|
|
81
|
+
export * from "./command/UsageSummaryCommand";
|
|
82
|
+
export * from "./command/ValueCommand";
|
|
83
|
+
export * from "./command/ValueListCommand";
|
|
84
|
+
export * from "./enum/ChatInferencerType";
|
|
85
|
+
export * from "./enum/FailoverTargetInferencerType";
|
|
86
|
+
export * from "./enum/InferencerType";
|
|
87
|
+
export * from "./enum/InteractionInferencerType";
|
|
88
|
+
export * from "./enum/InteractionModelName";
|
|
89
|
+
export * from "./enum/InteractionModelProvider";
|
|
90
|
+
export * from "./enum/InteractionStatus";
|
|
91
|
+
export * from "./enum/LoadBalancerAlgorithm";
|
|
92
|
+
export * from "./enum/LoadBalancerTargetInferencerType";
|
|
93
|
+
export * from "./enum/ModelCompanyType";
|
|
94
|
+
export * from "./enum/ModelModelCompany";
|
|
95
|
+
export * from "./enum/ModelModelName";
|
|
96
|
+
export * from "./enum/RaceTargetInferencerType";
|
|
97
|
+
export * from "./enum/UsageBucketType";
|
|
98
|
+
export * from "./meta/ChatMetaTable";
|
|
99
|
+
export * from "./meta/FailoverMetaTable";
|
|
100
|
+
export * from "./meta/FailoverTargetMetaTable";
|
|
101
|
+
export * from "./meta/InteractionMetaTable";
|
|
102
|
+
export * from "./meta/LoadBalancerMetaTable";
|
|
103
|
+
export * from "./meta/LoadBalancerTargetMetaTable";
|
|
104
|
+
export * from "./meta/ModelCategoryMetaTable";
|
|
105
|
+
export * from "./meta/ModelFieldMetaTable";
|
|
106
|
+
export * from "./meta/ModelMetaTable";
|
|
107
|
+
export * from "./meta/ModelTagMetaTable";
|
|
108
|
+
export * from "./meta/NamirasoftInferenceMetaDatabase";
|
|
109
|
+
export * from "./meta/RaceMetaTable";
|
|
110
|
+
export * from "./meta/RaceTargetMetaTable";
|
|
111
|
+
export * from "./row/AskAsyncResponseRow";
|
|
112
|
+
export * from "./row/ChatRow";
|
|
113
|
+
export * from "./row/EntityCategoryInputRow";
|
|
114
|
+
export * from "./row/EntityFieldInputRow";
|
|
115
|
+
export * from "./row/EntityTagInputRow";
|
|
116
|
+
export * from "./row/FailoverFullRow";
|
|
117
|
+
export * from "./row/FailoverInputRow";
|
|
118
|
+
export * from "./row/FailoverRow";
|
|
119
|
+
export * from "./row/FailoverTargetInputRow";
|
|
120
|
+
export * from "./row/FailoverTargetRow";
|
|
121
|
+
export * from "./row/InteractionRow";
|
|
122
|
+
export * from "./row/LLMItemRow";
|
|
123
|
+
export * from "./row/LLMListResponseRow";
|
|
124
|
+
export * from "./row/LoadBalancerFullRow";
|
|
125
|
+
export * from "./row/LoadBalancerInputRow";
|
|
126
|
+
export * from "./row/LoadBalancerRow";
|
|
127
|
+
export * from "./row/LoadBalancerTargetInputRow";
|
|
128
|
+
export * from "./row/LoadBalancerTargetRow";
|
|
129
|
+
export * from "./row/ModelCategoryRow";
|
|
130
|
+
export * from "./row/ModelFieldRow";
|
|
131
|
+
export * from "./row/ModelInputRow";
|
|
132
|
+
export * from "./row/ModelRow";
|
|
133
|
+
export * from "./row/ModelTagRow";
|
|
134
|
+
export * from "./row/RaceFullRow";
|
|
135
|
+
export * from "./row/RaceInputRow";
|
|
136
|
+
export * from "./row/RaceRow";
|
|
137
|
+
export * from "./row/RaceTargetInputRow";
|
|
138
|
+
export * from "./row/RaceTargetRow";
|
|
139
|
+
export * from "./row/UsageDashboardBucketRow";
|
|
140
|
+
export * from "./row/UsageDashboardResponseRow";
|
|
141
|
+
export * from "./row/UsageSummaryResponseRow";
|
package/dist/index.js
CHANGED
|
@@ -1,158 +1,158 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
-
if (k2 === undefined) k2 = k;
|
|
4
|
-
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
-
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
-
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
-
}
|
|
8
|
-
Object.defineProperty(o, k2, desc);
|
|
9
|
-
}) : (function(o, m, k, k2) {
|
|
10
|
-
if (k2 === undefined) k2 = k;
|
|
11
|
-
o[k2] = m[k];
|
|
12
|
-
}));
|
|
13
|
-
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
-
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
-
};
|
|
16
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./NamirasoftInferenceServer"), exports);
|
|
18
|
-
__exportStar(require("./NamirasoftInferenceServerBase"), exports);
|
|
19
|
-
__exportStar(require("./NamirasoftInferenceServerChat"), exports);
|
|
20
|
-
__exportStar(require("./NamirasoftInferenceServerFailover"), exports);
|
|
21
|
-
__exportStar(require("./NamirasoftInferenceServerHealth"), exports);
|
|
22
|
-
__exportStar(require("./NamirasoftInferenceServerInteraction"), exports);
|
|
23
|
-
__exportStar(require("./NamirasoftInferenceServerLLM"), exports);
|
|
24
|
-
__exportStar(require("./NamirasoftInferenceServerLoadBalancer"), exports);
|
|
25
|
-
__exportStar(require("./NamirasoftInferenceServerMetrics"), exports);
|
|
26
|
-
__exportStar(require("./NamirasoftInferenceServerModel"), exports);
|
|
27
|
-
__exportStar(require("./NamirasoftInferenceServerModelCategory"), exports);
|
|
28
|
-
__exportStar(require("./NamirasoftInferenceServerModelField"), exports);
|
|
29
|
-
__exportStar(require("./NamirasoftInferenceServerModelTag"), exports);
|
|
30
|
-
__exportStar(require("./NamirasoftInferenceServerRace"), exports);
|
|
31
|
-
__exportStar(require("./NamirasoftInferenceServerUsage"), exports);
|
|
32
|
-
__exportStar(require("./NamirasoftInferenceServerValue"), exports);
|
|
33
|
-
__exportStar(require("./command/ChatCommand"), exports);
|
|
34
|
-
__exportStar(require("./command/ChatGetCommand"), exports);
|
|
35
|
-
__exportStar(require("./command/ChatListCommand"), exports);
|
|
36
|
-
__exportStar(require("./command/FailoverAskAsyncCommand"), exports);
|
|
37
|
-
__exportStar(require("./command/FailoverAskCommand"), exports);
|
|
38
|
-
__exportStar(require("./command/FailoverCommand"), exports);
|
|
39
|
-
__exportStar(require("./command/FailoverCreateCommand"), exports);
|
|
40
|
-
__exportStar(require("./command/FailoverDeleteCommand"), exports);
|
|
41
|
-
__exportStar(require("./command/FailoverGetCommand"), exports);
|
|
42
|
-
__exportStar(require("./command/FailoverListCommand"), exports);
|
|
43
|
-
__exportStar(require("./command/FailoverUpdateCommand"), exports);
|
|
44
|
-
__exportStar(require("./command/HealthCommand"), exports);
|
|
45
|
-
__exportStar(require("./command/HealthLivenessCommand"), exports);
|
|
46
|
-
__exportStar(require("./command/HealthReadinessCommand"), exports);
|
|
47
|
-
__exportStar(require("./command/InteractionCommand"), exports);
|
|
48
|
-
__exportStar(require("./command/InteractionGetCommand"), exports);
|
|
49
|
-
__exportStar(require("./command/InteractionListCommand"), exports);
|
|
50
|
-
__exportStar(require("./command/LLMCommand"), exports);
|
|
51
|
-
__exportStar(require("./command/LLMListCommand"), exports);
|
|
52
|
-
__exportStar(require("./command/LoadBalancerAskAsyncCommand"), exports);
|
|
53
|
-
__exportStar(require("./command/LoadBalancerAskCommand"), exports);
|
|
54
|
-
__exportStar(require("./command/LoadBalancerCommand"), exports);
|
|
55
|
-
__exportStar(require("./command/LoadBalancerCreateCommand"), exports);
|
|
56
|
-
__exportStar(require("./command/LoadBalancerDeleteCommand"), exports);
|
|
57
|
-
__exportStar(require("./command/LoadBalancerGetCommand"), exports);
|
|
58
|
-
__exportStar(require("./command/LoadBalancerListCommand"), exports);
|
|
59
|
-
__exportStar(require("./command/LoadBalancerUpdateCommand"), exports);
|
|
60
|
-
__exportStar(require("./command/MetricsCommand"), exports);
|
|
61
|
-
__exportStar(require("./command/MetricsGetCommand"), exports);
|
|
62
|
-
__exportStar(require("./command/ModelAskAsyncCommand"), exports);
|
|
63
|
-
__exportStar(require("./command/ModelAskCommand"), exports);
|
|
64
|
-
__exportStar(require("./command/ModelCategoryCommand"), exports);
|
|
65
|
-
__exportStar(require("./command/ModelCategoryCreateCommand"), exports);
|
|
66
|
-
__exportStar(require("./command/ModelCategoryDeleteCommand"), exports);
|
|
67
|
-
__exportStar(require("./command/ModelCategoryGetCommand"), exports);
|
|
68
|
-
__exportStar(require("./command/ModelCategoryListCommand"), exports);
|
|
69
|
-
__exportStar(require("./command/ModelCommand"), exports);
|
|
70
|
-
__exportStar(require("./command/ModelCreateCommand"), exports);
|
|
71
|
-
__exportStar(require("./command/ModelDeleteCommand"), exports);
|
|
72
|
-
__exportStar(require("./command/ModelFieldCommand"), exports);
|
|
73
|
-
__exportStar(require("./command/ModelFieldCreateCommand"), exports);
|
|
74
|
-
__exportStar(require("./command/ModelFieldDeleteCommand"), exports);
|
|
75
|
-
__exportStar(require("./command/ModelFieldGetCommand"), exports);
|
|
76
|
-
__exportStar(require("./command/ModelFieldListCommand"), exports);
|
|
77
|
-
__exportStar(require("./command/ModelFieldUpdateCommand"), exports);
|
|
78
|
-
__exportStar(require("./command/ModelGetCommand"), exports);
|
|
79
|
-
__exportStar(require("./command/ModelListCommand"), exports);
|
|
80
|
-
__exportStar(require("./command/ModelTagCommand"), exports);
|
|
81
|
-
__exportStar(require("./command/ModelTagCreateCommand"), exports);
|
|
82
|
-
__exportStar(require("./command/ModelTagDeleteCommand"), exports);
|
|
83
|
-
__exportStar(require("./command/ModelTagGetCommand"), exports);
|
|
84
|
-
__exportStar(require("./command/ModelTagListCommand"), exports);
|
|
85
|
-
__exportStar(require("./command/ModelTagUpdateCommand"), exports);
|
|
86
|
-
__exportStar(require("./command/ModelUpdateCommand"), exports);
|
|
87
|
-
__exportStar(require("./command/RaceAskAsyncCommand"), exports);
|
|
88
|
-
__exportStar(require("./command/RaceAskCommand"), exports);
|
|
89
|
-
__exportStar(require("./command/RaceCommand"), exports);
|
|
90
|
-
__exportStar(require("./command/RaceCreateCommand"), exports);
|
|
91
|
-
__exportStar(require("./command/RaceDeleteCommand"), exports);
|
|
92
|
-
__exportStar(require("./command/RaceGetCommand"), exports);
|
|
93
|
-
__exportStar(require("./command/RaceListCommand"), exports);
|
|
94
|
-
__exportStar(require("./command/RaceUpdateCommand"), exports);
|
|
95
|
-
__exportStar(require("./command/UsageCommand"), exports);
|
|
96
|
-
__exportStar(require("./command/UsageDashboardCommand"), exports);
|
|
97
|
-
__exportStar(require("./command/UsageSummaryCommand"), exports);
|
|
98
|
-
__exportStar(require("./command/ValueCommand"), exports);
|
|
99
|
-
__exportStar(require("./command/ValueListCommand"), exports);
|
|
100
|
-
__exportStar(require("./enum/ChatInferencerType"), exports);
|
|
101
|
-
__exportStar(require("./enum/FailoverTargetInferencerType"), exports);
|
|
102
|
-
__exportStar(require("./enum/InferencerType"), exports);
|
|
103
|
-
__exportStar(require("./enum/InteractionInferencerType"), exports);
|
|
104
|
-
__exportStar(require("./enum/InteractionModelName"), exports);
|
|
105
|
-
__exportStar(require("./enum/InteractionModelProvider"), exports);
|
|
106
|
-
__exportStar(require("./enum/InteractionStatus"), exports);
|
|
107
|
-
__exportStar(require("./enum/LoadBalancerAlgorithm"), exports);
|
|
108
|
-
__exportStar(require("./enum/LoadBalancerTargetInferencerType"), exports);
|
|
109
|
-
__exportStar(require("./enum/ModelCompanyType"), exports);
|
|
110
|
-
__exportStar(require("./enum/ModelModelCompany"), exports);
|
|
111
|
-
__exportStar(require("./enum/ModelModelName"), exports);
|
|
112
|
-
__exportStar(require("./enum/RaceTargetInferencerType"), exports);
|
|
113
|
-
__exportStar(require("./enum/UsageBucketType"), exports);
|
|
114
|
-
__exportStar(require("./meta/ChatMetaTable"), exports);
|
|
115
|
-
__exportStar(require("./meta/FailoverMetaTable"), exports);
|
|
116
|
-
__exportStar(require("./meta/FailoverTargetMetaTable"), exports);
|
|
117
|
-
__exportStar(require("./meta/InteractionMetaTable"), exports);
|
|
118
|
-
__exportStar(require("./meta/LoadBalancerMetaTable"), exports);
|
|
119
|
-
__exportStar(require("./meta/LoadBalancerTargetMetaTable"), exports);
|
|
120
|
-
__exportStar(require("./meta/ModelCategoryMetaTable"), exports);
|
|
121
|
-
__exportStar(require("./meta/ModelFieldMetaTable"), exports);
|
|
122
|
-
__exportStar(require("./meta/ModelMetaTable"), exports);
|
|
123
|
-
__exportStar(require("./meta/ModelTagMetaTable"), exports);
|
|
124
|
-
__exportStar(require("./meta/NamirasoftInferenceMetaDatabase"), exports);
|
|
125
|
-
__exportStar(require("./meta/RaceMetaTable"), exports);
|
|
126
|
-
__exportStar(require("./meta/RaceTargetMetaTable"), exports);
|
|
127
|
-
__exportStar(require("./row/AskAsyncResponseRow"), exports);
|
|
128
|
-
__exportStar(require("./row/ChatRow"), exports);
|
|
129
|
-
__exportStar(require("./row/EntityCategoryInputRow"), exports);
|
|
130
|
-
__exportStar(require("./row/EntityFieldInputRow"), exports);
|
|
131
|
-
__exportStar(require("./row/EntityTagInputRow"), exports);
|
|
132
|
-
__exportStar(require("./row/FailoverFullRow"), exports);
|
|
133
|
-
__exportStar(require("./row/FailoverInputRow"), exports);
|
|
134
|
-
__exportStar(require("./row/FailoverRow"), exports);
|
|
135
|
-
__exportStar(require("./row/FailoverTargetInputRow"), exports);
|
|
136
|
-
__exportStar(require("./row/FailoverTargetRow"), exports);
|
|
137
|
-
__exportStar(require("./row/InteractionRow"), exports);
|
|
138
|
-
__exportStar(require("./row/LLMItemRow"), exports);
|
|
139
|
-
__exportStar(require("./row/LLMListResponseRow"), exports);
|
|
140
|
-
__exportStar(require("./row/LoadBalancerFullRow"), exports);
|
|
141
|
-
__exportStar(require("./row/LoadBalancerInputRow"), exports);
|
|
142
|
-
__exportStar(require("./row/LoadBalancerRow"), exports);
|
|
143
|
-
__exportStar(require("./row/LoadBalancerTargetInputRow"), exports);
|
|
144
|
-
__exportStar(require("./row/LoadBalancerTargetRow"), exports);
|
|
145
|
-
__exportStar(require("./row/ModelCategoryRow"), exports);
|
|
146
|
-
__exportStar(require("./row/ModelFieldRow"), exports);
|
|
147
|
-
__exportStar(require("./row/ModelInputRow"), exports);
|
|
148
|
-
__exportStar(require("./row/ModelRow"), exports);
|
|
149
|
-
__exportStar(require("./row/ModelTagRow"), exports);
|
|
150
|
-
__exportStar(require("./row/RaceFullRow"), exports);
|
|
151
|
-
__exportStar(require("./row/RaceInputRow"), exports);
|
|
152
|
-
__exportStar(require("./row/RaceRow"), exports);
|
|
153
|
-
__exportStar(require("./row/RaceTargetInputRow"), exports);
|
|
154
|
-
__exportStar(require("./row/RaceTargetRow"), exports);
|
|
155
|
-
__exportStar(require("./row/UsageDashboardBucketRow"), exports);
|
|
156
|
-
__exportStar(require("./row/UsageDashboardResponseRow"), exports);
|
|
157
|
-
__exportStar(require("./row/UsageSummaryResponseRow"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./NamirasoftInferenceServer"), exports);
|
|
18
|
+
__exportStar(require("./NamirasoftInferenceServerBase"), exports);
|
|
19
|
+
__exportStar(require("./NamirasoftInferenceServerChat"), exports);
|
|
20
|
+
__exportStar(require("./NamirasoftInferenceServerFailover"), exports);
|
|
21
|
+
__exportStar(require("./NamirasoftInferenceServerHealth"), exports);
|
|
22
|
+
__exportStar(require("./NamirasoftInferenceServerInteraction"), exports);
|
|
23
|
+
__exportStar(require("./NamirasoftInferenceServerLLM"), exports);
|
|
24
|
+
__exportStar(require("./NamirasoftInferenceServerLoadBalancer"), exports);
|
|
25
|
+
__exportStar(require("./NamirasoftInferenceServerMetrics"), exports);
|
|
26
|
+
__exportStar(require("./NamirasoftInferenceServerModel"), exports);
|
|
27
|
+
__exportStar(require("./NamirasoftInferenceServerModelCategory"), exports);
|
|
28
|
+
__exportStar(require("./NamirasoftInferenceServerModelField"), exports);
|
|
29
|
+
__exportStar(require("./NamirasoftInferenceServerModelTag"), exports);
|
|
30
|
+
__exportStar(require("./NamirasoftInferenceServerRace"), exports);
|
|
31
|
+
__exportStar(require("./NamirasoftInferenceServerUsage"), exports);
|
|
32
|
+
__exportStar(require("./NamirasoftInferenceServerValue"), exports);
|
|
33
|
+
__exportStar(require("./command/ChatCommand"), exports);
|
|
34
|
+
__exportStar(require("./command/ChatGetCommand"), exports);
|
|
35
|
+
__exportStar(require("./command/ChatListCommand"), exports);
|
|
36
|
+
__exportStar(require("./command/FailoverAskAsyncCommand"), exports);
|
|
37
|
+
__exportStar(require("./command/FailoverAskCommand"), exports);
|
|
38
|
+
__exportStar(require("./command/FailoverCommand"), exports);
|
|
39
|
+
__exportStar(require("./command/FailoverCreateCommand"), exports);
|
|
40
|
+
__exportStar(require("./command/FailoverDeleteCommand"), exports);
|
|
41
|
+
__exportStar(require("./command/FailoverGetCommand"), exports);
|
|
42
|
+
__exportStar(require("./command/FailoverListCommand"), exports);
|
|
43
|
+
__exportStar(require("./command/FailoverUpdateCommand"), exports);
|
|
44
|
+
__exportStar(require("./command/HealthCommand"), exports);
|
|
45
|
+
__exportStar(require("./command/HealthLivenessCommand"), exports);
|
|
46
|
+
__exportStar(require("./command/HealthReadinessCommand"), exports);
|
|
47
|
+
__exportStar(require("./command/InteractionCommand"), exports);
|
|
48
|
+
__exportStar(require("./command/InteractionGetCommand"), exports);
|
|
49
|
+
__exportStar(require("./command/InteractionListCommand"), exports);
|
|
50
|
+
__exportStar(require("./command/LLMCommand"), exports);
|
|
51
|
+
__exportStar(require("./command/LLMListCommand"), exports);
|
|
52
|
+
__exportStar(require("./command/LoadBalancerAskAsyncCommand"), exports);
|
|
53
|
+
__exportStar(require("./command/LoadBalancerAskCommand"), exports);
|
|
54
|
+
__exportStar(require("./command/LoadBalancerCommand"), exports);
|
|
55
|
+
__exportStar(require("./command/LoadBalancerCreateCommand"), exports);
|
|
56
|
+
__exportStar(require("./command/LoadBalancerDeleteCommand"), exports);
|
|
57
|
+
__exportStar(require("./command/LoadBalancerGetCommand"), exports);
|
|
58
|
+
__exportStar(require("./command/LoadBalancerListCommand"), exports);
|
|
59
|
+
__exportStar(require("./command/LoadBalancerUpdateCommand"), exports);
|
|
60
|
+
__exportStar(require("./command/MetricsCommand"), exports);
|
|
61
|
+
__exportStar(require("./command/MetricsGetCommand"), exports);
|
|
62
|
+
__exportStar(require("./command/ModelAskAsyncCommand"), exports);
|
|
63
|
+
__exportStar(require("./command/ModelAskCommand"), exports);
|
|
64
|
+
__exportStar(require("./command/ModelCategoryCommand"), exports);
|
|
65
|
+
__exportStar(require("./command/ModelCategoryCreateCommand"), exports);
|
|
66
|
+
__exportStar(require("./command/ModelCategoryDeleteCommand"), exports);
|
|
67
|
+
__exportStar(require("./command/ModelCategoryGetCommand"), exports);
|
|
68
|
+
__exportStar(require("./command/ModelCategoryListCommand"), exports);
|
|
69
|
+
__exportStar(require("./command/ModelCommand"), exports);
|
|
70
|
+
__exportStar(require("./command/ModelCreateCommand"), exports);
|
|
71
|
+
__exportStar(require("./command/ModelDeleteCommand"), exports);
|
|
72
|
+
__exportStar(require("./command/ModelFieldCommand"), exports);
|
|
73
|
+
__exportStar(require("./command/ModelFieldCreateCommand"), exports);
|
|
74
|
+
__exportStar(require("./command/ModelFieldDeleteCommand"), exports);
|
|
75
|
+
__exportStar(require("./command/ModelFieldGetCommand"), exports);
|
|
76
|
+
__exportStar(require("./command/ModelFieldListCommand"), exports);
|
|
77
|
+
__exportStar(require("./command/ModelFieldUpdateCommand"), exports);
|
|
78
|
+
__exportStar(require("./command/ModelGetCommand"), exports);
|
|
79
|
+
__exportStar(require("./command/ModelListCommand"), exports);
|
|
80
|
+
__exportStar(require("./command/ModelTagCommand"), exports);
|
|
81
|
+
__exportStar(require("./command/ModelTagCreateCommand"), exports);
|
|
82
|
+
__exportStar(require("./command/ModelTagDeleteCommand"), exports);
|
|
83
|
+
__exportStar(require("./command/ModelTagGetCommand"), exports);
|
|
84
|
+
__exportStar(require("./command/ModelTagListCommand"), exports);
|
|
85
|
+
__exportStar(require("./command/ModelTagUpdateCommand"), exports);
|
|
86
|
+
__exportStar(require("./command/ModelUpdateCommand"), exports);
|
|
87
|
+
__exportStar(require("./command/RaceAskAsyncCommand"), exports);
|
|
88
|
+
__exportStar(require("./command/RaceAskCommand"), exports);
|
|
89
|
+
__exportStar(require("./command/RaceCommand"), exports);
|
|
90
|
+
__exportStar(require("./command/RaceCreateCommand"), exports);
|
|
91
|
+
__exportStar(require("./command/RaceDeleteCommand"), exports);
|
|
92
|
+
__exportStar(require("./command/RaceGetCommand"), exports);
|
|
93
|
+
__exportStar(require("./command/RaceListCommand"), exports);
|
|
94
|
+
__exportStar(require("./command/RaceUpdateCommand"), exports);
|
|
95
|
+
__exportStar(require("./command/UsageCommand"), exports);
|
|
96
|
+
__exportStar(require("./command/UsageDashboardCommand"), exports);
|
|
97
|
+
__exportStar(require("./command/UsageSummaryCommand"), exports);
|
|
98
|
+
__exportStar(require("./command/ValueCommand"), exports);
|
|
99
|
+
__exportStar(require("./command/ValueListCommand"), exports);
|
|
100
|
+
__exportStar(require("./enum/ChatInferencerType"), exports);
|
|
101
|
+
__exportStar(require("./enum/FailoverTargetInferencerType"), exports);
|
|
102
|
+
__exportStar(require("./enum/InferencerType"), exports);
|
|
103
|
+
__exportStar(require("./enum/InteractionInferencerType"), exports);
|
|
104
|
+
__exportStar(require("./enum/InteractionModelName"), exports);
|
|
105
|
+
__exportStar(require("./enum/InteractionModelProvider"), exports);
|
|
106
|
+
__exportStar(require("./enum/InteractionStatus"), exports);
|
|
107
|
+
__exportStar(require("./enum/LoadBalancerAlgorithm"), exports);
|
|
108
|
+
__exportStar(require("./enum/LoadBalancerTargetInferencerType"), exports);
|
|
109
|
+
__exportStar(require("./enum/ModelCompanyType"), exports);
|
|
110
|
+
__exportStar(require("./enum/ModelModelCompany"), exports);
|
|
111
|
+
__exportStar(require("./enum/ModelModelName"), exports);
|
|
112
|
+
__exportStar(require("./enum/RaceTargetInferencerType"), exports);
|
|
113
|
+
__exportStar(require("./enum/UsageBucketType"), exports);
|
|
114
|
+
__exportStar(require("./meta/ChatMetaTable"), exports);
|
|
115
|
+
__exportStar(require("./meta/FailoverMetaTable"), exports);
|
|
116
|
+
__exportStar(require("./meta/FailoverTargetMetaTable"), exports);
|
|
117
|
+
__exportStar(require("./meta/InteractionMetaTable"), exports);
|
|
118
|
+
__exportStar(require("./meta/LoadBalancerMetaTable"), exports);
|
|
119
|
+
__exportStar(require("./meta/LoadBalancerTargetMetaTable"), exports);
|
|
120
|
+
__exportStar(require("./meta/ModelCategoryMetaTable"), exports);
|
|
121
|
+
__exportStar(require("./meta/ModelFieldMetaTable"), exports);
|
|
122
|
+
__exportStar(require("./meta/ModelMetaTable"), exports);
|
|
123
|
+
__exportStar(require("./meta/ModelTagMetaTable"), exports);
|
|
124
|
+
__exportStar(require("./meta/NamirasoftInferenceMetaDatabase"), exports);
|
|
125
|
+
__exportStar(require("./meta/RaceMetaTable"), exports);
|
|
126
|
+
__exportStar(require("./meta/RaceTargetMetaTable"), exports);
|
|
127
|
+
__exportStar(require("./row/AskAsyncResponseRow"), exports);
|
|
128
|
+
__exportStar(require("./row/ChatRow"), exports);
|
|
129
|
+
__exportStar(require("./row/EntityCategoryInputRow"), exports);
|
|
130
|
+
__exportStar(require("./row/EntityFieldInputRow"), exports);
|
|
131
|
+
__exportStar(require("./row/EntityTagInputRow"), exports);
|
|
132
|
+
__exportStar(require("./row/FailoverFullRow"), exports);
|
|
133
|
+
__exportStar(require("./row/FailoverInputRow"), exports);
|
|
134
|
+
__exportStar(require("./row/FailoverRow"), exports);
|
|
135
|
+
__exportStar(require("./row/FailoverTargetInputRow"), exports);
|
|
136
|
+
__exportStar(require("./row/FailoverTargetRow"), exports);
|
|
137
|
+
__exportStar(require("./row/InteractionRow"), exports);
|
|
138
|
+
__exportStar(require("./row/LLMItemRow"), exports);
|
|
139
|
+
__exportStar(require("./row/LLMListResponseRow"), exports);
|
|
140
|
+
__exportStar(require("./row/LoadBalancerFullRow"), exports);
|
|
141
|
+
__exportStar(require("./row/LoadBalancerInputRow"), exports);
|
|
142
|
+
__exportStar(require("./row/LoadBalancerRow"), exports);
|
|
143
|
+
__exportStar(require("./row/LoadBalancerTargetInputRow"), exports);
|
|
144
|
+
__exportStar(require("./row/LoadBalancerTargetRow"), exports);
|
|
145
|
+
__exportStar(require("./row/ModelCategoryRow"), exports);
|
|
146
|
+
__exportStar(require("./row/ModelFieldRow"), exports);
|
|
147
|
+
__exportStar(require("./row/ModelInputRow"), exports);
|
|
148
|
+
__exportStar(require("./row/ModelRow"), exports);
|
|
149
|
+
__exportStar(require("./row/ModelTagRow"), exports);
|
|
150
|
+
__exportStar(require("./row/RaceFullRow"), exports);
|
|
151
|
+
__exportStar(require("./row/RaceInputRow"), exports);
|
|
152
|
+
__exportStar(require("./row/RaceRow"), exports);
|
|
153
|
+
__exportStar(require("./row/RaceTargetInputRow"), exports);
|
|
154
|
+
__exportStar(require("./row/RaceTargetRow"), exports);
|
|
155
|
+
__exportStar(require("./row/UsageDashboardBucketRow"), exports);
|
|
156
|
+
__exportStar(require("./row/UsageDashboardResponseRow"), exports);
|
|
157
|
+
__exportStar(require("./row/UsageSummaryResponseRow"), exports);
|
|
158
158
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
export type UsageDashboardBucketRow = {
|
|
2
|
-
bucket: string;
|
|
3
|
-
count: number;
|
|
4
|
-
total_token: number;
|
|
5
|
-
total_token_input: number;
|
|
6
|
-
total_token_output: number;
|
|
7
|
-
total_cost: number;
|
|
8
|
-
total_cost_input: number;
|
|
9
|
-
total_cost_output: number;
|
|
10
|
-
};
|
|
1
|
+
export type UsageDashboardBucketRow = {
|
|
2
|
+
bucket: string;
|
|
3
|
+
count: number;
|
|
4
|
+
total_token: number;
|
|
5
|
+
total_token_input: number;
|
|
6
|
+
total_token_output: number;
|
|
7
|
+
total_cost: number;
|
|
8
|
+
total_cost_input: number;
|
|
9
|
+
total_cost_output: number;
|
|
10
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=UsageDashboardBucketRow.js.map
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { UsageBucketType } from "../enum/UsageBucketType";
|
|
2
|
-
import { UsageDashboardBucketRow } from "./UsageDashboardBucketRow";
|
|
3
|
-
export type UsageDashboardResponseRow = {
|
|
4
|
-
bucket: UsageBucketType;
|
|
5
|
-
started_at: string;
|
|
6
|
-
ended_at: string;
|
|
7
|
-
buckets: UsageDashboardBucketRow[];
|
|
8
|
-
};
|
|
1
|
+
import { UsageBucketType } from "../enum/UsageBucketType";
|
|
2
|
+
import { UsageDashboardBucketRow } from "./UsageDashboardBucketRow";
|
|
3
|
+
export type UsageDashboardResponseRow = {
|
|
4
|
+
bucket: UsageBucketType;
|
|
5
|
+
started_at: string;
|
|
6
|
+
ended_at: string;
|
|
7
|
+
buckets: UsageDashboardBucketRow[];
|
|
8
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
//# sourceMappingURL=UsageDashboardResponseRow.js.map
|
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.12`, token_manager, onError);
|
|
57
57
|
this.health = new NamirasoftInferenceServerHealth(this);
|
|
58
58
|
this.metrics = new NamirasoftInferenceServerMetrics(this);
|
|
59
59
|
this.value = new NamirasoftInferenceServerValue(this);
|