@aws-sdk/client-bedrock-agentcore 3.1154.0 → 3.1156.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 +6 -5
- package/dist-es/schemas/schemas_0.js +5 -4
- package/dist-types/BedrockAgentCoreClient.d.ts +2 -1
- package/dist-types/commands/EvaluateCommand.d.ts +1 -0
- package/dist-types/commands/GetBatchEvaluationCommand.d.ts +1 -0
- package/dist-types/commands/ListBatchEvaluationsCommand.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +10 -0
- package/dist-types/ts3.4/models/models_0.d.ts +2 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -70,7 +70,7 @@ const commonParams = {
|
|
|
70
70
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
71
71
|
};
|
|
72
72
|
|
|
73
|
-
var version = "3.
|
|
73
|
+
var version = "3.1155.0";
|
|
74
74
|
var packageInfo = {
|
|
75
75
|
version: version};
|
|
76
76
|
|
|
@@ -1094,6 +1094,7 @@ const _eCr = "errorCode";
|
|
|
1094
1094
|
const _eCv = "evaluationConfig";
|
|
1095
1095
|
const _eCx = "extractionConfig";
|
|
1096
1096
|
const _eD = "errorDetails";
|
|
1097
|
+
const _eDN = "evaluationDimensionName";
|
|
1097
1098
|
const _eF = "eventFilter";
|
|
1098
1099
|
const _eI = "eventId";
|
|
1099
1100
|
const _eIv = "evaluatorId";
|
|
@@ -2067,8 +2068,8 @@ var EvaluationReferenceInput$ = [3, n0, _ERI,
|
|
|
2067
2068
|
];
|
|
2068
2069
|
var EvaluationResultContent$ = [3, n0, _ERC,
|
|
2069
2070
|
0,
|
|
2070
|
-
[_eA, _eIv, _eN, _con, _ex, _v, _la, _tU, _eMr, _eCr, _iRIF],
|
|
2071
|
-
[0, 0, 0, () => Context$, [() => EvaluationExplanation, 0], 1, 0, () => TokenUsage$, 0, 0, 64 | 0], 4
|
|
2071
|
+
[_eA, _eIv, _eN, _con, _eDN, _ex, _v, _la, _tU, _eMr, _eCr, _iRIF],
|
|
2072
|
+
[0, 0, 0, () => Context$, 0, [() => EvaluationExplanation, 0], 1, 0, () => TokenUsage$, 0, 0, 64 | 0], 4
|
|
2072
2073
|
];
|
|
2073
2074
|
var Evaluator$ = [3, n0, _Ev,
|
|
2074
2075
|
0,
|
|
@@ -2087,8 +2088,8 @@ var EvaluatorStatistics$ = [3, n0, _ES,
|
|
|
2087
2088
|
];
|
|
2088
2089
|
var EvaluatorSummary$ = [3, n0, _ESv,
|
|
2089
2090
|
0,
|
|
2090
|
-
[_eIv, _stat, _tE, _tF],
|
|
2091
|
-
[0, () => EvaluatorStatistics$, 1, 1]
|
|
2091
|
+
[_eIv, _eDN, _stat, _tE, _tF],
|
|
2092
|
+
[0, 0, () => EvaluatorStatistics$, 1, 1]
|
|
2092
2093
|
];
|
|
2093
2094
|
var Event$ = [3, n0, _Eve,
|
|
2094
2095
|
0,
|
|
@@ -747,6 +747,7 @@ const _eCr = "errorCode";
|
|
|
747
747
|
const _eCv = "evaluationConfig";
|
|
748
748
|
const _eCx = "extractionConfig";
|
|
749
749
|
const _eD = "errorDetails";
|
|
750
|
+
const _eDN = "evaluationDimensionName";
|
|
750
751
|
const _eF = "eventFilter";
|
|
751
752
|
const _eI = "eventId";
|
|
752
753
|
const _eIv = "evaluatorId";
|
|
@@ -1723,8 +1724,8 @@ export var EvaluationReferenceInput$ = [3, n0, _ERI,
|
|
|
1723
1724
|
];
|
|
1724
1725
|
export var EvaluationResultContent$ = [3, n0, _ERC,
|
|
1725
1726
|
0,
|
|
1726
|
-
[_eA, _eIv, _eN, _con, _ex, _v, _la, _tU, _eMr, _eCr, _iRIF],
|
|
1727
|
-
[0, 0, 0, () => Context$, [() => EvaluationExplanation, 0], 1, 0, () => TokenUsage$, 0, 0, 64 | 0], 4
|
|
1727
|
+
[_eA, _eIv, _eN, _con, _eDN, _ex, _v, _la, _tU, _eMr, _eCr, _iRIF],
|
|
1728
|
+
[0, 0, 0, () => Context$, 0, [() => EvaluationExplanation, 0], 1, 0, () => TokenUsage$, 0, 0, 64 | 0], 4
|
|
1728
1729
|
];
|
|
1729
1730
|
export var Evaluator$ = [3, n0, _Ev,
|
|
1730
1731
|
0,
|
|
@@ -1743,8 +1744,8 @@ export var EvaluatorStatistics$ = [3, n0, _ES,
|
|
|
1743
1744
|
];
|
|
1744
1745
|
export var EvaluatorSummary$ = [3, n0, _ESv,
|
|
1745
1746
|
0,
|
|
1746
|
-
[_eIv, _stat, _tE, _tF],
|
|
1747
|
-
[0, () => EvaluatorStatistics$, 1, 1]
|
|
1747
|
+
[_eIv, _eDN, _stat, _tE, _tF],
|
|
1748
|
+
[0, 0, () => EvaluatorStatistics$, 1, 1]
|
|
1748
1749
|
];
|
|
1749
1750
|
export var Event$ = [3, n0, _Eve,
|
|
1750
1751
|
0,
|
|
@@ -196,7 +196,8 @@ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHand
|
|
|
196
196
|
maxAttempts?: number | __Provider<number>;
|
|
197
197
|
/**
|
|
198
198
|
* Specifies which retry algorithm to use.
|
|
199
|
-
*
|
|
199
|
+
* Accepted values are "standard" and "adaptive".
|
|
200
|
+
* @see https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html
|
|
200
201
|
*
|
|
201
202
|
*/
|
|
202
203
|
retryMode?: string | __Provider<string>;
|
|
@@ -81,6 +81,7 @@ declare const EvaluateCommand_base: {
|
|
|
81
81
|
* // evaluatorArn: "STRING_VALUE", // required
|
|
82
82
|
* // evaluatorId: "STRING_VALUE", // required
|
|
83
83
|
* // evaluatorName: "STRING_VALUE", // required
|
|
84
|
+
* // evaluationDimensionName: "STRING_VALUE",
|
|
84
85
|
* // explanation: "STRING_VALUE",
|
|
85
86
|
* // context: { // Context Union: only one key present
|
|
86
87
|
* // spanContext: { // SpanContext
|
|
@@ -108,6 +108,7 @@ declare const GetBatchEvaluationCommand_base: {
|
|
|
108
108
|
* // evaluatorSummaries: [ // EvaluatorSummaryList
|
|
109
109
|
* // { // EvaluatorSummary
|
|
110
110
|
* // evaluatorId: "STRING_VALUE",
|
|
111
|
+
* // evaluationDimensionName: "STRING_VALUE",
|
|
111
112
|
* // statistics: { // EvaluatorStatistics
|
|
112
113
|
* // averageScore: Number("double"),
|
|
113
114
|
* // },
|
|
@@ -67,6 +67,7 @@ declare const ListBatchEvaluationsCommand_base: {
|
|
|
67
67
|
* // evaluatorSummaries: [ // EvaluatorSummaryList
|
|
68
68
|
* // { // EvaluatorSummary
|
|
69
69
|
* // evaluatorId: "STRING_VALUE",
|
|
70
|
+
* // evaluationDimensionName: "STRING_VALUE",
|
|
70
71
|
* // statistics: { // EvaluatorStatistics
|
|
71
72
|
* // averageScore: Number("double"),
|
|
72
73
|
* // },
|
|
@@ -3596,6 +3596,11 @@ export interface EvaluationResultContent {
|
|
|
3596
3596
|
* @public
|
|
3597
3597
|
*/
|
|
3598
3598
|
evaluatorName: string | undefined;
|
|
3599
|
+
/**
|
|
3600
|
+
* <p> The name of the dimension that this result scores. This field is set only on results produced by an evaluator that uses a multi-dimensional rating scale, where each dimension is scored independently. For evaluators with a single rating scale, this field is absent. </p>
|
|
3601
|
+
* @public
|
|
3602
|
+
*/
|
|
3603
|
+
evaluationDimensionName?: string | undefined;
|
|
3599
3604
|
/**
|
|
3600
3605
|
* <p> The detailed explanation provided by the evaluator describing the reasoning behind the assigned score. This qualitative feedback helps understand why specific ratings were given and provides actionable insights for improvement. </p>
|
|
3601
3606
|
* @public
|
|
@@ -3928,6 +3933,11 @@ export interface EvaluatorSummary {
|
|
|
3928
3933
|
* @public
|
|
3929
3934
|
*/
|
|
3930
3935
|
evaluatorId?: string | undefined;
|
|
3936
|
+
/**
|
|
3937
|
+
* <p>The name of the dimension that this summary covers. This field is set only for evaluators that use a multi-dimensional rating scale, where each dimension is summarized separately. For single-scale evaluators, this field is not set.</p>
|
|
3938
|
+
* @public
|
|
3939
|
+
*/
|
|
3940
|
+
evaluationDimensionName?: string | undefined;
|
|
3931
3941
|
/**
|
|
3932
3942
|
* <p>The aggregated statistics for this evaluator.</p>
|
|
3933
3943
|
* @public
|
|
@@ -1336,6 +1336,7 @@ export interface EvaluationResultContent {
|
|
|
1336
1336
|
evaluatorArn: string | undefined;
|
|
1337
1337
|
evaluatorId: string | undefined;
|
|
1338
1338
|
evaluatorName: string | undefined;
|
|
1339
|
+
evaluationDimensionName?: string | undefined;
|
|
1339
1340
|
explanation?: string | undefined;
|
|
1340
1341
|
context: Context | undefined;
|
|
1341
1342
|
value?: number | undefined;
|
|
@@ -1429,6 +1430,7 @@ export interface EvaluatorStatistics {
|
|
|
1429
1430
|
}
|
|
1430
1431
|
export interface EvaluatorSummary {
|
|
1431
1432
|
evaluatorId?: string | undefined;
|
|
1433
|
+
evaluationDimensionName?: string | undefined;
|
|
1432
1434
|
statistics?: EvaluatorStatistics | undefined;
|
|
1433
1435
|
totalEvaluated?: number | undefined;
|
|
1434
1436
|
totalFailed?: number | undefined;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agentcore",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1156.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Bedrock Agentcore Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-bedrock-agentcore",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,10 +46,10 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.978.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
51
|
-
"@aws-sdk/types": "^3.
|
|
52
|
-
"@smithy/core": "^3.36.
|
|
49
|
+
"@aws-sdk/core": "^3.978.5",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.88",
|
|
51
|
+
"@aws-sdk/types": "^3.975.0",
|
|
52
|
+
"@smithy/core": "^3.36.1",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
54
|
"@smithy/node-http-handler": "^4.12.1",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|