namirasoft-inference 1.5.21 → 1.5.23
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/NamirasoftInferenceServerFailover.d.ts +9 -0
- package/dist/NamirasoftInferenceServerFailover.js.map +1 -1
- package/dist/NamirasoftInferenceServerGateway.d.ts +9 -0
- package/dist/NamirasoftInferenceServerGateway.js.map +1 -1
- package/dist/NamirasoftInferenceServerLoadBalancer.d.ts +9 -0
- package/dist/NamirasoftInferenceServerLoadBalancer.js.map +1 -1
- package/dist/NamirasoftInferenceServerModel.d.ts +9 -0
- package/dist/NamirasoftInferenceServerModel.js.map +1 -1
- package/dist/NamirasoftInferenceServerRace.d.ts +9 -0
- package/dist/NamirasoftInferenceServerRace.js.map +1 -1
- package/dist/NamirasoftInferenceServerRouter.d.ts +9 -0
- package/dist/NamirasoftInferenceServerRouter.js.map +1 -1
- package/dist/command/FailoverAskCommand.js +55 -1
- package/dist/command/FailoverAskCommand.js.map +1 -1
- package/dist/command/FailoverCreateCommand.js +9 -0
- package/dist/command/FailoverCreateCommand.js.map +1 -1
- package/dist/command/FailoverUpdateCommand.js +9 -0
- package/dist/command/FailoverUpdateCommand.js.map +1 -1
- package/dist/command/GatewayAskCommand.js +55 -1
- package/dist/command/GatewayAskCommand.js.map +1 -1
- package/dist/command/LoadBalancerAskCommand.js +55 -1
- package/dist/command/LoadBalancerAskCommand.js.map +1 -1
- package/dist/command/LoadBalancerCreateCommand.js +9 -0
- package/dist/command/LoadBalancerCreateCommand.js.map +1 -1
- package/dist/command/LoadBalancerUpdateCommand.js +9 -0
- package/dist/command/LoadBalancerUpdateCommand.js.map +1 -1
- package/dist/command/ModelAskCommand.js +55 -1
- package/dist/command/ModelAskCommand.js.map +1 -1
- package/dist/command/ModelCreateCommand.js +9 -27
- package/dist/command/ModelCreateCommand.js.map +1 -1
- package/dist/command/ModelUpdateCommand.js +9 -27
- package/dist/command/ModelUpdateCommand.js.map +1 -1
- package/dist/command/RaceAskCommand.js +55 -1
- package/dist/command/RaceAskCommand.js.map +1 -1
- package/dist/command/RaceCreateCommand.js +9 -0
- package/dist/command/RaceCreateCommand.js.map +1 -1
- package/dist/command/RaceUpdateCommand.js +9 -0
- package/dist/command/RaceUpdateCommand.js.map +1 -1
- package/dist/command/RouterAskCommand.js +55 -1
- package/dist/command/RouterAskCommand.js.map +1 -1
- package/dist/command/RouterCreateCommand.js +9 -0
- package/dist/command/RouterCreateCommand.js.map +1 -1
- package/dist/command/RouterUpdateCommand.js +9 -0
- package/dist/command/RouterUpdateCommand.js.map +1 -1
- package/dist/command/ValidatorCreateCommand.js +1 -1
- package/dist/command/ValidatorCreateCommand.js.map +1 -1
- package/dist/command/ValidatorUpdateCommand.js +1 -1
- package/dist/command/ValidatorUpdateCommand.js.map +1 -1
- package/dist/meta/FailoverMetaTable.d.ts +1 -0
- package/dist/meta/FailoverMetaTable.js +1 -0
- package/dist/meta/FailoverMetaTable.js.map +1 -1
- package/dist/meta/LoadBalancerMetaTable.d.ts +1 -0
- package/dist/meta/LoadBalancerMetaTable.js +1 -0
- package/dist/meta/LoadBalancerMetaTable.js.map +1 -1
- package/dist/meta/ModelMetaTable.d.ts +1 -3
- package/dist/meta/ModelMetaTable.js +1 -3
- package/dist/meta/ModelMetaTable.js.map +1 -1
- package/dist/meta/RaceMetaTable.d.ts +1 -0
- package/dist/meta/RaceMetaTable.js +1 -0
- package/dist/meta/RaceMetaTable.js.map +1 -1
- package/dist/meta/RouterMetaTable.d.ts +1 -0
- package/dist/meta/RouterMetaTable.js +1 -0
- package/dist/meta/RouterMetaTable.js.map +1 -1
- package/dist/meta/ValidatorMetaTable.js +1 -1
- package/dist/meta/ValidatorMetaTable.js.map +1 -1
- package/dist/row/FailoverFullRow.d.ts +1 -0
- package/dist/row/FailoverInputRow.d.ts +1 -0
- package/dist/row/FailoverRow.d.ts +1 -0
- package/dist/row/LoadBalancerFullRow.d.ts +1 -0
- package/dist/row/LoadBalancerInputRow.d.ts +1 -0
- package/dist/row/LoadBalancerRow.d.ts +1 -0
- package/dist/row/ModelInputRow.d.ts +1 -3
- package/dist/row/ModelRow.d.ts +1 -3
- package/dist/row/RaceFullRow.d.ts +1 -0
- package/dist/row/RaceInputRow.d.ts +1 -0
- package/dist/row/RaceRow.d.ts +1 -0
- package/dist/row/RouterFullRow.d.ts +1 -0
- package/dist/row/RouterInputRow.d.ts +1 -0
- package/dist/row/RouterRow.d.ts +1 -0
- package/dist/row/ValidatorInputRow.d.ts +1 -1
- package/dist/row/ValidatorRow.d.ts +1 -1
- package/package.json +2 -2
- package/src/NamirasoftInferenceServer.ts +1 -1
- package/src/NamirasoftInferenceServerFailover.ts +1 -1
- package/src/NamirasoftInferenceServerGateway.ts +1 -1
- package/src/NamirasoftInferenceServerLoadBalancer.ts +1 -1
- package/src/NamirasoftInferenceServerModel.ts +1 -1
- package/src/NamirasoftInferenceServerRace.ts +1 -1
- package/src/NamirasoftInferenceServerRouter.ts +1 -1
- package/src/command/FailoverAskCommand.ts +55 -1
- package/src/command/FailoverCreateCommand.ts +9 -0
- package/src/command/FailoverUpdateCommand.ts +9 -0
- package/src/command/GatewayAskCommand.ts +55 -1
- package/src/command/LoadBalancerAskCommand.ts +55 -1
- package/src/command/LoadBalancerCreateCommand.ts +9 -0
- package/src/command/LoadBalancerUpdateCommand.ts +9 -0
- package/src/command/ModelAskCommand.ts +55 -1
- package/src/command/ModelCreateCommand.ts +9 -27
- package/src/command/ModelUpdateCommand.ts +9 -27
- package/src/command/RaceAskCommand.ts +55 -1
- package/src/command/RaceCreateCommand.ts +9 -0
- package/src/command/RaceUpdateCommand.ts +9 -0
- package/src/command/RouterAskCommand.ts +55 -1
- package/src/command/RouterCreateCommand.ts +9 -0
- package/src/command/RouterUpdateCommand.ts +9 -0
- package/src/command/ValidatorCreateCommand.ts +1 -1
- package/src/command/ValidatorUpdateCommand.ts +1 -1
- package/src/meta/FailoverMetaTable.ts +2 -0
- package/src/meta/LoadBalancerMetaTable.ts +2 -0
- package/src/meta/ModelMetaTable.ts +2 -6
- package/src/meta/RaceMetaTable.ts +2 -0
- package/src/meta/RouterMetaTable.ts +2 -0
- package/src/meta/ValidatorMetaTable.ts +1 -1
- package/src/row/FailoverFullRow.ts +1 -0
- package/src/row/FailoverInputRow.ts +1 -0
- package/src/row/FailoverRow.ts +1 -0
- package/src/row/LoadBalancerFullRow.ts +1 -0
- package/src/row/LoadBalancerInputRow.ts +1 -0
- package/src/row/LoadBalancerRow.ts +1 -0
- package/src/row/ModelInputRow.ts +1 -3
- package/src/row/ModelRow.ts +1 -3
- package/src/row/RaceFullRow.ts +1 -0
- package/src/row/RaceInputRow.ts +1 -0
- package/src/row/RaceRow.ts +1 -0
- package/src/row/RouterFullRow.ts +1 -0
- package/src/row/RouterInputRow.ts +1 -0
- package/src/row/RouterRow.ts +1 -0
- package/src/row/ValidatorInputRow.ts +1 -1
- package/src/row/ValidatorRow.ts +1 -1
|
@@ -32,6 +32,7 @@ export class LoadBalancerMetaTable extends NSBaseMetaTable<NamirasoftInferenceSe
|
|
|
32
32
|
workspace_id: BaseMetaColumn;
|
|
33
33
|
name: BaseMetaColumn;
|
|
34
34
|
algorithm: BaseMetaColumn;
|
|
35
|
+
validator_id: BaseMetaColumn;
|
|
35
36
|
budget_id: BaseMetaColumn;
|
|
36
37
|
memory_id: BaseMetaColumn;
|
|
37
38
|
wiper_id: BaseMetaColumn;
|
|
@@ -49,6 +50,7 @@ export class LoadBalancerMetaTable extends NSBaseMetaTable<NamirasoftInferenceSe
|
|
|
49
50
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
50
51
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
51
52
|
algorithm: new BaseMetaColumn(this, "algorithm", "Algorithm", "Enum", true),
|
|
53
|
+
validator_id: new BaseMetaColumn(this, "validator_id", "Validator ID", "String", false),
|
|
52
54
|
budget_id: new BaseMetaColumn(this, "budget_id", "Budget ID", "String", false),
|
|
53
55
|
memory_id: new BaseMetaColumn(this, "memory_id", "Memory ID", "String", false),
|
|
54
56
|
wiper_id: new BaseMetaColumn(this, "wiper_id", "Wiper ID", "String", false),
|
|
@@ -35,13 +35,11 @@ export class ModelMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer, M
|
|
|
35
35
|
model_name: BaseMetaColumn;
|
|
36
36
|
settings: BaseMetaColumn;
|
|
37
37
|
model_api_key_credential_id: BaseMetaColumn;
|
|
38
|
+
validator_id: BaseMetaColumn;
|
|
38
39
|
budget_id: BaseMetaColumn;
|
|
39
40
|
memory_id: BaseMetaColumn;
|
|
40
41
|
wiper_id: BaseMetaColumn;
|
|
41
42
|
log_group_id: BaseMetaColumn;
|
|
42
|
-
json_force: BaseMetaColumn;
|
|
43
|
-
json_system_prompt: BaseMetaColumn;
|
|
44
|
-
json_correction: BaseMetaColumn;
|
|
45
43
|
created_at: BaseMetaColumn;
|
|
46
44
|
updated_at: BaseMetaColumn;
|
|
47
45
|
}
|
|
@@ -57,13 +55,11 @@ export class ModelMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer, M
|
|
|
57
55
|
model_name: new BaseMetaColumn(this, "model_name", "Model Name", "Enum", true),
|
|
58
56
|
settings: new BaseMetaColumn(this, "settings", "Settings", "Any", false),
|
|
59
57
|
model_api_key_credential_id: new BaseMetaColumn(this, "model_api_key_credential_id", "Model API Key Credential ID", "String", false),
|
|
58
|
+
validator_id: new BaseMetaColumn(this, "validator_id", "Validator ID", "String", false),
|
|
60
59
|
budget_id: new BaseMetaColumn(this, "budget_id", "Budget ID", "String", false),
|
|
61
60
|
memory_id: new BaseMetaColumn(this, "memory_id", "Memory ID", "String", false),
|
|
62
61
|
wiper_id: new BaseMetaColumn(this, "wiper_id", "Wiper ID", "String", false),
|
|
63
62
|
log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
|
|
64
|
-
json_force: new BaseMetaColumn(this, "json_force", "JSON Force", "Boolean", true),
|
|
65
|
-
json_system_prompt: new BaseMetaColumn(this, "json_system_prompt", "JSON System Prompt", "Boolean", true),
|
|
66
|
-
json_correction: new BaseMetaColumn(this, "json_correction", "JSON Correction", "Boolean", true),
|
|
67
63
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
68
64
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
69
65
|
};
|
|
@@ -31,6 +31,7 @@ export class RaceMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer, Ra
|
|
|
31
31
|
user_id: BaseMetaColumn;
|
|
32
32
|
workspace_id: BaseMetaColumn;
|
|
33
33
|
name: BaseMetaColumn;
|
|
34
|
+
validator_id: BaseMetaColumn;
|
|
34
35
|
budget_id: BaseMetaColumn;
|
|
35
36
|
memory_id: BaseMetaColumn;
|
|
36
37
|
wiper_id: BaseMetaColumn;
|
|
@@ -47,6 +48,7 @@ export class RaceMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer, Ra
|
|
|
47
48
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
48
49
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
49
50
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
51
|
+
validator_id: new BaseMetaColumn(this, "validator_id", "Validator ID", "String", false),
|
|
50
52
|
budget_id: new BaseMetaColumn(this, "budget_id", "Budget ID", "String", false),
|
|
51
53
|
memory_id: new BaseMetaColumn(this, "memory_id", "Memory ID", "String", false),
|
|
52
54
|
wiper_id: new BaseMetaColumn(this, "wiper_id", "Wiper ID", "String", false),
|
|
@@ -33,6 +33,7 @@ export class RouterMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer,
|
|
|
33
33
|
name: BaseMetaColumn;
|
|
34
34
|
default_inferencer_type: BaseMetaColumn;
|
|
35
35
|
default_inferencer_id: BaseMetaColumn;
|
|
36
|
+
validator_id: BaseMetaColumn;
|
|
36
37
|
budget_id: BaseMetaColumn;
|
|
37
38
|
memory_id: BaseMetaColumn;
|
|
38
39
|
wiper_id: BaseMetaColumn;
|
|
@@ -51,6 +52,7 @@ export class RouterMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer,
|
|
|
51
52
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
52
53
|
default_inferencer_type: new BaseMetaColumn(this, "default_inferencer_type", "Default Inferencer Type", "Enum", true),
|
|
53
54
|
default_inferencer_id: new BaseMetaColumn(this, "default_inferencer_id", "Default Inferencer ID", "String", true),
|
|
55
|
+
validator_id: new BaseMetaColumn(this, "validator_id", "Validator ID", "String", false),
|
|
54
56
|
budget_id: new BaseMetaColumn(this, "budget_id", "Budget ID", "String", false),
|
|
55
57
|
memory_id: new BaseMetaColumn(this, "memory_id", "Memory ID", "String", false),
|
|
56
58
|
wiper_id: new BaseMetaColumn(this, "wiper_id", "Wiper ID", "String", false),
|
|
@@ -56,7 +56,7 @@ export class ValidatorMetaTable extends NSBaseMetaTable<NamirasoftInferenceServe
|
|
|
56
56
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
57
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
58
58
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
59
|
-
expected_format: new BaseMetaColumn(this, "expected_format", "Expected Format", "String",
|
|
59
|
+
expected_format: new BaseMetaColumn(this, "expected_format", "Expected Format", "String", false),
|
|
60
60
|
example_format: new BaseMetaColumn(this, "example_format", "Example Format", "String", false),
|
|
61
61
|
on_invalid_action: new BaseMetaColumn(this, "on_invalid_action", "On Invalid Action", "Enum", true),
|
|
62
62
|
error_message: new BaseMetaColumn(this, "error_message", "Error Message", "String", false),
|
package/src/row/FailoverRow.ts
CHANGED
package/src/row/ModelInputRow.ts
CHANGED
|
@@ -32,13 +32,11 @@ export type ModelInputRow =
|
|
|
32
32
|
model_name: ModelModelName;
|
|
33
33
|
settings: (any | null);
|
|
34
34
|
model_api_key_credential_id: (string | null);
|
|
35
|
+
validator_id: (string | null);
|
|
35
36
|
budget_id: (string | null);
|
|
36
37
|
memory_id: (string | null);
|
|
37
38
|
wiper_id: (string | null);
|
|
38
39
|
log_group_id: (string | null);
|
|
39
|
-
json_force: boolean;
|
|
40
|
-
json_system_prompt: boolean;
|
|
41
|
-
json_correction: boolean;
|
|
42
40
|
model_category: (EntityCategoryInputRow | null)[];
|
|
43
41
|
model_field: (EntityFieldInputRow | null)[];
|
|
44
42
|
model_tag: (EntityTagInputRow | null)[];
|
package/src/row/ModelRow.ts
CHANGED
|
@@ -31,13 +31,11 @@ export type ModelRow =
|
|
|
31
31
|
model_name: ModelModelName;
|
|
32
32
|
settings: (any | null);
|
|
33
33
|
model_api_key_credential_id: (string | null);
|
|
34
|
+
validator_id: (string | null);
|
|
34
35
|
budget_id: (string | null);
|
|
35
36
|
memory_id: (string | null);
|
|
36
37
|
wiper_id: (string | null);
|
|
37
38
|
log_group_id: (string | null);
|
|
38
|
-
json_force: boolean;
|
|
39
|
-
json_system_prompt: boolean;
|
|
40
|
-
json_correction: boolean;
|
|
41
39
|
created_at: Date;
|
|
42
40
|
updated_at: Date;
|
|
43
41
|
}
|
package/src/row/RaceFullRow.ts
CHANGED
package/src/row/RaceInputRow.ts
CHANGED
package/src/row/RaceRow.ts
CHANGED
package/src/row/RouterFullRow.ts
CHANGED
|
@@ -30,6 +30,7 @@ export type RouterInputRow =
|
|
|
30
30
|
name: string;
|
|
31
31
|
default_inferencer_type: RouterDefaultInferencerType;
|
|
32
32
|
default_inferencer_id: string;
|
|
33
|
+
validator_id: (string | null);
|
|
33
34
|
budget_id: (string | null);
|
|
34
35
|
memory_id: (string | null);
|
|
35
36
|
wiper_id: (string | null);
|
package/src/row/RouterRow.ts
CHANGED
|
@@ -30,7 +30,7 @@ export type ValidatorInputRow =
|
|
|
30
30
|
workspace_id: (string | null);
|
|
31
31
|
name: string;
|
|
32
32
|
type: ValidatorType;
|
|
33
|
-
expected_format: string;
|
|
33
|
+
expected_format: (string | null);
|
|
34
34
|
example_format: (string | null);
|
|
35
35
|
on_invalid_action: ValidatorOnInvalidAction;
|
|
36
36
|
error_message: (string | null);
|
package/src/row/ValidatorRow.ts
CHANGED
|
@@ -29,7 +29,7 @@ export type ValidatorRow =
|
|
|
29
29
|
workspace_id: string;
|
|
30
30
|
name: string;
|
|
31
31
|
type: ValidatorType;
|
|
32
|
-
expected_format: string;
|
|
32
|
+
expected_format: (string | null);
|
|
33
33
|
example_format: (string | null);
|
|
34
34
|
on_invalid_action: ValidatorOnInvalidAction;
|
|
35
35
|
error_message: (string | null);
|