@aws-sdk/client-bedrock 3.929.0 → 3.930.0
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-cjs/index.js +0 -338
- package/dist-es/models/models_0.js +0 -252
- package/dist-es/models/models_1.js +0 -86
- package/dist-types/models/models_0.d.ts +84 -21
- package/dist-types/models/models_1.d.ts +28 -7
- package/dist-types/ts3.4/models/models_0.d.ts +0 -54
- package/dist-types/ts3.4/models/models_1.d.ts +0 -16
- package/package.json +34 -34
|
@@ -124,50 +124,6 @@ export class ResourceInUseException extends __BaseException {
|
|
|
124
124
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
125
125
|
}
|
|
126
126
|
}
|
|
127
|
-
export var AutomatedReasoningPolicyTypeValueAnnotation;
|
|
128
|
-
(function (AutomatedReasoningPolicyTypeValueAnnotation) {
|
|
129
|
-
AutomatedReasoningPolicyTypeValueAnnotation.visit = (value, visitor) => {
|
|
130
|
-
if (value.addTypeValue !== undefined)
|
|
131
|
-
return visitor.addTypeValue(value.addTypeValue);
|
|
132
|
-
if (value.updateTypeValue !== undefined)
|
|
133
|
-
return visitor.updateTypeValue(value.updateTypeValue);
|
|
134
|
-
if (value.deleteTypeValue !== undefined)
|
|
135
|
-
return visitor.deleteTypeValue(value.deleteTypeValue);
|
|
136
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
137
|
-
};
|
|
138
|
-
})(AutomatedReasoningPolicyTypeValueAnnotation || (AutomatedReasoningPolicyTypeValueAnnotation = {}));
|
|
139
|
-
export var AutomatedReasoningPolicyAnnotation;
|
|
140
|
-
(function (AutomatedReasoningPolicyAnnotation) {
|
|
141
|
-
AutomatedReasoningPolicyAnnotation.visit = (value, visitor) => {
|
|
142
|
-
if (value.addType !== undefined)
|
|
143
|
-
return visitor.addType(value.addType);
|
|
144
|
-
if (value.updateType !== undefined)
|
|
145
|
-
return visitor.updateType(value.updateType);
|
|
146
|
-
if (value.deleteType !== undefined)
|
|
147
|
-
return visitor.deleteType(value.deleteType);
|
|
148
|
-
if (value.addVariable !== undefined)
|
|
149
|
-
return visitor.addVariable(value.addVariable);
|
|
150
|
-
if (value.updateVariable !== undefined)
|
|
151
|
-
return visitor.updateVariable(value.updateVariable);
|
|
152
|
-
if (value.deleteVariable !== undefined)
|
|
153
|
-
return visitor.deleteVariable(value.deleteVariable);
|
|
154
|
-
if (value.addRule !== undefined)
|
|
155
|
-
return visitor.addRule(value.addRule);
|
|
156
|
-
if (value.updateRule !== undefined)
|
|
157
|
-
return visitor.updateRule(value.updateRule);
|
|
158
|
-
if (value.deleteRule !== undefined)
|
|
159
|
-
return visitor.deleteRule(value.deleteRule);
|
|
160
|
-
if (value.addRuleFromNaturalLanguage !== undefined)
|
|
161
|
-
return visitor.addRuleFromNaturalLanguage(value.addRuleFromNaturalLanguage);
|
|
162
|
-
if (value.updateFromRulesFeedback !== undefined)
|
|
163
|
-
return visitor.updateFromRulesFeedback(value.updateFromRulesFeedback);
|
|
164
|
-
if (value.updateFromScenarioFeedback !== undefined)
|
|
165
|
-
return visitor.updateFromScenarioFeedback(value.updateFromScenarioFeedback);
|
|
166
|
-
if (value.ingestContent !== undefined)
|
|
167
|
-
return visitor.ingestContent(value.ingestContent);
|
|
168
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
169
|
-
};
|
|
170
|
-
})(AutomatedReasoningPolicyAnnotation || (AutomatedReasoningPolicyAnnotation = {}));
|
|
171
127
|
export const AutomatedReasoningPolicyBuildWorkflowType = {
|
|
172
128
|
IMPORT_POLICY: "IMPORT_POLICY",
|
|
173
129
|
INGEST_CONTENT: "INGEST_CONTENT",
|
|
@@ -192,97 +148,19 @@ export const AutomatedReasoningPolicyBuildResultAssetType = {
|
|
|
192
148
|
POLICY_DEFINITION: "POLICY_DEFINITION",
|
|
193
149
|
QUALITY_REPORT: "QUALITY_REPORT",
|
|
194
150
|
};
|
|
195
|
-
export var AutomatedReasoningPolicyMutation;
|
|
196
|
-
(function (AutomatedReasoningPolicyMutation) {
|
|
197
|
-
AutomatedReasoningPolicyMutation.visit = (value, visitor) => {
|
|
198
|
-
if (value.addType !== undefined)
|
|
199
|
-
return visitor.addType(value.addType);
|
|
200
|
-
if (value.updateType !== undefined)
|
|
201
|
-
return visitor.updateType(value.updateType);
|
|
202
|
-
if (value.deleteType !== undefined)
|
|
203
|
-
return visitor.deleteType(value.deleteType);
|
|
204
|
-
if (value.addVariable !== undefined)
|
|
205
|
-
return visitor.addVariable(value.addVariable);
|
|
206
|
-
if (value.updateVariable !== undefined)
|
|
207
|
-
return visitor.updateVariable(value.updateVariable);
|
|
208
|
-
if (value.deleteVariable !== undefined)
|
|
209
|
-
return visitor.deleteVariable(value.deleteVariable);
|
|
210
|
-
if (value.addRule !== undefined)
|
|
211
|
-
return visitor.addRule(value.addRule);
|
|
212
|
-
if (value.updateRule !== undefined)
|
|
213
|
-
return visitor.updateRule(value.updateRule);
|
|
214
|
-
if (value.deleteRule !== undefined)
|
|
215
|
-
return visitor.deleteRule(value.deleteRule);
|
|
216
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
217
|
-
};
|
|
218
|
-
})(AutomatedReasoningPolicyMutation || (AutomatedReasoningPolicyMutation = {}));
|
|
219
|
-
export var AutomatedReasoningPolicyBuildStepContext;
|
|
220
|
-
(function (AutomatedReasoningPolicyBuildStepContext) {
|
|
221
|
-
AutomatedReasoningPolicyBuildStepContext.visit = (value, visitor) => {
|
|
222
|
-
if (value.planning !== undefined)
|
|
223
|
-
return visitor.planning(value.planning);
|
|
224
|
-
if (value.mutation !== undefined)
|
|
225
|
-
return visitor.mutation(value.mutation);
|
|
226
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
227
|
-
};
|
|
228
|
-
})(AutomatedReasoningPolicyBuildStepContext || (AutomatedReasoningPolicyBuildStepContext = {}));
|
|
229
151
|
export const AutomatedReasoningPolicyBuildMessageType = {
|
|
230
152
|
ERROR: "ERROR",
|
|
231
153
|
INFO: "INFO",
|
|
232
154
|
WARNING: "WARNING",
|
|
233
155
|
};
|
|
234
|
-
export var AutomatedReasoningPolicyDefinitionElement;
|
|
235
|
-
(function (AutomatedReasoningPolicyDefinitionElement) {
|
|
236
|
-
AutomatedReasoningPolicyDefinitionElement.visit = (value, visitor) => {
|
|
237
|
-
if (value.policyDefinitionVariable !== undefined)
|
|
238
|
-
return visitor.policyDefinitionVariable(value.policyDefinitionVariable);
|
|
239
|
-
if (value.policyDefinitionType !== undefined)
|
|
240
|
-
return visitor.policyDefinitionType(value.policyDefinitionType);
|
|
241
|
-
if (value.policyDefinitionRule !== undefined)
|
|
242
|
-
return visitor.policyDefinitionRule(value.policyDefinitionRule);
|
|
243
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
244
|
-
};
|
|
245
|
-
})(AutomatedReasoningPolicyDefinitionElement || (AutomatedReasoningPolicyDefinitionElement = {}));
|
|
246
156
|
export const AutomatedReasoningPolicyAnnotationStatus = {
|
|
247
157
|
APPLIED: "APPLIED",
|
|
248
158
|
FAILED: "FAILED",
|
|
249
159
|
};
|
|
250
|
-
export var AutomatedReasoningPolicyBuildResultAssets;
|
|
251
|
-
(function (AutomatedReasoningPolicyBuildResultAssets) {
|
|
252
|
-
AutomatedReasoningPolicyBuildResultAssets.visit = (value, visitor) => {
|
|
253
|
-
if (value.policyDefinition !== undefined)
|
|
254
|
-
return visitor.policyDefinition(value.policyDefinition);
|
|
255
|
-
if (value.qualityReport !== undefined)
|
|
256
|
-
return visitor.qualityReport(value.qualityReport);
|
|
257
|
-
if (value.buildLog !== undefined)
|
|
258
|
-
return visitor.buildLog(value.buildLog);
|
|
259
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
260
|
-
};
|
|
261
|
-
})(AutomatedReasoningPolicyBuildResultAssets || (AutomatedReasoningPolicyBuildResultAssets = {}));
|
|
262
160
|
export const AutomatedReasoningCheckLogicWarningType = {
|
|
263
161
|
ALWAYS_FALSE: "ALWAYS_FALSE",
|
|
264
162
|
ALWAYS_TRUE: "ALWAYS_TRUE",
|
|
265
163
|
};
|
|
266
|
-
export var AutomatedReasoningCheckFinding;
|
|
267
|
-
(function (AutomatedReasoningCheckFinding) {
|
|
268
|
-
AutomatedReasoningCheckFinding.visit = (value, visitor) => {
|
|
269
|
-
if (value.valid !== undefined)
|
|
270
|
-
return visitor.valid(value.valid);
|
|
271
|
-
if (value.invalid !== undefined)
|
|
272
|
-
return visitor.invalid(value.invalid);
|
|
273
|
-
if (value.satisfiable !== undefined)
|
|
274
|
-
return visitor.satisfiable(value.satisfiable);
|
|
275
|
-
if (value.impossible !== undefined)
|
|
276
|
-
return visitor.impossible(value.impossible);
|
|
277
|
-
if (value.translationAmbiguous !== undefined)
|
|
278
|
-
return visitor.translationAmbiguous(value.translationAmbiguous);
|
|
279
|
-
if (value.tooComplex !== undefined)
|
|
280
|
-
return visitor.tooComplex(value.tooComplex);
|
|
281
|
-
if (value.noTranslations !== undefined)
|
|
282
|
-
return visitor.noTranslations(value.noTranslations);
|
|
283
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
284
|
-
};
|
|
285
|
-
})(AutomatedReasoningCheckFinding || (AutomatedReasoningCheckFinding = {}));
|
|
286
164
|
export const AutomatedReasoningPolicyTestRunResult = {
|
|
287
165
|
FAILED: "FAILED",
|
|
288
166
|
PASSED: "PASSED",
|
|
@@ -294,24 +172,6 @@ export const AutomatedReasoningPolicyTestRunStatus = {
|
|
|
294
172
|
NOT_STARTED: "NOT_STARTED",
|
|
295
173
|
SCHEDULED: "SCHEDULED",
|
|
296
174
|
};
|
|
297
|
-
export var AutomatedReasoningPolicyWorkflowTypeContent;
|
|
298
|
-
(function (AutomatedReasoningPolicyWorkflowTypeContent) {
|
|
299
|
-
AutomatedReasoningPolicyWorkflowTypeContent.visit = (value, visitor) => {
|
|
300
|
-
if (value.documents !== undefined)
|
|
301
|
-
return visitor.documents(value.documents);
|
|
302
|
-
if (value.policyRepairAssets !== undefined)
|
|
303
|
-
return visitor.policyRepairAssets(value.policyRepairAssets);
|
|
304
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
305
|
-
};
|
|
306
|
-
})(AutomatedReasoningPolicyWorkflowTypeContent || (AutomatedReasoningPolicyWorkflowTypeContent = {}));
|
|
307
|
-
export var EndpointConfig;
|
|
308
|
-
(function (EndpointConfig) {
|
|
309
|
-
EndpointConfig.visit = (value, visitor) => {
|
|
310
|
-
if (value.sageMaker !== undefined)
|
|
311
|
-
return visitor.sageMaker(value.sageMaker);
|
|
312
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
313
|
-
};
|
|
314
|
-
})(EndpointConfig || (EndpointConfig = {}));
|
|
315
175
|
export const Status = {
|
|
316
176
|
INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT",
|
|
317
177
|
REGISTERED: "REGISTERED",
|
|
@@ -340,22 +200,6 @@ export const SortOrder = {
|
|
|
340
200
|
ASCENDING: "Ascending",
|
|
341
201
|
DESCENDING: "Descending",
|
|
342
202
|
};
|
|
343
|
-
export var ModelDataSource;
|
|
344
|
-
(function (ModelDataSource) {
|
|
345
|
-
ModelDataSource.visit = (value, visitor) => {
|
|
346
|
-
if (value.s3DataSource !== undefined)
|
|
347
|
-
return visitor.s3DataSource(value.s3DataSource);
|
|
348
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
349
|
-
};
|
|
350
|
-
})(ModelDataSource || (ModelDataSource = {}));
|
|
351
|
-
export var CustomizationConfig;
|
|
352
|
-
(function (CustomizationConfig) {
|
|
353
|
-
CustomizationConfig.visit = (value, visitor) => {
|
|
354
|
-
if (value.distillationConfig !== undefined)
|
|
355
|
-
return visitor.distillationConfig(value.distillationConfig);
|
|
356
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
357
|
-
};
|
|
358
|
-
})(CustomizationConfig || (CustomizationConfig = {}));
|
|
359
203
|
export const CustomizationType = {
|
|
360
204
|
CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING",
|
|
361
205
|
DISTILLATION: "DISTILLATION",
|
|
@@ -367,28 +211,6 @@ export const ModelStatus = {
|
|
|
367
211
|
CREATING: "Creating",
|
|
368
212
|
FAILED: "Failed",
|
|
369
213
|
};
|
|
370
|
-
export var InvocationLogSource;
|
|
371
|
-
(function (InvocationLogSource) {
|
|
372
|
-
InvocationLogSource.visit = (value, visitor) => {
|
|
373
|
-
if (value.s3Uri !== undefined)
|
|
374
|
-
return visitor.s3Uri(value.s3Uri);
|
|
375
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
376
|
-
};
|
|
377
|
-
})(InvocationLogSource || (InvocationLogSource = {}));
|
|
378
|
-
export var RequestMetadataFilters;
|
|
379
|
-
(function (RequestMetadataFilters) {
|
|
380
|
-
RequestMetadataFilters.visit = (value, visitor) => {
|
|
381
|
-
if (value.equals !== undefined)
|
|
382
|
-
return visitor.equals(value.equals);
|
|
383
|
-
if (value.notEquals !== undefined)
|
|
384
|
-
return visitor.notEquals(value.notEquals);
|
|
385
|
-
if (value.andAll !== undefined)
|
|
386
|
-
return visitor.andAll(value.andAll);
|
|
387
|
-
if (value.orAll !== undefined)
|
|
388
|
-
return visitor.orAll(value.orAll);
|
|
389
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
390
|
-
};
|
|
391
|
-
})(RequestMetadataFilters || (RequestMetadataFilters = {}));
|
|
392
214
|
export const EvaluationJobStatus = {
|
|
393
215
|
COMPLETED: "Completed",
|
|
394
216
|
DELETING: "Deleting",
|
|
@@ -401,32 +223,6 @@ export const ApplicationType = {
|
|
|
401
223
|
MODEL_EVALUATION: "ModelEvaluation",
|
|
402
224
|
RAG_EVALUATION: "RagEvaluation",
|
|
403
225
|
};
|
|
404
|
-
export var RatingScaleItemValue;
|
|
405
|
-
(function (RatingScaleItemValue) {
|
|
406
|
-
RatingScaleItemValue.visit = (value, visitor) => {
|
|
407
|
-
if (value.stringValue !== undefined)
|
|
408
|
-
return visitor.stringValue(value.stringValue);
|
|
409
|
-
if (value.floatValue !== undefined)
|
|
410
|
-
return visitor.floatValue(value.floatValue);
|
|
411
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
412
|
-
};
|
|
413
|
-
})(RatingScaleItemValue || (RatingScaleItemValue = {}));
|
|
414
|
-
export var AutomatedEvaluationCustomMetricSource;
|
|
415
|
-
(function (AutomatedEvaluationCustomMetricSource) {
|
|
416
|
-
AutomatedEvaluationCustomMetricSource.visit = (value, visitor) => {
|
|
417
|
-
if (value.customMetricDefinition !== undefined)
|
|
418
|
-
return visitor.customMetricDefinition(value.customMetricDefinition);
|
|
419
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
420
|
-
};
|
|
421
|
-
})(AutomatedEvaluationCustomMetricSource || (AutomatedEvaluationCustomMetricSource = {}));
|
|
422
|
-
export var EvaluationDatasetLocation;
|
|
423
|
-
(function (EvaluationDatasetLocation) {
|
|
424
|
-
EvaluationDatasetLocation.visit = (value, visitor) => {
|
|
425
|
-
if (value.s3Uri !== undefined)
|
|
426
|
-
return visitor.s3Uri(value.s3Uri);
|
|
427
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
428
|
-
};
|
|
429
|
-
})(EvaluationDatasetLocation || (EvaluationDatasetLocation = {}));
|
|
430
226
|
export const EvaluationTaskType = {
|
|
431
227
|
CLASSIFICATION: "Classification",
|
|
432
228
|
CUSTOM: "Custom",
|
|
@@ -434,38 +230,10 @@ export const EvaluationTaskType = {
|
|
|
434
230
|
QUESTION_AND_ANSWER: "QuestionAndAnswer",
|
|
435
231
|
SUMMARIZATION: "Summarization",
|
|
436
232
|
};
|
|
437
|
-
export var EvaluatorModelConfig;
|
|
438
|
-
(function (EvaluatorModelConfig) {
|
|
439
|
-
EvaluatorModelConfig.visit = (value, visitor) => {
|
|
440
|
-
if (value.bedrockEvaluatorModels !== undefined)
|
|
441
|
-
return visitor.bedrockEvaluatorModels(value.bedrockEvaluatorModels);
|
|
442
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
443
|
-
};
|
|
444
|
-
})(EvaluatorModelConfig || (EvaluatorModelConfig = {}));
|
|
445
|
-
export var EvaluationConfig;
|
|
446
|
-
(function (EvaluationConfig) {
|
|
447
|
-
EvaluationConfig.visit = (value, visitor) => {
|
|
448
|
-
if (value.automated !== undefined)
|
|
449
|
-
return visitor.automated(value.automated);
|
|
450
|
-
if (value.human !== undefined)
|
|
451
|
-
return visitor.human(value.human);
|
|
452
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
453
|
-
};
|
|
454
|
-
})(EvaluationConfig || (EvaluationConfig = {}));
|
|
455
233
|
export const PerformanceConfigLatency = {
|
|
456
234
|
OPTIMIZED: "optimized",
|
|
457
235
|
STANDARD: "standard",
|
|
458
236
|
};
|
|
459
|
-
export var EvaluationModelConfig;
|
|
460
|
-
(function (EvaluationModelConfig) {
|
|
461
|
-
EvaluationModelConfig.visit = (value, visitor) => {
|
|
462
|
-
if (value.bedrockModel !== undefined)
|
|
463
|
-
return visitor.bedrockModel(value.bedrockModel);
|
|
464
|
-
if (value.precomputedInferenceSource !== undefined)
|
|
465
|
-
return visitor.precomputedInferenceSource(value.precomputedInferenceSource);
|
|
466
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
467
|
-
};
|
|
468
|
-
})(EvaluationModelConfig || (EvaluationModelConfig = {}));
|
|
469
237
|
export const ExternalSourceType = {
|
|
470
238
|
BYTE_CONTENT: "BYTE_CONTENT",
|
|
471
239
|
S3: "S3",
|
|
@@ -487,16 +255,6 @@ export const RerankingMetadataSelectionMode = {
|
|
|
487
255
|
ALL: "ALL",
|
|
488
256
|
SELECTIVE: "SELECTIVE",
|
|
489
257
|
};
|
|
490
|
-
export var RerankingMetadataSelectiveModeConfiguration;
|
|
491
|
-
(function (RerankingMetadataSelectiveModeConfiguration) {
|
|
492
|
-
RerankingMetadataSelectiveModeConfiguration.visit = (value, visitor) => {
|
|
493
|
-
if (value.fieldsToInclude !== undefined)
|
|
494
|
-
return visitor.fieldsToInclude(value.fieldsToInclude);
|
|
495
|
-
if (value.fieldsToExclude !== undefined)
|
|
496
|
-
return visitor.fieldsToExclude(value.fieldsToExclude);
|
|
497
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
498
|
-
};
|
|
499
|
-
})(RerankingMetadataSelectiveModeConfiguration || (RerankingMetadataSelectiveModeConfiguration = {}));
|
|
500
258
|
export const VectorSearchRerankingConfigurationType = {
|
|
501
259
|
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
502
260
|
};
|
|
@@ -504,16 +262,6 @@ export const RetrieveAndGenerateType = {
|
|
|
504
262
|
EXTERNAL_SOURCES: "EXTERNAL_SOURCES",
|
|
505
263
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
506
264
|
};
|
|
507
|
-
export var EvaluationPrecomputedRagSourceConfig;
|
|
508
|
-
(function (EvaluationPrecomputedRagSourceConfig) {
|
|
509
|
-
EvaluationPrecomputedRagSourceConfig.visit = (value, visitor) => {
|
|
510
|
-
if (value.retrieveSourceConfig !== undefined)
|
|
511
|
-
return visitor.retrieveSourceConfig(value.retrieveSourceConfig);
|
|
512
|
-
if (value.retrieveAndGenerateSourceConfig !== undefined)
|
|
513
|
-
return visitor.retrieveAndGenerateSourceConfig(value.retrieveAndGenerateSourceConfig);
|
|
514
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
515
|
-
};
|
|
516
|
-
})(EvaluationPrecomputedRagSourceConfig || (EvaluationPrecomputedRagSourceConfig = {}));
|
|
517
265
|
export const EvaluationJobType = {
|
|
518
266
|
AUTOMATED: "Automated",
|
|
519
267
|
HUMAN: "Human",
|
|
@@ -9,14 +9,6 @@ export const GuardrailStatus = {
|
|
|
9
9
|
UPDATING: "UPDATING",
|
|
10
10
|
VERSIONING: "VERSIONING",
|
|
11
11
|
};
|
|
12
|
-
export var InferenceProfileModelSource;
|
|
13
|
-
(function (InferenceProfileModelSource) {
|
|
14
|
-
InferenceProfileModelSource.visit = (value, visitor) => {
|
|
15
|
-
if (value.copyFrom !== undefined)
|
|
16
|
-
return visitor.copyFrom(value.copyFrom);
|
|
17
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
18
|
-
};
|
|
19
|
-
})(InferenceProfileModelSource || (InferenceProfileModelSource = {}));
|
|
20
12
|
export const InferenceProfileStatus = {
|
|
21
13
|
ACTIVE: "ACTIVE",
|
|
22
14
|
};
|
|
@@ -37,22 +29,6 @@ export const ModelImportJobStatus = {
|
|
|
37
29
|
export const S3InputFormat = {
|
|
38
30
|
JSONL: "JSONL",
|
|
39
31
|
};
|
|
40
|
-
export var ModelInvocationJobInputDataConfig;
|
|
41
|
-
(function (ModelInvocationJobInputDataConfig) {
|
|
42
|
-
ModelInvocationJobInputDataConfig.visit = (value, visitor) => {
|
|
43
|
-
if (value.s3InputDataConfig !== undefined)
|
|
44
|
-
return visitor.s3InputDataConfig(value.s3InputDataConfig);
|
|
45
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
46
|
-
};
|
|
47
|
-
})(ModelInvocationJobInputDataConfig || (ModelInvocationJobInputDataConfig = {}));
|
|
48
|
-
export var ModelInvocationJobOutputDataConfig;
|
|
49
|
-
(function (ModelInvocationJobOutputDataConfig) {
|
|
50
|
-
ModelInvocationJobOutputDataConfig.visit = (value, visitor) => {
|
|
51
|
-
if (value.s3OutputDataConfig !== undefined)
|
|
52
|
-
return visitor.s3OutputDataConfig(value.s3OutputDataConfig);
|
|
53
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
54
|
-
};
|
|
55
|
-
})(ModelInvocationJobOutputDataConfig || (ModelInvocationJobOutputDataConfig = {}));
|
|
56
32
|
export const ModelInvocationJobStatus = {
|
|
57
33
|
COMPLETED: "Completed",
|
|
58
34
|
EXPIRED: "Expired",
|
|
@@ -141,65 +117,3 @@ export const FineTuningJobStatus = {
|
|
|
141
117
|
STOPPED: "Stopped",
|
|
142
118
|
STOPPING: "Stopping",
|
|
143
119
|
};
|
|
144
|
-
export var RetrievalFilter;
|
|
145
|
-
(function (RetrievalFilter) {
|
|
146
|
-
RetrievalFilter.visit = (value, visitor) => {
|
|
147
|
-
if (value.equals !== undefined)
|
|
148
|
-
return visitor.equals(value.equals);
|
|
149
|
-
if (value.notEquals !== undefined)
|
|
150
|
-
return visitor.notEquals(value.notEquals);
|
|
151
|
-
if (value.greaterThan !== undefined)
|
|
152
|
-
return visitor.greaterThan(value.greaterThan);
|
|
153
|
-
if (value.greaterThanOrEquals !== undefined)
|
|
154
|
-
return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
|
|
155
|
-
if (value.lessThan !== undefined)
|
|
156
|
-
return visitor.lessThan(value.lessThan);
|
|
157
|
-
if (value.lessThanOrEquals !== undefined)
|
|
158
|
-
return visitor.lessThanOrEquals(value.lessThanOrEquals);
|
|
159
|
-
if (value.in !== undefined)
|
|
160
|
-
return visitor.in(value.in);
|
|
161
|
-
if (value.notIn !== undefined)
|
|
162
|
-
return visitor.notIn(value.notIn);
|
|
163
|
-
if (value.startsWith !== undefined)
|
|
164
|
-
return visitor.startsWith(value.startsWith);
|
|
165
|
-
if (value.listContains !== undefined)
|
|
166
|
-
return visitor.listContains(value.listContains);
|
|
167
|
-
if (value.stringContains !== undefined)
|
|
168
|
-
return visitor.stringContains(value.stringContains);
|
|
169
|
-
if (value.andAll !== undefined)
|
|
170
|
-
return visitor.andAll(value.andAll);
|
|
171
|
-
if (value.orAll !== undefined)
|
|
172
|
-
return visitor.orAll(value.orAll);
|
|
173
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
174
|
-
};
|
|
175
|
-
})(RetrievalFilter || (RetrievalFilter = {}));
|
|
176
|
-
export var KnowledgeBaseConfig;
|
|
177
|
-
(function (KnowledgeBaseConfig) {
|
|
178
|
-
KnowledgeBaseConfig.visit = (value, visitor) => {
|
|
179
|
-
if (value.retrieveConfig !== undefined)
|
|
180
|
-
return visitor.retrieveConfig(value.retrieveConfig);
|
|
181
|
-
if (value.retrieveAndGenerateConfig !== undefined)
|
|
182
|
-
return visitor.retrieveAndGenerateConfig(value.retrieveAndGenerateConfig);
|
|
183
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
184
|
-
};
|
|
185
|
-
})(KnowledgeBaseConfig || (KnowledgeBaseConfig = {}));
|
|
186
|
-
export var RAGConfig;
|
|
187
|
-
(function (RAGConfig) {
|
|
188
|
-
RAGConfig.visit = (value, visitor) => {
|
|
189
|
-
if (value.knowledgeBaseConfig !== undefined)
|
|
190
|
-
return visitor.knowledgeBaseConfig(value.knowledgeBaseConfig);
|
|
191
|
-
if (value.precomputedRagSourceConfig !== undefined)
|
|
192
|
-
return visitor.precomputedRagSourceConfig(value.precomputedRagSourceConfig);
|
|
193
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
194
|
-
};
|
|
195
|
-
})(RAGConfig || (RAGConfig = {}));
|
|
196
|
-
export var EvaluationInferenceConfig;
|
|
197
|
-
(function (EvaluationInferenceConfig) {
|
|
198
|
-
EvaluationInferenceConfig.visit = (value, visitor) => {
|
|
199
|
-
if (value.models !== undefined)
|
|
200
|
-
return visitor.models(value.models);
|
|
201
|
-
if (value.ragConfigs !== undefined)
|
|
202
|
-
return visitor.ragConfigs(value.ragConfigs);
|
|
203
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
204
|
-
};
|
|
205
|
-
})(EvaluationInferenceConfig || (EvaluationInferenceConfig = {}));
|