@aws-sdk/client-bedrock-agent-runtime 3.744.0 → 3.749.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
CHANGED
|
@@ -3575,6 +3575,7 @@ var se_OrchestrationConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
|
3575
3575
|
}, "se_OrchestrationConfiguration");
|
|
3576
3576
|
var se_PromptConfiguration = /* @__PURE__ */ __name((input, context) => {
|
|
3577
3577
|
return (0, import_smithy_client.take)(input, {
|
|
3578
|
+
additionalModelRequestFields: (_) => se_Document(_, context),
|
|
3578
3579
|
basePromptTemplate: [],
|
|
3579
3580
|
inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
|
|
3580
3581
|
parserMode: [],
|
|
@@ -1231,6 +1231,7 @@ const se_OrchestrationConfiguration = (input, context) => {
|
|
|
1231
1231
|
};
|
|
1232
1232
|
const se_PromptConfiguration = (input, context) => {
|
|
1233
1233
|
return take(input, {
|
|
1234
|
+
additionalModelRequestFields: (_) => se_Document(_, context),
|
|
1234
1235
|
basePromptTemplate: [],
|
|
1235
1236
|
inferenceConfiguration: (_) => se_InferenceConfiguration(_, context),
|
|
1236
1237
|
parserMode: [],
|
|
@@ -4989,6 +4989,17 @@ export interface PromptConfiguration {
|
|
|
4989
4989
|
* @public
|
|
4990
4990
|
*/
|
|
4991
4991
|
parserMode?: CreationMode | undefined;
|
|
4992
|
+
/**
|
|
4993
|
+
* <p>If the Converse or ConverseStream operations support the model,
|
|
4994
|
+
* <code>additionalModelRequestFields</code> contains additional inference parameters,
|
|
4995
|
+
* beyond the base set of inference parameters in the <code>inferenceConfiguration</code>
|
|
4996
|
+
* field. </p>
|
|
4997
|
+
* <p>For more information, see <i>Inference request parameters and
|
|
4998
|
+
* response fields for foundation models</i> in the Amazon Bedrock user
|
|
4999
|
+
* guide.</p>
|
|
5000
|
+
* @public
|
|
5001
|
+
*/
|
|
5002
|
+
additionalModelRequestFields?: __DocumentType | undefined;
|
|
4992
5003
|
}
|
|
4993
5004
|
/**
|
|
4994
5005
|
* <p>Contains configurations to override prompts in different parts of an agent sequence. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/advanced-prompts.html">Advanced prompts</a>. </p>
|
|
@@ -2091,6 +2091,7 @@ export interface PromptConfiguration {
|
|
|
2091
2091
|
basePromptTemplate?: string | undefined;
|
|
2092
2092
|
inferenceConfiguration?: InferenceConfiguration | undefined;
|
|
2093
2093
|
parserMode?: CreationMode | undefined;
|
|
2094
|
+
additionalModelRequestFields?: __DocumentType | undefined;
|
|
2094
2095
|
}
|
|
2095
2096
|
export interface PromptOverrideConfiguration {
|
|
2096
2097
|
promptConfigurations: PromptConfiguration[] | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent-runtime",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Runtime Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.749.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent-runtime",
|
|
@@ -20,19 +20,19 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/core": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/core": "3.749.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.749.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.734.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.734.0",
|
|
27
27
|
"@aws-sdk/middleware-recursion-detection": "3.734.0",
|
|
28
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
28
|
+
"@aws-sdk/middleware-user-agent": "3.749.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.734.0",
|
|
30
30
|
"@aws-sdk/types": "3.734.0",
|
|
31
31
|
"@aws-sdk/util-endpoints": "3.743.0",
|
|
32
32
|
"@aws-sdk/util-user-agent-browser": "3.734.0",
|
|
33
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
33
|
+
"@aws-sdk/util-user-agent-node": "3.749.0",
|
|
34
34
|
"@smithy/config-resolver": "^4.0.1",
|
|
35
|
-
"@smithy/core": "^3.1.
|
|
35
|
+
"@smithy/core": "^3.1.3",
|
|
36
36
|
"@smithy/eventstream-serde-browser": "^4.0.1",
|
|
37
37
|
"@smithy/eventstream-serde-config-resolver": "^4.0.1",
|
|
38
38
|
"@smithy/eventstream-serde-node": "^4.0.1",
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
"@smithy/hash-node": "^4.0.1",
|
|
41
41
|
"@smithy/invalid-dependency": "^4.0.1",
|
|
42
42
|
"@smithy/middleware-content-length": "^4.0.1",
|
|
43
|
-
"@smithy/middleware-endpoint": "^4.0.
|
|
44
|
-
"@smithy/middleware-retry": "^4.0.
|
|
43
|
+
"@smithy/middleware-endpoint": "^4.0.4",
|
|
44
|
+
"@smithy/middleware-retry": "^4.0.5",
|
|
45
45
|
"@smithy/middleware-serde": "^4.0.2",
|
|
46
46
|
"@smithy/middleware-stack": "^4.0.1",
|
|
47
47
|
"@smithy/node-config-provider": "^4.0.1",
|
|
48
48
|
"@smithy/node-http-handler": "^4.0.2",
|
|
49
49
|
"@smithy/protocol-http": "^5.0.1",
|
|
50
|
-
"@smithy/smithy-client": "^4.1.
|
|
50
|
+
"@smithy/smithy-client": "^4.1.4",
|
|
51
51
|
"@smithy/types": "^4.1.0",
|
|
52
52
|
"@smithy/url-parser": "^4.0.1",
|
|
53
53
|
"@smithy/util-base64": "^4.0.0",
|
|
54
54
|
"@smithy/util-body-length-browser": "^4.0.0",
|
|
55
55
|
"@smithy/util-body-length-node": "^4.0.0",
|
|
56
|
-
"@smithy/util-defaults-mode-browser": "^4.0.
|
|
57
|
-
"@smithy/util-defaults-mode-node": "^4.0.
|
|
56
|
+
"@smithy/util-defaults-mode-browser": "^4.0.5",
|
|
57
|
+
"@smithy/util-defaults-mode-node": "^4.0.5",
|
|
58
58
|
"@smithy/util-endpoints": "^3.0.1",
|
|
59
59
|
"@smithy/util-middleware": "^4.0.1",
|
|
60
60
|
"@smithy/util-retry": "^4.0.1",
|