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
@@ -44,6 +44,14 @@ export class FailoverUpdateCommand extends BaseFinalCommand
44
44
  args: ["name"],
45
45
  defaults: [""]
46
46
  },
47
+ {
48
+ name: "validator_id",
49
+ short: "",
50
+ description: "Provides the value of 'validator_id' in body",
51
+ optional: true,
52
+ args: ["validator_id"],
53
+ defaults: [""]
54
+ },
47
55
  {
48
56
  name: "budget_id",
49
57
  short: "",
@@ -131,6 +139,7 @@ export class FailoverUpdateCommand extends BaseFinalCommand
131
139
  let ans = await server.failover.Update(this.arg_values[0], {
132
140
  workspace_id: this.option_values.workspace_id,
133
141
  name: this.option_values.name,
142
+ validator_id: this.option_values.validator_id,
134
143
  budget_id: this.option_values.budget_id,
135
144
  memory_id: this.option_values.memory_id,
136
145
  wiper_id: this.option_values.wiper_id,
@@ -59,6 +59,54 @@ export class GatewayAskCommand extends BaseFinalCommand
59
59
  optional: true,
60
60
  args: ["memory_limit"],
61
61
  defaults: [""]
62
+ },
63
+ {
64
+ name: "log_group_id",
65
+ short: "",
66
+ description: "Provides the value of 'log_group_id' in body",
67
+ optional: true,
68
+ args: ["log_group_id"],
69
+ defaults: [""]
70
+ },
71
+ {
72
+ name: "memory_id",
73
+ short: "",
74
+ description: "Provides the value of 'memory_id' in body",
75
+ optional: true,
76
+ args: ["memory_id"],
77
+ defaults: [""]
78
+ },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
87
+ {
88
+ name: "tags",
89
+ short: "",
90
+ description: "Provides the value of 'tags' in body",
91
+ optional: true,
92
+ args: ["tags"],
93
+ defaults: [""]
94
+ },
95
+ {
96
+ name: "knowledgebase_ids",
97
+ short: "",
98
+ description: "Provides the value of 'knowledgebase_ids' in body",
99
+ optional: true,
100
+ args: ["knowledgebase_ids"],
101
+ defaults: [""]
102
+ },
103
+ {
104
+ name: "guardrail_ids",
105
+ short: "",
106
+ description: "Provides the value of 'guardrail_ids' in body",
107
+ optional: true,
108
+ args: ["guardrail_ids"],
109
+ defaults: [""]
62
110
  }
63
111
  ]);
64
112
  }
@@ -76,7 +124,13 @@ export class GatewayAskCommand extends BaseFinalCommand
76
124
  chat_id: this.option_values.chat_id,
77
125
  run_id: this.option_values.run_id,
78
126
  message: this.option_values.message,
79
- memory_limit: this.option_values.memory_limit
127
+ memory_limit: this.option_values.memory_limit,
128
+ log_group_id: this.option_values.log_group_id,
129
+ memory_id: this.option_values.memory_id,
130
+ validator_id: this.option_values.validator_id,
131
+ tags: this.option_values.tags,
132
+ knowledgebase_ids: this.option_values.knowledgebase_ids,
133
+ guardrail_ids: this.option_values.guardrail_ids
80
134
  });
81
135
  this.app.logger.success(JSON.stringify(ans));
82
136
  }
@@ -59,6 +59,54 @@ export class LoadBalancerAskCommand extends BaseFinalCommand
59
59
  optional: true,
60
60
  args: ["memory_limit"],
61
61
  defaults: [""]
62
+ },
63
+ {
64
+ name: "log_group_id",
65
+ short: "",
66
+ description: "Provides the value of 'log_group_id' in body",
67
+ optional: true,
68
+ args: ["log_group_id"],
69
+ defaults: [""]
70
+ },
71
+ {
72
+ name: "memory_id",
73
+ short: "",
74
+ description: "Provides the value of 'memory_id' in body",
75
+ optional: true,
76
+ args: ["memory_id"],
77
+ defaults: [""]
78
+ },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
87
+ {
88
+ name: "tags",
89
+ short: "",
90
+ description: "Provides the value of 'tags' in body",
91
+ optional: true,
92
+ args: ["tags"],
93
+ defaults: [""]
94
+ },
95
+ {
96
+ name: "knowledgebase_ids",
97
+ short: "",
98
+ description: "Provides the value of 'knowledgebase_ids' in body",
99
+ optional: true,
100
+ args: ["knowledgebase_ids"],
101
+ defaults: [""]
102
+ },
103
+ {
104
+ name: "guardrail_ids",
105
+ short: "",
106
+ description: "Provides the value of 'guardrail_ids' in body",
107
+ optional: true,
108
+ args: ["guardrail_ids"],
109
+ defaults: [""]
62
110
  }
63
111
  ]);
64
112
  }
@@ -76,7 +124,13 @@ export class LoadBalancerAskCommand extends BaseFinalCommand
76
124
  chat_id: this.option_values.chat_id,
77
125
  run_id: this.option_values.run_id,
78
126
  message: this.option_values.message,
79
- memory_limit: this.option_values.memory_limit
127
+ memory_limit: this.option_values.memory_limit,
128
+ log_group_id: this.option_values.log_group_id,
129
+ memory_id: this.option_values.memory_id,
130
+ validator_id: this.option_values.validator_id,
131
+ tags: this.option_values.tags,
132
+ knowledgebase_ids: this.option_values.knowledgebase_ids,
133
+ guardrail_ids: this.option_values.guardrail_ids
80
134
  });
81
135
  this.app.logger.success(JSON.stringify(ans));
82
136
  }
@@ -52,6 +52,14 @@ export class LoadBalancerCreateCommand extends BaseFinalCommand
52
52
  args: ["algorithm"],
53
53
  defaults: [""]
54
54
  },
55
+ {
56
+ name: "validator_id",
57
+ short: "",
58
+ description: "Provides the value of 'validator_id' in body",
59
+ optional: true,
60
+ args: ["validator_id"],
61
+ defaults: [""]
62
+ },
55
63
  {
56
64
  name: "budget_id",
57
65
  short: "",
@@ -140,6 +148,7 @@ export class LoadBalancerCreateCommand extends BaseFinalCommand
140
148
  workspace_id: this.option_values.workspace_id,
141
149
  name: this.option_values.name,
142
150
  algorithm: this.option_values.algorithm,
151
+ validator_id: this.option_values.validator_id,
143
152
  budget_id: this.option_values.budget_id,
144
153
  memory_id: this.option_values.memory_id,
145
154
  wiper_id: this.option_values.wiper_id,
@@ -52,6 +52,14 @@ export class LoadBalancerUpdateCommand extends BaseFinalCommand
52
52
  args: ["algorithm"],
53
53
  defaults: [""]
54
54
  },
55
+ {
56
+ name: "validator_id",
57
+ short: "",
58
+ description: "Provides the value of 'validator_id' in body",
59
+ optional: true,
60
+ args: ["validator_id"],
61
+ defaults: [""]
62
+ },
55
63
  {
56
64
  name: "budget_id",
57
65
  short: "",
@@ -140,6 +148,7 @@ export class LoadBalancerUpdateCommand extends BaseFinalCommand
140
148
  workspace_id: this.option_values.workspace_id,
141
149
  name: this.option_values.name,
142
150
  algorithm: this.option_values.algorithm,
151
+ validator_id: this.option_values.validator_id,
143
152
  budget_id: this.option_values.budget_id,
144
153
  memory_id: this.option_values.memory_id,
145
154
  wiper_id: this.option_values.wiper_id,
@@ -59,6 +59,54 @@ export class ModelAskCommand extends BaseFinalCommand
59
59
  optional: true,
60
60
  args: ["memory_limit"],
61
61
  defaults: [""]
62
+ },
63
+ {
64
+ name: "log_group_id",
65
+ short: "",
66
+ description: "Provides the value of 'log_group_id' in body",
67
+ optional: true,
68
+ args: ["log_group_id"],
69
+ defaults: [""]
70
+ },
71
+ {
72
+ name: "memory_id",
73
+ short: "",
74
+ description: "Provides the value of 'memory_id' in body",
75
+ optional: true,
76
+ args: ["memory_id"],
77
+ defaults: [""]
78
+ },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
87
+ {
88
+ name: "tags",
89
+ short: "",
90
+ description: "Provides the value of 'tags' in body",
91
+ optional: true,
92
+ args: ["tags"],
93
+ defaults: [""]
94
+ },
95
+ {
96
+ name: "knowledgebase_ids",
97
+ short: "",
98
+ description: "Provides the value of 'knowledgebase_ids' in body",
99
+ optional: true,
100
+ args: ["knowledgebase_ids"],
101
+ defaults: [""]
102
+ },
103
+ {
104
+ name: "guardrail_ids",
105
+ short: "",
106
+ description: "Provides the value of 'guardrail_ids' in body",
107
+ optional: true,
108
+ args: ["guardrail_ids"],
109
+ defaults: [""]
62
110
  }
63
111
  ]);
64
112
  }
@@ -76,7 +124,13 @@ export class ModelAskCommand extends BaseFinalCommand
76
124
  chat_id: this.option_values.chat_id,
77
125
  run_id: this.option_values.run_id,
78
126
  message: this.option_values.message,
79
- memory_limit: this.option_values.memory_limit
127
+ memory_limit: this.option_values.memory_limit,
128
+ log_group_id: this.option_values.log_group_id,
129
+ memory_id: this.option_values.memory_id,
130
+ validator_id: this.option_values.validator_id,
131
+ tags: this.option_values.tags,
132
+ knowledgebase_ids: this.option_values.knowledgebase_ids,
133
+ guardrail_ids: this.option_values.guardrail_ids
80
134
  });
81
135
  this.app.logger.success(JSON.stringify(ans));
82
136
  }
@@ -76,6 +76,14 @@ export class ModelCreateCommand extends BaseFinalCommand
76
76
  args: ["model_api_key_credential_id"],
77
77
  defaults: [""]
78
78
  },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
79
87
  {
80
88
  name: "budget_id",
81
89
  short: "",
@@ -108,30 +116,6 @@ export class ModelCreateCommand extends BaseFinalCommand
108
116
  args: ["log_group_id"],
109
117
  defaults: [""]
110
118
  },
111
- {
112
- name: "json_force",
113
- short: "",
114
- description: "Provides the value of 'json_force' in body",
115
- optional: false,
116
- args: ["json_force"],
117
- defaults: [""]
118
- },
119
- {
120
- name: "json_system_prompt",
121
- short: "",
122
- description: "Provides the value of 'json_system_prompt' in body",
123
- optional: false,
124
- args: ["json_system_prompt"],
125
- defaults: [""]
126
- },
127
- {
128
- name: "json_correction",
129
- short: "",
130
- description: "Provides the value of 'json_correction' in body",
131
- optional: false,
132
- args: ["json_correction"],
133
- defaults: [""]
134
- },
135
119
  {
136
120
  name: "model_category",
137
121
  short: "",
@@ -175,13 +159,11 @@ export class ModelCreateCommand extends BaseFinalCommand
175
159
  model_name: this.option_values.model_name,
176
160
  settings: this.option_values.settings,
177
161
  model_api_key_credential_id: this.option_values.model_api_key_credential_id,
162
+ validator_id: this.option_values.validator_id,
178
163
  budget_id: this.option_values.budget_id,
179
164
  memory_id: this.option_values.memory_id,
180
165
  wiper_id: this.option_values.wiper_id,
181
166
  log_group_id: this.option_values.log_group_id,
182
- json_force: this.option_values.json_force,
183
- json_system_prompt: this.option_values.json_system_prompt,
184
- json_correction: this.option_values.json_correction,
185
167
  model_category: this.option_values.model_category,
186
168
  model_field: this.option_values.model_field,
187
169
  model_tag: this.option_values.model_tag
@@ -76,6 +76,14 @@ export class ModelUpdateCommand extends BaseFinalCommand
76
76
  args: ["model_api_key_credential_id"],
77
77
  defaults: [""]
78
78
  },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
79
87
  {
80
88
  name: "budget_id",
81
89
  short: "",
@@ -108,30 +116,6 @@ export class ModelUpdateCommand extends BaseFinalCommand
108
116
  args: ["log_group_id"],
109
117
  defaults: [""]
110
118
  },
111
- {
112
- name: "json_force",
113
- short: "",
114
- description: "Provides the value of 'json_force' in body",
115
- optional: false,
116
- args: ["json_force"],
117
- defaults: [""]
118
- },
119
- {
120
- name: "json_system_prompt",
121
- short: "",
122
- description: "Provides the value of 'json_system_prompt' in body",
123
- optional: false,
124
- args: ["json_system_prompt"],
125
- defaults: [""]
126
- },
127
- {
128
- name: "json_correction",
129
- short: "",
130
- description: "Provides the value of 'json_correction' in body",
131
- optional: false,
132
- args: ["json_correction"],
133
- defaults: [""]
134
- },
135
119
  {
136
120
  name: "model_category",
137
121
  short: "",
@@ -175,13 +159,11 @@ export class ModelUpdateCommand extends BaseFinalCommand
175
159
  model_name: this.option_values.model_name,
176
160
  settings: this.option_values.settings,
177
161
  model_api_key_credential_id: this.option_values.model_api_key_credential_id,
162
+ validator_id: this.option_values.validator_id,
178
163
  budget_id: this.option_values.budget_id,
179
164
  memory_id: this.option_values.memory_id,
180
165
  wiper_id: this.option_values.wiper_id,
181
166
  log_group_id: this.option_values.log_group_id,
182
- json_force: this.option_values.json_force,
183
- json_system_prompt: this.option_values.json_system_prompt,
184
- json_correction: this.option_values.json_correction,
185
167
  model_category: this.option_values.model_category,
186
168
  model_field: this.option_values.model_field,
187
169
  model_tag: this.option_values.model_tag
@@ -59,6 +59,54 @@ export class RaceAskCommand extends BaseFinalCommand
59
59
  optional: true,
60
60
  args: ["memory_limit"],
61
61
  defaults: [""]
62
+ },
63
+ {
64
+ name: "log_group_id",
65
+ short: "",
66
+ description: "Provides the value of 'log_group_id' in body",
67
+ optional: true,
68
+ args: ["log_group_id"],
69
+ defaults: [""]
70
+ },
71
+ {
72
+ name: "memory_id",
73
+ short: "",
74
+ description: "Provides the value of 'memory_id' in body",
75
+ optional: true,
76
+ args: ["memory_id"],
77
+ defaults: [""]
78
+ },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
87
+ {
88
+ name: "tags",
89
+ short: "",
90
+ description: "Provides the value of 'tags' in body",
91
+ optional: true,
92
+ args: ["tags"],
93
+ defaults: [""]
94
+ },
95
+ {
96
+ name: "knowledgebase_ids",
97
+ short: "",
98
+ description: "Provides the value of 'knowledgebase_ids' in body",
99
+ optional: true,
100
+ args: ["knowledgebase_ids"],
101
+ defaults: [""]
102
+ },
103
+ {
104
+ name: "guardrail_ids",
105
+ short: "",
106
+ description: "Provides the value of 'guardrail_ids' in body",
107
+ optional: true,
108
+ args: ["guardrail_ids"],
109
+ defaults: [""]
62
110
  }
63
111
  ]);
64
112
  }
@@ -76,7 +124,13 @@ export class RaceAskCommand extends BaseFinalCommand
76
124
  chat_id: this.option_values.chat_id,
77
125
  run_id: this.option_values.run_id,
78
126
  message: this.option_values.message,
79
- memory_limit: this.option_values.memory_limit
127
+ memory_limit: this.option_values.memory_limit,
128
+ log_group_id: this.option_values.log_group_id,
129
+ memory_id: this.option_values.memory_id,
130
+ validator_id: this.option_values.validator_id,
131
+ tags: this.option_values.tags,
132
+ knowledgebase_ids: this.option_values.knowledgebase_ids,
133
+ guardrail_ids: this.option_values.guardrail_ids
80
134
  });
81
135
  this.app.logger.success(JSON.stringify(ans));
82
136
  }
@@ -44,6 +44,14 @@ export class RaceCreateCommand extends BaseFinalCommand
44
44
  args: ["name"],
45
45
  defaults: [""]
46
46
  },
47
+ {
48
+ name: "validator_id",
49
+ short: "",
50
+ description: "Provides the value of 'validator_id' in body",
51
+ optional: true,
52
+ args: ["validator_id"],
53
+ defaults: [""]
54
+ },
47
55
  {
48
56
  name: "budget_id",
49
57
  short: "",
@@ -131,6 +139,7 @@ export class RaceCreateCommand extends BaseFinalCommand
131
139
  let ans = await server.race.Create({
132
140
  workspace_id: this.option_values.workspace_id,
133
141
  name: this.option_values.name,
142
+ validator_id: this.option_values.validator_id,
134
143
  budget_id: this.option_values.budget_id,
135
144
  memory_id: this.option_values.memory_id,
136
145
  wiper_id: this.option_values.wiper_id,
@@ -44,6 +44,14 @@ export class RaceUpdateCommand extends BaseFinalCommand
44
44
  args: ["name"],
45
45
  defaults: [""]
46
46
  },
47
+ {
48
+ name: "validator_id",
49
+ short: "",
50
+ description: "Provides the value of 'validator_id' in body",
51
+ optional: true,
52
+ args: ["validator_id"],
53
+ defaults: [""]
54
+ },
47
55
  {
48
56
  name: "budget_id",
49
57
  short: "",
@@ -131,6 +139,7 @@ export class RaceUpdateCommand extends BaseFinalCommand
131
139
  let ans = await server.race.Update(this.arg_values[0], {
132
140
  workspace_id: this.option_values.workspace_id,
133
141
  name: this.option_values.name,
142
+ validator_id: this.option_values.validator_id,
134
143
  budget_id: this.option_values.budget_id,
135
144
  memory_id: this.option_values.memory_id,
136
145
  wiper_id: this.option_values.wiper_id,
@@ -59,6 +59,54 @@ export class RouterAskCommand extends BaseFinalCommand
59
59
  optional: true,
60
60
  args: ["memory_limit"],
61
61
  defaults: [""]
62
+ },
63
+ {
64
+ name: "log_group_id",
65
+ short: "",
66
+ description: "Provides the value of 'log_group_id' in body",
67
+ optional: true,
68
+ args: ["log_group_id"],
69
+ defaults: [""]
70
+ },
71
+ {
72
+ name: "memory_id",
73
+ short: "",
74
+ description: "Provides the value of 'memory_id' in body",
75
+ optional: true,
76
+ args: ["memory_id"],
77
+ defaults: [""]
78
+ },
79
+ {
80
+ name: "validator_id",
81
+ short: "",
82
+ description: "Provides the value of 'validator_id' in body",
83
+ optional: true,
84
+ args: ["validator_id"],
85
+ defaults: [""]
86
+ },
87
+ {
88
+ name: "tags",
89
+ short: "",
90
+ description: "Provides the value of 'tags' in body",
91
+ optional: true,
92
+ args: ["tags"],
93
+ defaults: [""]
94
+ },
95
+ {
96
+ name: "knowledgebase_ids",
97
+ short: "",
98
+ description: "Provides the value of 'knowledgebase_ids' in body",
99
+ optional: true,
100
+ args: ["knowledgebase_ids"],
101
+ defaults: [""]
102
+ },
103
+ {
104
+ name: "guardrail_ids",
105
+ short: "",
106
+ description: "Provides the value of 'guardrail_ids' in body",
107
+ optional: true,
108
+ args: ["guardrail_ids"],
109
+ defaults: [""]
62
110
  }
63
111
  ]);
64
112
  }
@@ -76,7 +124,13 @@ export class RouterAskCommand extends BaseFinalCommand
76
124
  chat_id: this.option_values.chat_id,
77
125
  run_id: this.option_values.run_id,
78
126
  message: this.option_values.message,
79
- memory_limit: this.option_values.memory_limit
127
+ memory_limit: this.option_values.memory_limit,
128
+ log_group_id: this.option_values.log_group_id,
129
+ memory_id: this.option_values.memory_id,
130
+ validator_id: this.option_values.validator_id,
131
+ tags: this.option_values.tags,
132
+ knowledgebase_ids: this.option_values.knowledgebase_ids,
133
+ guardrail_ids: this.option_values.guardrail_ids
80
134
  });
81
135
  this.app.logger.success(JSON.stringify(ans));
82
136
  }
@@ -60,6 +60,14 @@ export class RouterCreateCommand extends BaseFinalCommand
60
60
  args: ["default_inferencer_id"],
61
61
  defaults: [""]
62
62
  },
63
+ {
64
+ name: "validator_id",
65
+ short: "",
66
+ description: "Provides the value of 'validator_id' in body",
67
+ optional: true,
68
+ args: ["validator_id"],
69
+ defaults: [""]
70
+ },
63
71
  {
64
72
  name: "budget_id",
65
73
  short: "",
@@ -149,6 +157,7 @@ export class RouterCreateCommand extends BaseFinalCommand
149
157
  name: this.option_values.name,
150
158
  default_inferencer_type: this.option_values.default_inferencer_type,
151
159
  default_inferencer_id: this.option_values.default_inferencer_id,
160
+ validator_id: this.option_values.validator_id,
152
161
  budget_id: this.option_values.budget_id,
153
162
  memory_id: this.option_values.memory_id,
154
163
  wiper_id: this.option_values.wiper_id,
@@ -60,6 +60,14 @@ export class RouterUpdateCommand extends BaseFinalCommand
60
60
  args: ["default_inferencer_id"],
61
61
  defaults: [""]
62
62
  },
63
+ {
64
+ name: "validator_id",
65
+ short: "",
66
+ description: "Provides the value of 'validator_id' in body",
67
+ optional: true,
68
+ args: ["validator_id"],
69
+ defaults: [""]
70
+ },
63
71
  {
64
72
  name: "budget_id",
65
73
  short: "",
@@ -149,6 +157,7 @@ export class RouterUpdateCommand extends BaseFinalCommand
149
157
  name: this.option_values.name,
150
158
  default_inferencer_type: this.option_values.default_inferencer_type,
151
159
  default_inferencer_id: this.option_values.default_inferencer_id,
160
+ validator_id: this.option_values.validator_id,
152
161
  budget_id: this.option_values.budget_id,
153
162
  memory_id: this.option_values.memory_id,
154
163
  wiper_id: this.option_values.wiper_id,
@@ -56,7 +56,7 @@ export class ValidatorCreateCommand extends BaseFinalCommand
56
56
  name: "expected_format",
57
57
  short: "",
58
58
  description: "Provides the value of 'expected_format' in body",
59
- optional: false,
59
+ optional: true,
60
60
  args: ["expected_format"],
61
61
  defaults: [""]
62
62
  },
@@ -56,7 +56,7 @@ export class ValidatorUpdateCommand extends BaseFinalCommand
56
56
  name: "expected_format",
57
57
  short: "",
58
58
  description: "Provides the value of 'expected_format' in body",
59
- optional: false,
59
+ optional: true,
60
60
  args: ["expected_format"],
61
61
  defaults: [""]
62
62
  },
@@ -31,6 +31,7 @@ export class FailoverMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer
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 FailoverMetaTable extends NSBaseMetaTable<NamirasoftInferenceServer
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),