@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
package/dist-cjs/index.js
CHANGED
|
@@ -251,50 +251,6 @@ let ResourceInUseException$1 = class ResourceInUseException extends BedrockServi
|
|
|
251
251
|
Object.setPrototypeOf(this, ResourceInUseException.prototype);
|
|
252
252
|
}
|
|
253
253
|
};
|
|
254
|
-
exports.AutomatedReasoningPolicyTypeValueAnnotation = void 0;
|
|
255
|
-
(function (AutomatedReasoningPolicyTypeValueAnnotation) {
|
|
256
|
-
AutomatedReasoningPolicyTypeValueAnnotation.visit = (value, visitor) => {
|
|
257
|
-
if (value.addTypeValue !== undefined)
|
|
258
|
-
return visitor.addTypeValue(value.addTypeValue);
|
|
259
|
-
if (value.updateTypeValue !== undefined)
|
|
260
|
-
return visitor.updateTypeValue(value.updateTypeValue);
|
|
261
|
-
if (value.deleteTypeValue !== undefined)
|
|
262
|
-
return visitor.deleteTypeValue(value.deleteTypeValue);
|
|
263
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
264
|
-
};
|
|
265
|
-
})(exports.AutomatedReasoningPolicyTypeValueAnnotation || (exports.AutomatedReasoningPolicyTypeValueAnnotation = {}));
|
|
266
|
-
exports.AutomatedReasoningPolicyAnnotation = void 0;
|
|
267
|
-
(function (AutomatedReasoningPolicyAnnotation) {
|
|
268
|
-
AutomatedReasoningPolicyAnnotation.visit = (value, visitor) => {
|
|
269
|
-
if (value.addType !== undefined)
|
|
270
|
-
return visitor.addType(value.addType);
|
|
271
|
-
if (value.updateType !== undefined)
|
|
272
|
-
return visitor.updateType(value.updateType);
|
|
273
|
-
if (value.deleteType !== undefined)
|
|
274
|
-
return visitor.deleteType(value.deleteType);
|
|
275
|
-
if (value.addVariable !== undefined)
|
|
276
|
-
return visitor.addVariable(value.addVariable);
|
|
277
|
-
if (value.updateVariable !== undefined)
|
|
278
|
-
return visitor.updateVariable(value.updateVariable);
|
|
279
|
-
if (value.deleteVariable !== undefined)
|
|
280
|
-
return visitor.deleteVariable(value.deleteVariable);
|
|
281
|
-
if (value.addRule !== undefined)
|
|
282
|
-
return visitor.addRule(value.addRule);
|
|
283
|
-
if (value.updateRule !== undefined)
|
|
284
|
-
return visitor.updateRule(value.updateRule);
|
|
285
|
-
if (value.deleteRule !== undefined)
|
|
286
|
-
return visitor.deleteRule(value.deleteRule);
|
|
287
|
-
if (value.addRuleFromNaturalLanguage !== undefined)
|
|
288
|
-
return visitor.addRuleFromNaturalLanguage(value.addRuleFromNaturalLanguage);
|
|
289
|
-
if (value.updateFromRulesFeedback !== undefined)
|
|
290
|
-
return visitor.updateFromRulesFeedback(value.updateFromRulesFeedback);
|
|
291
|
-
if (value.updateFromScenarioFeedback !== undefined)
|
|
292
|
-
return visitor.updateFromScenarioFeedback(value.updateFromScenarioFeedback);
|
|
293
|
-
if (value.ingestContent !== undefined)
|
|
294
|
-
return visitor.ingestContent(value.ingestContent);
|
|
295
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
296
|
-
};
|
|
297
|
-
})(exports.AutomatedReasoningPolicyAnnotation || (exports.AutomatedReasoningPolicyAnnotation = {}));
|
|
298
254
|
const AutomatedReasoningPolicyBuildWorkflowType = {
|
|
299
255
|
IMPORT_POLICY: "IMPORT_POLICY",
|
|
300
256
|
INGEST_CONTENT: "INGEST_CONTENT",
|
|
@@ -319,97 +275,19 @@ const AutomatedReasoningPolicyBuildResultAssetType = {
|
|
|
319
275
|
POLICY_DEFINITION: "POLICY_DEFINITION",
|
|
320
276
|
QUALITY_REPORT: "QUALITY_REPORT",
|
|
321
277
|
};
|
|
322
|
-
exports.AutomatedReasoningPolicyMutation = void 0;
|
|
323
|
-
(function (AutomatedReasoningPolicyMutation) {
|
|
324
|
-
AutomatedReasoningPolicyMutation.visit = (value, visitor) => {
|
|
325
|
-
if (value.addType !== undefined)
|
|
326
|
-
return visitor.addType(value.addType);
|
|
327
|
-
if (value.updateType !== undefined)
|
|
328
|
-
return visitor.updateType(value.updateType);
|
|
329
|
-
if (value.deleteType !== undefined)
|
|
330
|
-
return visitor.deleteType(value.deleteType);
|
|
331
|
-
if (value.addVariable !== undefined)
|
|
332
|
-
return visitor.addVariable(value.addVariable);
|
|
333
|
-
if (value.updateVariable !== undefined)
|
|
334
|
-
return visitor.updateVariable(value.updateVariable);
|
|
335
|
-
if (value.deleteVariable !== undefined)
|
|
336
|
-
return visitor.deleteVariable(value.deleteVariable);
|
|
337
|
-
if (value.addRule !== undefined)
|
|
338
|
-
return visitor.addRule(value.addRule);
|
|
339
|
-
if (value.updateRule !== undefined)
|
|
340
|
-
return visitor.updateRule(value.updateRule);
|
|
341
|
-
if (value.deleteRule !== undefined)
|
|
342
|
-
return visitor.deleteRule(value.deleteRule);
|
|
343
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
344
|
-
};
|
|
345
|
-
})(exports.AutomatedReasoningPolicyMutation || (exports.AutomatedReasoningPolicyMutation = {}));
|
|
346
|
-
exports.AutomatedReasoningPolicyBuildStepContext = void 0;
|
|
347
|
-
(function (AutomatedReasoningPolicyBuildStepContext) {
|
|
348
|
-
AutomatedReasoningPolicyBuildStepContext.visit = (value, visitor) => {
|
|
349
|
-
if (value.planning !== undefined)
|
|
350
|
-
return visitor.planning(value.planning);
|
|
351
|
-
if (value.mutation !== undefined)
|
|
352
|
-
return visitor.mutation(value.mutation);
|
|
353
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
354
|
-
};
|
|
355
|
-
})(exports.AutomatedReasoningPolicyBuildStepContext || (exports.AutomatedReasoningPolicyBuildStepContext = {}));
|
|
356
278
|
const AutomatedReasoningPolicyBuildMessageType = {
|
|
357
279
|
ERROR: "ERROR",
|
|
358
280
|
INFO: "INFO",
|
|
359
281
|
WARNING: "WARNING",
|
|
360
282
|
};
|
|
361
|
-
exports.AutomatedReasoningPolicyDefinitionElement = void 0;
|
|
362
|
-
(function (AutomatedReasoningPolicyDefinitionElement) {
|
|
363
|
-
AutomatedReasoningPolicyDefinitionElement.visit = (value, visitor) => {
|
|
364
|
-
if (value.policyDefinitionVariable !== undefined)
|
|
365
|
-
return visitor.policyDefinitionVariable(value.policyDefinitionVariable);
|
|
366
|
-
if (value.policyDefinitionType !== undefined)
|
|
367
|
-
return visitor.policyDefinitionType(value.policyDefinitionType);
|
|
368
|
-
if (value.policyDefinitionRule !== undefined)
|
|
369
|
-
return visitor.policyDefinitionRule(value.policyDefinitionRule);
|
|
370
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
371
|
-
};
|
|
372
|
-
})(exports.AutomatedReasoningPolicyDefinitionElement || (exports.AutomatedReasoningPolicyDefinitionElement = {}));
|
|
373
283
|
const AutomatedReasoningPolicyAnnotationStatus = {
|
|
374
284
|
APPLIED: "APPLIED",
|
|
375
285
|
FAILED: "FAILED",
|
|
376
286
|
};
|
|
377
|
-
exports.AutomatedReasoningPolicyBuildResultAssets = void 0;
|
|
378
|
-
(function (AutomatedReasoningPolicyBuildResultAssets) {
|
|
379
|
-
AutomatedReasoningPolicyBuildResultAssets.visit = (value, visitor) => {
|
|
380
|
-
if (value.policyDefinition !== undefined)
|
|
381
|
-
return visitor.policyDefinition(value.policyDefinition);
|
|
382
|
-
if (value.qualityReport !== undefined)
|
|
383
|
-
return visitor.qualityReport(value.qualityReport);
|
|
384
|
-
if (value.buildLog !== undefined)
|
|
385
|
-
return visitor.buildLog(value.buildLog);
|
|
386
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
387
|
-
};
|
|
388
|
-
})(exports.AutomatedReasoningPolicyBuildResultAssets || (exports.AutomatedReasoningPolicyBuildResultAssets = {}));
|
|
389
287
|
const AutomatedReasoningCheckLogicWarningType = {
|
|
390
288
|
ALWAYS_FALSE: "ALWAYS_FALSE",
|
|
391
289
|
ALWAYS_TRUE: "ALWAYS_TRUE",
|
|
392
290
|
};
|
|
393
|
-
exports.AutomatedReasoningCheckFinding = void 0;
|
|
394
|
-
(function (AutomatedReasoningCheckFinding) {
|
|
395
|
-
AutomatedReasoningCheckFinding.visit = (value, visitor) => {
|
|
396
|
-
if (value.valid !== undefined)
|
|
397
|
-
return visitor.valid(value.valid);
|
|
398
|
-
if (value.invalid !== undefined)
|
|
399
|
-
return visitor.invalid(value.invalid);
|
|
400
|
-
if (value.satisfiable !== undefined)
|
|
401
|
-
return visitor.satisfiable(value.satisfiable);
|
|
402
|
-
if (value.impossible !== undefined)
|
|
403
|
-
return visitor.impossible(value.impossible);
|
|
404
|
-
if (value.translationAmbiguous !== undefined)
|
|
405
|
-
return visitor.translationAmbiguous(value.translationAmbiguous);
|
|
406
|
-
if (value.tooComplex !== undefined)
|
|
407
|
-
return visitor.tooComplex(value.tooComplex);
|
|
408
|
-
if (value.noTranslations !== undefined)
|
|
409
|
-
return visitor.noTranslations(value.noTranslations);
|
|
410
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
411
|
-
};
|
|
412
|
-
})(exports.AutomatedReasoningCheckFinding || (exports.AutomatedReasoningCheckFinding = {}));
|
|
413
291
|
const AutomatedReasoningPolicyTestRunResult = {
|
|
414
292
|
FAILED: "FAILED",
|
|
415
293
|
PASSED: "PASSED",
|
|
@@ -421,24 +299,6 @@ const AutomatedReasoningPolicyTestRunStatus = {
|
|
|
421
299
|
NOT_STARTED: "NOT_STARTED",
|
|
422
300
|
SCHEDULED: "SCHEDULED",
|
|
423
301
|
};
|
|
424
|
-
exports.AutomatedReasoningPolicyWorkflowTypeContent = void 0;
|
|
425
|
-
(function (AutomatedReasoningPolicyWorkflowTypeContent) {
|
|
426
|
-
AutomatedReasoningPolicyWorkflowTypeContent.visit = (value, visitor) => {
|
|
427
|
-
if (value.documents !== undefined)
|
|
428
|
-
return visitor.documents(value.documents);
|
|
429
|
-
if (value.policyRepairAssets !== undefined)
|
|
430
|
-
return visitor.policyRepairAssets(value.policyRepairAssets);
|
|
431
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
432
|
-
};
|
|
433
|
-
})(exports.AutomatedReasoningPolicyWorkflowTypeContent || (exports.AutomatedReasoningPolicyWorkflowTypeContent = {}));
|
|
434
|
-
exports.EndpointConfig = void 0;
|
|
435
|
-
(function (EndpointConfig) {
|
|
436
|
-
EndpointConfig.visit = (value, visitor) => {
|
|
437
|
-
if (value.sageMaker !== undefined)
|
|
438
|
-
return visitor.sageMaker(value.sageMaker);
|
|
439
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
440
|
-
};
|
|
441
|
-
})(exports.EndpointConfig || (exports.EndpointConfig = {}));
|
|
442
302
|
const Status = {
|
|
443
303
|
INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT",
|
|
444
304
|
REGISTERED: "REGISTERED",
|
|
@@ -467,22 +327,6 @@ const SortOrder = {
|
|
|
467
327
|
ASCENDING: "Ascending",
|
|
468
328
|
DESCENDING: "Descending",
|
|
469
329
|
};
|
|
470
|
-
exports.ModelDataSource = void 0;
|
|
471
|
-
(function (ModelDataSource) {
|
|
472
|
-
ModelDataSource.visit = (value, visitor) => {
|
|
473
|
-
if (value.s3DataSource !== undefined)
|
|
474
|
-
return visitor.s3DataSource(value.s3DataSource);
|
|
475
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
476
|
-
};
|
|
477
|
-
})(exports.ModelDataSource || (exports.ModelDataSource = {}));
|
|
478
|
-
exports.CustomizationConfig = void 0;
|
|
479
|
-
(function (CustomizationConfig) {
|
|
480
|
-
CustomizationConfig.visit = (value, visitor) => {
|
|
481
|
-
if (value.distillationConfig !== undefined)
|
|
482
|
-
return visitor.distillationConfig(value.distillationConfig);
|
|
483
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
484
|
-
};
|
|
485
|
-
})(exports.CustomizationConfig || (exports.CustomizationConfig = {}));
|
|
486
330
|
const CustomizationType = {
|
|
487
331
|
CONTINUED_PRE_TRAINING: "CONTINUED_PRE_TRAINING",
|
|
488
332
|
DISTILLATION: "DISTILLATION",
|
|
@@ -494,28 +338,6 @@ const ModelStatus = {
|
|
|
494
338
|
CREATING: "Creating",
|
|
495
339
|
FAILED: "Failed",
|
|
496
340
|
};
|
|
497
|
-
exports.InvocationLogSource = void 0;
|
|
498
|
-
(function (InvocationLogSource) {
|
|
499
|
-
InvocationLogSource.visit = (value, visitor) => {
|
|
500
|
-
if (value.s3Uri !== undefined)
|
|
501
|
-
return visitor.s3Uri(value.s3Uri);
|
|
502
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
503
|
-
};
|
|
504
|
-
})(exports.InvocationLogSource || (exports.InvocationLogSource = {}));
|
|
505
|
-
exports.RequestMetadataFilters = void 0;
|
|
506
|
-
(function (RequestMetadataFilters) {
|
|
507
|
-
RequestMetadataFilters.visit = (value, visitor) => {
|
|
508
|
-
if (value.equals !== undefined)
|
|
509
|
-
return visitor.equals(value.equals);
|
|
510
|
-
if (value.notEquals !== undefined)
|
|
511
|
-
return visitor.notEquals(value.notEquals);
|
|
512
|
-
if (value.andAll !== undefined)
|
|
513
|
-
return visitor.andAll(value.andAll);
|
|
514
|
-
if (value.orAll !== undefined)
|
|
515
|
-
return visitor.orAll(value.orAll);
|
|
516
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
517
|
-
};
|
|
518
|
-
})(exports.RequestMetadataFilters || (exports.RequestMetadataFilters = {}));
|
|
519
341
|
const EvaluationJobStatus = {
|
|
520
342
|
COMPLETED: "Completed",
|
|
521
343
|
DELETING: "Deleting",
|
|
@@ -528,32 +350,6 @@ const ApplicationType = {
|
|
|
528
350
|
MODEL_EVALUATION: "ModelEvaluation",
|
|
529
351
|
RAG_EVALUATION: "RagEvaluation",
|
|
530
352
|
};
|
|
531
|
-
exports.RatingScaleItemValue = void 0;
|
|
532
|
-
(function (RatingScaleItemValue) {
|
|
533
|
-
RatingScaleItemValue.visit = (value, visitor) => {
|
|
534
|
-
if (value.stringValue !== undefined)
|
|
535
|
-
return visitor.stringValue(value.stringValue);
|
|
536
|
-
if (value.floatValue !== undefined)
|
|
537
|
-
return visitor.floatValue(value.floatValue);
|
|
538
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
539
|
-
};
|
|
540
|
-
})(exports.RatingScaleItemValue || (exports.RatingScaleItemValue = {}));
|
|
541
|
-
exports.AutomatedEvaluationCustomMetricSource = void 0;
|
|
542
|
-
(function (AutomatedEvaluationCustomMetricSource) {
|
|
543
|
-
AutomatedEvaluationCustomMetricSource.visit = (value, visitor) => {
|
|
544
|
-
if (value.customMetricDefinition !== undefined)
|
|
545
|
-
return visitor.customMetricDefinition(value.customMetricDefinition);
|
|
546
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
547
|
-
};
|
|
548
|
-
})(exports.AutomatedEvaluationCustomMetricSource || (exports.AutomatedEvaluationCustomMetricSource = {}));
|
|
549
|
-
exports.EvaluationDatasetLocation = void 0;
|
|
550
|
-
(function (EvaluationDatasetLocation) {
|
|
551
|
-
EvaluationDatasetLocation.visit = (value, visitor) => {
|
|
552
|
-
if (value.s3Uri !== undefined)
|
|
553
|
-
return visitor.s3Uri(value.s3Uri);
|
|
554
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
555
|
-
};
|
|
556
|
-
})(exports.EvaluationDatasetLocation || (exports.EvaluationDatasetLocation = {}));
|
|
557
353
|
const EvaluationTaskType = {
|
|
558
354
|
CLASSIFICATION: "Classification",
|
|
559
355
|
CUSTOM: "Custom",
|
|
@@ -561,38 +357,10 @@ const EvaluationTaskType = {
|
|
|
561
357
|
QUESTION_AND_ANSWER: "QuestionAndAnswer",
|
|
562
358
|
SUMMARIZATION: "Summarization",
|
|
563
359
|
};
|
|
564
|
-
exports.EvaluatorModelConfig = void 0;
|
|
565
|
-
(function (EvaluatorModelConfig) {
|
|
566
|
-
EvaluatorModelConfig.visit = (value, visitor) => {
|
|
567
|
-
if (value.bedrockEvaluatorModels !== undefined)
|
|
568
|
-
return visitor.bedrockEvaluatorModels(value.bedrockEvaluatorModels);
|
|
569
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
570
|
-
};
|
|
571
|
-
})(exports.EvaluatorModelConfig || (exports.EvaluatorModelConfig = {}));
|
|
572
|
-
exports.EvaluationConfig = void 0;
|
|
573
|
-
(function (EvaluationConfig) {
|
|
574
|
-
EvaluationConfig.visit = (value, visitor) => {
|
|
575
|
-
if (value.automated !== undefined)
|
|
576
|
-
return visitor.automated(value.automated);
|
|
577
|
-
if (value.human !== undefined)
|
|
578
|
-
return visitor.human(value.human);
|
|
579
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
580
|
-
};
|
|
581
|
-
})(exports.EvaluationConfig || (exports.EvaluationConfig = {}));
|
|
582
360
|
const PerformanceConfigLatency = {
|
|
583
361
|
OPTIMIZED: "optimized",
|
|
584
362
|
STANDARD: "standard",
|
|
585
363
|
};
|
|
586
|
-
exports.EvaluationModelConfig = void 0;
|
|
587
|
-
(function (EvaluationModelConfig) {
|
|
588
|
-
EvaluationModelConfig.visit = (value, visitor) => {
|
|
589
|
-
if (value.bedrockModel !== undefined)
|
|
590
|
-
return visitor.bedrockModel(value.bedrockModel);
|
|
591
|
-
if (value.precomputedInferenceSource !== undefined)
|
|
592
|
-
return visitor.precomputedInferenceSource(value.precomputedInferenceSource);
|
|
593
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
594
|
-
};
|
|
595
|
-
})(exports.EvaluationModelConfig || (exports.EvaluationModelConfig = {}));
|
|
596
364
|
const ExternalSourceType = {
|
|
597
365
|
BYTE_CONTENT: "BYTE_CONTENT",
|
|
598
366
|
S3: "S3",
|
|
@@ -614,16 +382,6 @@ const RerankingMetadataSelectionMode = {
|
|
|
614
382
|
ALL: "ALL",
|
|
615
383
|
SELECTIVE: "SELECTIVE",
|
|
616
384
|
};
|
|
617
|
-
exports.RerankingMetadataSelectiveModeConfiguration = void 0;
|
|
618
|
-
(function (RerankingMetadataSelectiveModeConfiguration) {
|
|
619
|
-
RerankingMetadataSelectiveModeConfiguration.visit = (value, visitor) => {
|
|
620
|
-
if (value.fieldsToInclude !== undefined)
|
|
621
|
-
return visitor.fieldsToInclude(value.fieldsToInclude);
|
|
622
|
-
if (value.fieldsToExclude !== undefined)
|
|
623
|
-
return visitor.fieldsToExclude(value.fieldsToExclude);
|
|
624
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
625
|
-
};
|
|
626
|
-
})(exports.RerankingMetadataSelectiveModeConfiguration || (exports.RerankingMetadataSelectiveModeConfiguration = {}));
|
|
627
385
|
const VectorSearchRerankingConfigurationType = {
|
|
628
386
|
BEDROCK_RERANKING_MODEL: "BEDROCK_RERANKING_MODEL",
|
|
629
387
|
};
|
|
@@ -631,16 +389,6 @@ const RetrieveAndGenerateType = {
|
|
|
631
389
|
EXTERNAL_SOURCES: "EXTERNAL_SOURCES",
|
|
632
390
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE",
|
|
633
391
|
};
|
|
634
|
-
exports.EvaluationPrecomputedRagSourceConfig = void 0;
|
|
635
|
-
(function (EvaluationPrecomputedRagSourceConfig) {
|
|
636
|
-
EvaluationPrecomputedRagSourceConfig.visit = (value, visitor) => {
|
|
637
|
-
if (value.retrieveSourceConfig !== undefined)
|
|
638
|
-
return visitor.retrieveSourceConfig(value.retrieveSourceConfig);
|
|
639
|
-
if (value.retrieveAndGenerateSourceConfig !== undefined)
|
|
640
|
-
return visitor.retrieveAndGenerateSourceConfig(value.retrieveAndGenerateSourceConfig);
|
|
641
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
642
|
-
};
|
|
643
|
-
})(exports.EvaluationPrecomputedRagSourceConfig || (exports.EvaluationPrecomputedRagSourceConfig = {}));
|
|
644
392
|
const EvaluationJobType = {
|
|
645
393
|
AUTOMATED: "Automated",
|
|
646
394
|
HUMAN: "Human",
|
|
@@ -747,14 +495,6 @@ const GuardrailStatus = {
|
|
|
747
495
|
UPDATING: "UPDATING",
|
|
748
496
|
VERSIONING: "VERSIONING",
|
|
749
497
|
};
|
|
750
|
-
exports.InferenceProfileModelSource = void 0;
|
|
751
|
-
(function (InferenceProfileModelSource) {
|
|
752
|
-
InferenceProfileModelSource.visit = (value, visitor) => {
|
|
753
|
-
if (value.copyFrom !== undefined)
|
|
754
|
-
return visitor.copyFrom(value.copyFrom);
|
|
755
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
756
|
-
};
|
|
757
|
-
})(exports.InferenceProfileModelSource || (exports.InferenceProfileModelSource = {}));
|
|
758
498
|
const InferenceProfileStatus = {
|
|
759
499
|
ACTIVE: "ACTIVE",
|
|
760
500
|
};
|
|
@@ -775,22 +515,6 @@ const ModelImportJobStatus = {
|
|
|
775
515
|
const S3InputFormat = {
|
|
776
516
|
JSONL: "JSONL",
|
|
777
517
|
};
|
|
778
|
-
exports.ModelInvocationJobInputDataConfig = void 0;
|
|
779
|
-
(function (ModelInvocationJobInputDataConfig) {
|
|
780
|
-
ModelInvocationJobInputDataConfig.visit = (value, visitor) => {
|
|
781
|
-
if (value.s3InputDataConfig !== undefined)
|
|
782
|
-
return visitor.s3InputDataConfig(value.s3InputDataConfig);
|
|
783
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
784
|
-
};
|
|
785
|
-
})(exports.ModelInvocationJobInputDataConfig || (exports.ModelInvocationJobInputDataConfig = {}));
|
|
786
|
-
exports.ModelInvocationJobOutputDataConfig = void 0;
|
|
787
|
-
(function (ModelInvocationJobOutputDataConfig) {
|
|
788
|
-
ModelInvocationJobOutputDataConfig.visit = (value, visitor) => {
|
|
789
|
-
if (value.s3OutputDataConfig !== undefined)
|
|
790
|
-
return visitor.s3OutputDataConfig(value.s3OutputDataConfig);
|
|
791
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
792
|
-
};
|
|
793
|
-
})(exports.ModelInvocationJobOutputDataConfig || (exports.ModelInvocationJobOutputDataConfig = {}));
|
|
794
518
|
const ModelInvocationJobStatus = {
|
|
795
519
|
COMPLETED: "Completed",
|
|
796
520
|
EXPIRED: "Expired",
|
|
@@ -879,68 +603,6 @@ const FineTuningJobStatus = {
|
|
|
879
603
|
STOPPED: "Stopped",
|
|
880
604
|
STOPPING: "Stopping",
|
|
881
605
|
};
|
|
882
|
-
exports.RetrievalFilter = void 0;
|
|
883
|
-
(function (RetrievalFilter) {
|
|
884
|
-
RetrievalFilter.visit = (value, visitor) => {
|
|
885
|
-
if (value.equals !== undefined)
|
|
886
|
-
return visitor.equals(value.equals);
|
|
887
|
-
if (value.notEquals !== undefined)
|
|
888
|
-
return visitor.notEquals(value.notEquals);
|
|
889
|
-
if (value.greaterThan !== undefined)
|
|
890
|
-
return visitor.greaterThan(value.greaterThan);
|
|
891
|
-
if (value.greaterThanOrEquals !== undefined)
|
|
892
|
-
return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
|
|
893
|
-
if (value.lessThan !== undefined)
|
|
894
|
-
return visitor.lessThan(value.lessThan);
|
|
895
|
-
if (value.lessThanOrEquals !== undefined)
|
|
896
|
-
return visitor.lessThanOrEquals(value.lessThanOrEquals);
|
|
897
|
-
if (value.in !== undefined)
|
|
898
|
-
return visitor.in(value.in);
|
|
899
|
-
if (value.notIn !== undefined)
|
|
900
|
-
return visitor.notIn(value.notIn);
|
|
901
|
-
if (value.startsWith !== undefined)
|
|
902
|
-
return visitor.startsWith(value.startsWith);
|
|
903
|
-
if (value.listContains !== undefined)
|
|
904
|
-
return visitor.listContains(value.listContains);
|
|
905
|
-
if (value.stringContains !== undefined)
|
|
906
|
-
return visitor.stringContains(value.stringContains);
|
|
907
|
-
if (value.andAll !== undefined)
|
|
908
|
-
return visitor.andAll(value.andAll);
|
|
909
|
-
if (value.orAll !== undefined)
|
|
910
|
-
return visitor.orAll(value.orAll);
|
|
911
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
912
|
-
};
|
|
913
|
-
})(exports.RetrievalFilter || (exports.RetrievalFilter = {}));
|
|
914
|
-
exports.KnowledgeBaseConfig = void 0;
|
|
915
|
-
(function (KnowledgeBaseConfig) {
|
|
916
|
-
KnowledgeBaseConfig.visit = (value, visitor) => {
|
|
917
|
-
if (value.retrieveConfig !== undefined)
|
|
918
|
-
return visitor.retrieveConfig(value.retrieveConfig);
|
|
919
|
-
if (value.retrieveAndGenerateConfig !== undefined)
|
|
920
|
-
return visitor.retrieveAndGenerateConfig(value.retrieveAndGenerateConfig);
|
|
921
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
922
|
-
};
|
|
923
|
-
})(exports.KnowledgeBaseConfig || (exports.KnowledgeBaseConfig = {}));
|
|
924
|
-
exports.RAGConfig = void 0;
|
|
925
|
-
(function (RAGConfig) {
|
|
926
|
-
RAGConfig.visit = (value, visitor) => {
|
|
927
|
-
if (value.knowledgeBaseConfig !== undefined)
|
|
928
|
-
return visitor.knowledgeBaseConfig(value.knowledgeBaseConfig);
|
|
929
|
-
if (value.precomputedRagSourceConfig !== undefined)
|
|
930
|
-
return visitor.precomputedRagSourceConfig(value.precomputedRagSourceConfig);
|
|
931
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
932
|
-
};
|
|
933
|
-
})(exports.RAGConfig || (exports.RAGConfig = {}));
|
|
934
|
-
exports.EvaluationInferenceConfig = void 0;
|
|
935
|
-
(function (EvaluationInferenceConfig) {
|
|
936
|
-
EvaluationInferenceConfig.visit = (value, visitor) => {
|
|
937
|
-
if (value.models !== undefined)
|
|
938
|
-
return visitor.models(value.models);
|
|
939
|
-
if (value.ragConfigs !== undefined)
|
|
940
|
-
return visitor.ragConfigs(value.ragConfigs);
|
|
941
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
942
|
-
};
|
|
943
|
-
})(exports.EvaluationInferenceConfig || (exports.EvaluationInferenceConfig = {}));
|
|
944
606
|
|
|
945
607
|
const _AA = "AgreementAvailability";
|
|
946
608
|
const _ADE = "AccessDeniedException";
|