@aws-sdk/client-bedrock-agent-runtime 3.533.0 → 3.535.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/BedrockAgentRuntime.d.ts +1 -1
- package/dist-types/BedrockAgentRuntimeClient.d.ts +1 -1
- package/dist-types/commands/InvokeAgentCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveAndGenerateCommand.d.ts +2 -1
- package/dist-types/commands/RetrieveCommand.d.ts +2 -1
- package/dist-types/models/models_0.d.ts +187 -187
- package/dist-types/ts3.4/commands/InvokeAgentCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RetrieveAndGenerateCommand.d.ts +9 -0
- package/dist-types/ts3.4/commands/RetrieveCommand.d.ts +9 -0
- package/package.json +43 -43
|
@@ -24,8 +24,8 @@ export interface BedrockAgentRuntime {
|
|
|
24
24
|
retrieveAndGenerate(args: RetrieveAndGenerateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RetrieveAndGenerateCommandOutput) => void): void;
|
|
25
25
|
}
|
|
26
26
|
/**
|
|
27
|
-
* @public
|
|
28
27
|
* <p>Contains APIs related to model invocation and querying of knowledge bases.</p>
|
|
28
|
+
* @public
|
|
29
29
|
*/
|
|
30
30
|
export declare class BedrockAgentRuntime extends BedrockAgentRuntimeClient implements BedrockAgentRuntime {
|
|
31
31
|
}
|
|
@@ -159,8 +159,8 @@ export type BedrockAgentRuntimeClientResolvedConfigType = __SmithyResolvedConfig
|
|
|
159
159
|
export interface BedrockAgentRuntimeClientResolvedConfig extends BedrockAgentRuntimeClientResolvedConfigType {
|
|
160
160
|
}
|
|
161
161
|
/**
|
|
162
|
-
* @public
|
|
163
162
|
* <p>Contains APIs related to model invocation and querying of knowledge bases.</p>
|
|
163
|
+
* @public
|
|
164
164
|
*/
|
|
165
165
|
export declare class BedrockAgentRuntimeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockAgentRuntimeClientResolvedConfig> {
|
|
166
166
|
/**
|
|
@@ -22,10 +22,10 @@ export interface InvokeAgentCommandOutput extends InvokeAgentResponse, __Metadat
|
|
|
22
22
|
}
|
|
23
23
|
declare const InvokeAgentCommand_base: {
|
|
24
24
|
new (input: InvokeAgentCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: InvokeAgentCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeAgentCommandInput, InvokeAgentCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Sends a prompt for the agent to process and respond to.</p>
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>The CLI doesn't support <code>InvokeAgent</code>.</p>
|
|
@@ -330,6 +330,7 @@ declare const InvokeAgentCommand_base: {
|
|
|
330
330
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
331
331
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
332
332
|
*
|
|
333
|
+
* @public
|
|
333
334
|
*/
|
|
334
335
|
export declare class InvokeAgentCommand extends InvokeAgentCommand_base {
|
|
335
336
|
}
|
|
@@ -22,10 +22,10 @@ export interface RetrieveAndGenerateCommandOutput extends RetrieveAndGenerateRes
|
|
|
22
22
|
}
|
|
23
23
|
declare const RetrieveAndGenerateCommand_base: {
|
|
24
24
|
new (input: RetrieveAndGenerateCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RetrieveAndGenerateCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveAndGenerateCommandInput, RetrieveAndGenerateCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Queries a knowledge base and generates responses based on the retrieved results. The response cites up to five sources but only selects the ones that are relevant to the query.</p>
|
|
30
30
|
* <note>
|
|
31
31
|
* <p>The <code>numberOfResults</code> field is currently unsupported for <code>RetrieveAndGenerate</code>. Don't include it in the <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_KnowledgeBaseVectorSearchConfiguration.html">vectorSearchConfiguration</a> object.</p>
|
|
@@ -131,6 +131,7 @@ declare const RetrieveAndGenerateCommand_base: {
|
|
|
131
131
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
132
132
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
133
133
|
*
|
|
134
|
+
* @public
|
|
134
135
|
*/
|
|
135
136
|
export declare class RetrieveAndGenerateCommand extends RetrieveAndGenerateCommand_base {
|
|
136
137
|
}
|
|
@@ -22,10 +22,10 @@ export interface RetrieveCommandOutput extends RetrieveResponse, __MetadataBeare
|
|
|
22
22
|
}
|
|
23
23
|
declare const RetrieveCommand_base: {
|
|
24
24
|
new (input: RetrieveCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
|
+
new (__0_0: RetrieveCommandInput): import("@smithy/smithy-client").CommandImpl<RetrieveCommandInput, RetrieveCommandOutput, BedrockAgentRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
25
26
|
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
26
27
|
};
|
|
27
28
|
/**
|
|
28
|
-
* @public
|
|
29
29
|
* <p>Queries a knowledge base and retrieves information from it.</p>
|
|
30
30
|
* @example
|
|
31
31
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -104,6 +104,7 @@ declare const RetrieveCommand_base: {
|
|
|
104
104
|
* @throws {@link BedrockAgentRuntimeServiceException}
|
|
105
105
|
* <p>Base exception class for all service exceptions from BedrockAgentRuntime service.</p>
|
|
106
106
|
*
|
|
107
|
+
* @public
|
|
107
108
|
*/
|
|
108
109
|
export declare class RetrieveCommand extends RetrieveCommand_base {
|
|
109
110
|
}
|