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.
Files changed (130) hide show
  1. package/dist/NamirasoftInferenceServer.js +1 -1
  2. package/dist/NamirasoftInferenceServerFailover.d.ts +9 -0
  3. package/dist/NamirasoftInferenceServerFailover.js.map +1 -1
  4. package/dist/NamirasoftInferenceServerGateway.d.ts +9 -0
  5. package/dist/NamirasoftInferenceServerGateway.js.map +1 -1
  6. package/dist/NamirasoftInferenceServerLoadBalancer.d.ts +9 -0
  7. package/dist/NamirasoftInferenceServerLoadBalancer.js.map +1 -1
  8. package/dist/NamirasoftInferenceServerModel.d.ts +9 -0
  9. package/dist/NamirasoftInferenceServerModel.js.map +1 -1
  10. package/dist/NamirasoftInferenceServerRace.d.ts +9 -0
  11. package/dist/NamirasoftInferenceServerRace.js.map +1 -1
  12. package/dist/NamirasoftInferenceServerRouter.d.ts +9 -0
  13. package/dist/NamirasoftInferenceServerRouter.js.map +1 -1
  14. package/dist/command/FailoverAskCommand.js +55 -1
  15. package/dist/command/FailoverAskCommand.js.map +1 -1
  16. package/dist/command/FailoverCreateCommand.js +9 -0
  17. package/dist/command/FailoverCreateCommand.js.map +1 -1
  18. package/dist/command/FailoverUpdateCommand.js +9 -0
  19. package/dist/command/FailoverUpdateCommand.js.map +1 -1
  20. package/dist/command/GatewayAskCommand.js +55 -1
  21. package/dist/command/GatewayAskCommand.js.map +1 -1
  22. package/dist/command/LoadBalancerAskCommand.js +55 -1
  23. package/dist/command/LoadBalancerAskCommand.js.map +1 -1
  24. package/dist/command/LoadBalancerCreateCommand.js +9 -0
  25. package/dist/command/LoadBalancerCreateCommand.js.map +1 -1
  26. package/dist/command/LoadBalancerUpdateCommand.js +9 -0
  27. package/dist/command/LoadBalancerUpdateCommand.js.map +1 -1
  28. package/dist/command/ModelAskCommand.js +55 -1
  29. package/dist/command/ModelAskCommand.js.map +1 -1
  30. package/dist/command/ModelCreateCommand.js +9 -27
  31. package/dist/command/ModelCreateCommand.js.map +1 -1
  32. package/dist/command/ModelUpdateCommand.js +9 -27
  33. package/dist/command/ModelUpdateCommand.js.map +1 -1
  34. package/dist/command/RaceAskCommand.js +55 -1
  35. package/dist/command/RaceAskCommand.js.map +1 -1
  36. package/dist/command/RaceCreateCommand.js +9 -0
  37. package/dist/command/RaceCreateCommand.js.map +1 -1
  38. package/dist/command/RaceUpdateCommand.js +9 -0
  39. package/dist/command/RaceUpdateCommand.js.map +1 -1
  40. package/dist/command/RouterAskCommand.js +55 -1
  41. package/dist/command/RouterAskCommand.js.map +1 -1
  42. package/dist/command/RouterCreateCommand.js +9 -0
  43. package/dist/command/RouterCreateCommand.js.map +1 -1
  44. package/dist/command/RouterUpdateCommand.js +9 -0
  45. package/dist/command/RouterUpdateCommand.js.map +1 -1
  46. package/dist/command/ValidatorCreateCommand.js +1 -1
  47. package/dist/command/ValidatorCreateCommand.js.map +1 -1
  48. package/dist/command/ValidatorUpdateCommand.js +1 -1
  49. package/dist/command/ValidatorUpdateCommand.js.map +1 -1
  50. package/dist/meta/FailoverMetaTable.d.ts +1 -0
  51. package/dist/meta/FailoverMetaTable.js +1 -0
  52. package/dist/meta/FailoverMetaTable.js.map +1 -1
  53. package/dist/meta/LoadBalancerMetaTable.d.ts +1 -0
  54. package/dist/meta/LoadBalancerMetaTable.js +1 -0
  55. package/dist/meta/LoadBalancerMetaTable.js.map +1 -1
  56. package/dist/meta/ModelMetaTable.d.ts +1 -3
  57. package/dist/meta/ModelMetaTable.js +1 -3
  58. package/dist/meta/ModelMetaTable.js.map +1 -1
  59. package/dist/meta/RaceMetaTable.d.ts +1 -0
  60. package/dist/meta/RaceMetaTable.js +1 -0
  61. package/dist/meta/RaceMetaTable.js.map +1 -1
  62. package/dist/meta/RouterMetaTable.d.ts +1 -0
  63. package/dist/meta/RouterMetaTable.js +1 -0
  64. package/dist/meta/RouterMetaTable.js.map +1 -1
  65. package/dist/meta/ValidatorMetaTable.js +1 -1
  66. package/dist/meta/ValidatorMetaTable.js.map +1 -1
  67. package/dist/row/FailoverFullRow.d.ts +1 -0
  68. package/dist/row/FailoverInputRow.d.ts +1 -0
  69. package/dist/row/FailoverRow.d.ts +1 -0
  70. package/dist/row/LoadBalancerFullRow.d.ts +1 -0
  71. package/dist/row/LoadBalancerInputRow.d.ts +1 -0
  72. package/dist/row/LoadBalancerRow.d.ts +1 -0
  73. package/dist/row/ModelInputRow.d.ts +1 -3
  74. package/dist/row/ModelRow.d.ts +1 -3
  75. package/dist/row/RaceFullRow.d.ts +1 -0
  76. package/dist/row/RaceInputRow.d.ts +1 -0
  77. package/dist/row/RaceRow.d.ts +1 -0
  78. package/dist/row/RouterFullRow.d.ts +1 -0
  79. package/dist/row/RouterInputRow.d.ts +1 -0
  80. package/dist/row/RouterRow.d.ts +1 -0
  81. package/dist/row/ValidatorInputRow.d.ts +1 -1
  82. package/dist/row/ValidatorRow.d.ts +1 -1
  83. package/package.json +2 -2
  84. package/src/NamirasoftInferenceServer.ts +1 -1
  85. package/src/NamirasoftInferenceServerFailover.ts +1 -1
  86. package/src/NamirasoftInferenceServerGateway.ts +1 -1
  87. package/src/NamirasoftInferenceServerLoadBalancer.ts +1 -1
  88. package/src/NamirasoftInferenceServerModel.ts +1 -1
  89. package/src/NamirasoftInferenceServerRace.ts +1 -1
  90. package/src/NamirasoftInferenceServerRouter.ts +1 -1
  91. package/src/command/FailoverAskCommand.ts +55 -1
  92. package/src/command/FailoverCreateCommand.ts +9 -0
  93. package/src/command/FailoverUpdateCommand.ts +9 -0
  94. package/src/command/GatewayAskCommand.ts +55 -1
  95. package/src/command/LoadBalancerAskCommand.ts +55 -1
  96. package/src/command/LoadBalancerCreateCommand.ts +9 -0
  97. package/src/command/LoadBalancerUpdateCommand.ts +9 -0
  98. package/src/command/ModelAskCommand.ts +55 -1
  99. package/src/command/ModelCreateCommand.ts +9 -27
  100. package/src/command/ModelUpdateCommand.ts +9 -27
  101. package/src/command/RaceAskCommand.ts +55 -1
  102. package/src/command/RaceCreateCommand.ts +9 -0
  103. package/src/command/RaceUpdateCommand.ts +9 -0
  104. package/src/command/RouterAskCommand.ts +55 -1
  105. package/src/command/RouterCreateCommand.ts +9 -0
  106. package/src/command/RouterUpdateCommand.ts +9 -0
  107. package/src/command/ValidatorCreateCommand.ts +1 -1
  108. package/src/command/ValidatorUpdateCommand.ts +1 -1
  109. package/src/meta/FailoverMetaTable.ts +2 -0
  110. package/src/meta/LoadBalancerMetaTable.ts +2 -0
  111. package/src/meta/ModelMetaTable.ts +2 -6
  112. package/src/meta/RaceMetaTable.ts +2 -0
  113. package/src/meta/RouterMetaTable.ts +2 -0
  114. package/src/meta/ValidatorMetaTable.ts +1 -1
  115. package/src/row/FailoverFullRow.ts +1 -0
  116. package/src/row/FailoverInputRow.ts +1 -0
  117. package/src/row/FailoverRow.ts +1 -0
  118. package/src/row/LoadBalancerFullRow.ts +1 -0
  119. package/src/row/LoadBalancerInputRow.ts +1 -0
  120. package/src/row/LoadBalancerRow.ts +1 -0
  121. package/src/row/ModelInputRow.ts +1 -3
  122. package/src/row/ModelRow.ts +1 -3
  123. package/src/row/RaceFullRow.ts +1 -0
  124. package/src/row/RaceInputRow.ts +1 -0
  125. package/src/row/RaceRow.ts +1 -0
  126. package/src/row/RouterFullRow.ts +1 -0
  127. package/src/row/RouterInputRow.ts +1 -0
  128. package/src/row/RouterRow.ts +1 -0
  129. package/src/row/ValidatorInputRow.ts +1 -1
  130. 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", true),
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),
@@ -29,6 +29,7 @@ export type FailoverFullRow =
29
29
  user_id: string;
30
30
  workspace_id: string;
31
31
  name: string;
32
+ validator_id: (string | null);
32
33
  budget_id: (string | null);
33
34
  memory_id: (string | null);
34
35
  wiper_id: (string | null);
@@ -27,6 +27,7 @@ export type FailoverInputRow =
27
27
  {
28
28
  workspace_id: (string | null);
29
29
  name: string;
30
+ validator_id: (string | null);
30
31
  budget_id: (string | null);
31
32
  memory_id: (string | null);
32
33
  wiper_id: (string | null);
@@ -24,6 +24,7 @@ export type FailoverRow =
24
24
  user_id: string;
25
25
  workspace_id: string;
26
26
  name: string;
27
+ validator_id: (string | null);
27
28
  budget_id: (string | null);
28
29
  memory_id: (string | null);
29
30
  wiper_id: (string | null);
@@ -31,6 +31,7 @@ export type LoadBalancerFullRow =
31
31
  workspace_id: string;
32
32
  name: string;
33
33
  algorithm: LoadBalancerAlgorithm;
34
+ validator_id: (string | null);
34
35
  budget_id: (string | null);
35
36
  memory_id: (string | null);
36
37
  wiper_id: (string | null);
@@ -29,6 +29,7 @@ export type LoadBalancerInputRow =
29
29
  workspace_id: (string | null);
30
30
  name: string;
31
31
  algorithm: LoadBalancerAlgorithm;
32
+ validator_id: (string | null);
32
33
  budget_id: (string | null);
33
34
  memory_id: (string | null);
34
35
  wiper_id: (string | null);
@@ -27,6 +27,7 @@ export type LoadBalancerRow =
27
27
  workspace_id: string;
28
28
  name: string;
29
29
  algorithm: LoadBalancerAlgorithm;
30
+ validator_id: (string | null);
30
31
  budget_id: (string | null);
31
32
  memory_id: (string | null);
32
33
  wiper_id: (string | null);
@@ -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)[];
@@ -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
  }
@@ -29,6 +29,7 @@ export type RaceFullRow =
29
29
  user_id: string;
30
30
  workspace_id: string;
31
31
  name: string;
32
+ validator_id: (string | null);
32
33
  budget_id: (string | null);
33
34
  memory_id: (string | null);
34
35
  wiper_id: (string | null);
@@ -27,6 +27,7 @@ export type RaceInputRow =
27
27
  {
28
28
  workspace_id: (string | null);
29
29
  name: string;
30
+ validator_id: (string | null);
30
31
  budget_id: (string | null);
31
32
  memory_id: (string | null);
32
33
  wiper_id: (string | null);
@@ -24,6 +24,7 @@ export type RaceRow =
24
24
  user_id: string;
25
25
  workspace_id: string;
26
26
  name: string;
27
+ validator_id: (string | null);
27
28
  budget_id: (string | null);
28
29
  memory_id: (string | null);
29
30
  wiper_id: (string | null);
@@ -32,6 +32,7 @@ export type RouterFullRow =
32
32
  name: string;
33
33
  default_inferencer_type: RouterDefaultInferencerType;
34
34
  default_inferencer_id: string;
35
+ validator_id: (string | null);
35
36
  budget_id: (string | null);
36
37
  memory_id: (string | null);
37
38
  wiper_id: (string | null);
@@ -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);
@@ -28,6 +28,7 @@ export type RouterRow =
28
28
  name: string;
29
29
  default_inferencer_type: RouterDefaultInferencerType;
30
30
  default_inferencer_id: string;
31
+ validator_id: (string | null);
31
32
  budget_id: (string | null);
32
33
  memory_id: (string | null);
33
34
  wiper_id: (string | null);
@@ -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);
@@ -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);