@aws-sdk/client-bedrock-agent 3.582.0 → 3.587.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-types/commands/CreateKnowledgeBaseCommand.d.ts +10 -0
- package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +5 -0
- package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +27 -0
- package/dist-types/ts3.4/models/models_0.d.ts +7 -0
- package/package.json +18 -18
|
@@ -73,6 +73,11 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
73
73
|
* type: "VECTOR", // required
|
|
74
74
|
* vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
75
75
|
* embeddingModelArn: "STRING_VALUE", // required
|
|
76
|
+
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
77
|
+
* bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
78
|
+
* dimensions: Number("int"),
|
|
79
|
+
* },
|
|
80
|
+
* },
|
|
76
81
|
* },
|
|
77
82
|
* },
|
|
78
83
|
* storageConfiguration: { // StorageConfiguration
|
|
@@ -148,6 +153,11 @@ declare const CreateKnowledgeBaseCommand_base: {
|
|
|
148
153
|
* // type: "VECTOR", // required
|
|
149
154
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
150
155
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
156
|
+
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
157
|
+
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
158
|
+
* // dimensions: Number("int"),
|
|
159
|
+
* // },
|
|
160
|
+
* // },
|
|
151
161
|
* // },
|
|
152
162
|
* // },
|
|
153
163
|
* // storageConfiguration: { // StorageConfiguration
|
|
@@ -49,6 +49,11 @@ declare const GetKnowledgeBaseCommand_base: {
|
|
|
49
49
|
* // type: "VECTOR", // required
|
|
50
50
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
51
51
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
52
|
+
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
53
|
+
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
54
|
+
* // dimensions: Number("int"),
|
|
55
|
+
* // },
|
|
56
|
+
* // },
|
|
52
57
|
* // },
|
|
53
58
|
* // },
|
|
54
59
|
* // storageConfiguration: { // StorageConfiguration
|
|
@@ -61,6 +61,11 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
61
61
|
* type: "VECTOR", // required
|
|
62
62
|
* vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
63
63
|
* embeddingModelArn: "STRING_VALUE", // required
|
|
64
|
+
* embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
65
|
+
* bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
66
|
+
* dimensions: Number("int"),
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
64
69
|
* },
|
|
65
70
|
* },
|
|
66
71
|
* storageConfiguration: { // StorageConfiguration
|
|
@@ -133,6 +138,11 @@ declare const UpdateKnowledgeBaseCommand_base: {
|
|
|
133
138
|
* // type: "VECTOR", // required
|
|
134
139
|
* // vectorKnowledgeBaseConfiguration: { // VectorKnowledgeBaseConfiguration
|
|
135
140
|
* // embeddingModelArn: "STRING_VALUE", // required
|
|
141
|
+
* // embeddingModelConfiguration: { // EmbeddingModelConfiguration
|
|
142
|
+
* // bedrockEmbeddingModelConfiguration: { // BedrockEmbeddingModelConfiguration
|
|
143
|
+
* // dimensions: Number("int"),
|
|
144
|
+
* // },
|
|
145
|
+
* // },
|
|
136
146
|
* // },
|
|
137
147
|
* // },
|
|
138
148
|
* // storageConfiguration: { // StorageConfiguration
|
|
@@ -2801,6 +2801,28 @@ export declare const KnowledgeBaseType: {
|
|
|
2801
2801
|
* @public
|
|
2802
2802
|
*/
|
|
2803
2803
|
export type KnowledgeBaseType = (typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
2804
|
+
/**
|
|
2805
|
+
* <p>The vector configuration details for the Bedrock embeddings model.</p>
|
|
2806
|
+
* @public
|
|
2807
|
+
*/
|
|
2808
|
+
export interface BedrockEmbeddingModelConfiguration {
|
|
2809
|
+
/**
|
|
2810
|
+
* <p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>
|
|
2811
|
+
* @public
|
|
2812
|
+
*/
|
|
2813
|
+
dimensions?: number;
|
|
2814
|
+
}
|
|
2815
|
+
/**
|
|
2816
|
+
* <p>The configuration details for the embeddings model.</p>
|
|
2817
|
+
* @public
|
|
2818
|
+
*/
|
|
2819
|
+
export interface EmbeddingModelConfiguration {
|
|
2820
|
+
/**
|
|
2821
|
+
* <p>The vector configuration details on the Bedrock embeddings model.</p>
|
|
2822
|
+
* @public
|
|
2823
|
+
*/
|
|
2824
|
+
bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration;
|
|
2825
|
+
}
|
|
2804
2826
|
/**
|
|
2805
2827
|
* <p>Contains details about the model used to create vector embeddings for the knowledge base.</p>
|
|
2806
2828
|
* @public
|
|
@@ -2811,6 +2833,11 @@ export interface VectorKnowledgeBaseConfiguration {
|
|
|
2811
2833
|
* @public
|
|
2812
2834
|
*/
|
|
2813
2835
|
embeddingModelArn: string | undefined;
|
|
2836
|
+
/**
|
|
2837
|
+
* <p>The embeddings model configuration details for the vector model used in Knowledge Base.</p>
|
|
2838
|
+
* @public
|
|
2839
|
+
*/
|
|
2840
|
+
embeddingModelConfiguration?: EmbeddingModelConfiguration;
|
|
2814
2841
|
}
|
|
2815
2842
|
/**
|
|
2816
2843
|
* <p>Contains details about the embeddings configuration of the knowledge base.</p>
|
|
@@ -750,8 +750,15 @@ export declare const KnowledgeBaseType: {
|
|
|
750
750
|
};
|
|
751
751
|
export type KnowledgeBaseType =
|
|
752
752
|
(typeof KnowledgeBaseType)[keyof typeof KnowledgeBaseType];
|
|
753
|
+
export interface BedrockEmbeddingModelConfiguration {
|
|
754
|
+
dimensions?: number;
|
|
755
|
+
}
|
|
756
|
+
export interface EmbeddingModelConfiguration {
|
|
757
|
+
bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration;
|
|
758
|
+
}
|
|
753
759
|
export interface VectorKnowledgeBaseConfiguration {
|
|
754
760
|
embeddingModelArn: string | undefined;
|
|
761
|
+
embeddingModelConfiguration?: EmbeddingModelConfiguration;
|
|
755
762
|
}
|
|
756
763
|
export interface KnowledgeBaseConfiguration {
|
|
757
764
|
type: KnowledgeBaseType | undefined;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.587.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",
|
|
@@ -20,41 +20,41 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "3.0.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "3.0.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.587.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.587.0",
|
|
25
|
+
"@aws-sdk/core": "3.587.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.587.0",
|
|
27
27
|
"@aws-sdk/middleware-host-header": "3.577.0",
|
|
28
28
|
"@aws-sdk/middleware-logger": "3.577.0",
|
|
29
29
|
"@aws-sdk/middleware-recursion-detection": "3.577.0",
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.587.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.587.0",
|
|
32
32
|
"@aws-sdk/types": "3.577.0",
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.587.0",
|
|
34
34
|
"@aws-sdk/util-user-agent-browser": "3.577.0",
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.587.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.1",
|
|
37
|
+
"@smithy/core": "^2.1.1",
|
|
38
38
|
"@smithy/fetch-http-handler": "^3.0.1",
|
|
39
39
|
"@smithy/hash-node": "^3.0.0",
|
|
40
40
|
"@smithy/invalid-dependency": "^3.0.0",
|
|
41
41
|
"@smithy/middleware-content-length": "^3.0.0",
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.0.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.0.1",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.3",
|
|
44
44
|
"@smithy/middleware-serde": "^3.0.0",
|
|
45
45
|
"@smithy/middleware-stack": "^3.0.0",
|
|
46
|
-
"@smithy/node-config-provider": "^3.
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.0",
|
|
47
47
|
"@smithy/node-http-handler": "^3.0.0",
|
|
48
48
|
"@smithy/protocol-http": "^4.0.0",
|
|
49
|
-
"@smithy/smithy-client": "^3.
|
|
49
|
+
"@smithy/smithy-client": "^3.1.1",
|
|
50
50
|
"@smithy/types": "^3.0.0",
|
|
51
51
|
"@smithy/url-parser": "^3.0.0",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.3",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.3",
|
|
57
|
+
"@smithy/util-endpoints": "^2.0.1",
|
|
58
58
|
"@smithy/util-middleware": "^3.0.0",
|
|
59
59
|
"@smithy/util-retry": "^3.0.0",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|