@aws-sdk/client-bedrock-agent-runtime 3.701.0 → 3.705.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/README.md +16 -0
- package/dist-cjs/index.js +791 -66
- package/dist-es/BedrockAgentRuntime.js +4 -0
- package/dist-es/commands/RerankCommand.js +23 -0
- package/dist-es/commands/RetrieveAndGenerateStreamCommand.js +27 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +345 -48
- package/dist-es/pagination/RerankPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/protocols/Aws_restJson1.js +277 -3
- package/dist-types/BedrockAgentRuntime.d.ts +14 -0
- package/dist-types/BedrockAgentRuntimeClient.d.ts +4 -2
- package/dist-types/commands/InvokeAgentCommand.d.ts +396 -22
- package/dist-types/commands/InvokeInlineAgentCommand.d.ts +376 -21
- package/dist-types/commands/RerankCommand.d.ts +143 -0
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +42 -2
- package/dist-types/commands/RetrieveAndGenerateStreamCommand.d.ts +371 -0
- package/dist-types/commands/RetrieveCommand.d.ts +46 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +1713 -404
- package/dist-types/pagination/RerankPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +18 -0
- package/dist-types/ts3.4/BedrockAgentRuntime.d.ts +34 -0
- package/dist-types/ts3.4/BedrockAgentRuntimeClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/RerankCommand.d.ts +41 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateStreamCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +764 -110
- package/dist-types/ts3.4/pagination/RerankPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/package.json +1 -1
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
RerankCommandInput,
|
|
4
|
+
RerankCommandOutput,
|
|
5
|
+
} from "../commands/RerankCommand";
|
|
6
|
+
import { BedrockAgentRuntimePaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateRerank: (
|
|
8
|
+
config: BedrockAgentRuntimePaginationConfiguration,
|
|
9
|
+
input: RerankCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<RerankCommandOutput>;
|
|
@@ -30,10 +30,18 @@ import {
|
|
|
30
30
|
OptimizePromptCommandInput,
|
|
31
31
|
OptimizePromptCommandOutput,
|
|
32
32
|
} from "../commands/OptimizePromptCommand";
|
|
33
|
+
import {
|
|
34
|
+
RerankCommandInput,
|
|
35
|
+
RerankCommandOutput,
|
|
36
|
+
} from "../commands/RerankCommand";
|
|
33
37
|
import {
|
|
34
38
|
RetrieveAndGenerateCommandInput,
|
|
35
39
|
RetrieveAndGenerateCommandOutput,
|
|
36
40
|
} from "../commands/RetrieveAndGenerateCommand";
|
|
41
|
+
import {
|
|
42
|
+
RetrieveAndGenerateStreamCommandInput,
|
|
43
|
+
RetrieveAndGenerateStreamCommandOutput,
|
|
44
|
+
} from "../commands/RetrieveAndGenerateStreamCommand";
|
|
37
45
|
import {
|
|
38
46
|
RetrieveCommandInput,
|
|
39
47
|
RetrieveCommandOutput,
|
|
@@ -62,6 +70,10 @@ export declare const se_OptimizePromptCommand: (
|
|
|
62
70
|
input: OptimizePromptCommandInput,
|
|
63
71
|
context: __SerdeContext
|
|
64
72
|
) => Promise<__HttpRequest>;
|
|
73
|
+
export declare const se_RerankCommand: (
|
|
74
|
+
input: RerankCommandInput,
|
|
75
|
+
context: __SerdeContext
|
|
76
|
+
) => Promise<__HttpRequest>;
|
|
65
77
|
export declare const se_RetrieveCommand: (
|
|
66
78
|
input: RetrieveCommandInput,
|
|
67
79
|
context: __SerdeContext
|
|
@@ -70,6 +82,10 @@ export declare const se_RetrieveAndGenerateCommand: (
|
|
|
70
82
|
input: RetrieveAndGenerateCommandInput,
|
|
71
83
|
context: __SerdeContext
|
|
72
84
|
) => Promise<__HttpRequest>;
|
|
85
|
+
export declare const se_RetrieveAndGenerateStreamCommand: (
|
|
86
|
+
input: RetrieveAndGenerateStreamCommandInput,
|
|
87
|
+
context: __SerdeContext
|
|
88
|
+
) => Promise<__HttpRequest>;
|
|
73
89
|
export declare const de_DeleteAgentMemoryCommand: (
|
|
74
90
|
output: __HttpResponse,
|
|
75
91
|
context: __SerdeContext
|
|
@@ -94,6 +110,10 @@ export declare const de_OptimizePromptCommand: (
|
|
|
94
110
|
output: __HttpResponse,
|
|
95
111
|
context: __SerdeContext & __EventStreamSerdeContext
|
|
96
112
|
) => Promise<OptimizePromptCommandOutput>;
|
|
113
|
+
export declare const de_RerankCommand: (
|
|
114
|
+
output: __HttpResponse,
|
|
115
|
+
context: __SerdeContext
|
|
116
|
+
) => Promise<RerankCommandOutput>;
|
|
97
117
|
export declare const de_RetrieveCommand: (
|
|
98
118
|
output: __HttpResponse,
|
|
99
119
|
context: __SerdeContext
|
|
@@ -102,3 +122,7 @@ export declare const de_RetrieveAndGenerateCommand: (
|
|
|
102
122
|
output: __HttpResponse,
|
|
103
123
|
context: __SerdeContext
|
|
104
124
|
) => Promise<RetrieveAndGenerateCommandOutput>;
|
|
125
|
+
export declare const de_RetrieveAndGenerateStreamCommand: (
|
|
126
|
+
output: __HttpResponse,
|
|
127
|
+
context: __SerdeContext & __EventStreamSerdeContext
|
|
128
|
+
) => Promise<RetrieveAndGenerateStreamCommandOutput>;
|
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.705.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",
|