AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
Interface for accessing BedrockAgentRuntime
Contains APIs related to model invocation and querying of knowledge bases.Namespace: Amazon.BedrockAgentRuntime
Assembly: AWSSDK.BedrockAgentRuntime.dll
Version: 3.x.y.z
public interface IAmazonBedrockAgentRuntime IAmazonService, IDisposable
The IAmazonBedrockAgentRuntime type exposes the following members
Name | Type | Description | |
---|---|---|---|
Paginators | Amazon.BedrockAgentRuntime.Model.IBedrockAgentRuntimePaginatorFactory |
Paginators for the service |
Name | Description | |
---|---|---|
DetermineServiceOperationEndpoint(AmazonWebServiceRequest) |
Returns the endpoint that will be used for a particular request. |
|
InvokeAgent(InvokeAgentRequest) |
The CLI doesn't support Sends a prompt for the agent to process and respond to. Note the following fields for the request:
The response is returned in the
|
|
InvokeAgentAsync(InvokeAgentRequest, CancellationToken) |
The CLI doesn't support Sends a prompt for the agent to process and respond to. Note the following fields for the request:
The response is returned in the
|
|
Retrieve(RetrieveRequest) |
Queries a knowledge base and retrieves information from it. |
|
RetrieveAndGenerate(RetrieveAndGenerateRequest) |
Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query. |
|
RetrieveAndGenerateAsync(RetrieveAndGenerateRequest, CancellationToken) |
Queries a knowledge base and generates responses based on the retrieved results. The response only cites sources that are relevant to the query. |
|
RetrieveAsync(RetrieveRequest, CancellationToken) |
Queries a knowledge base and retrieves information from it. |
.NET:
Supported in: 8.0 and newer, Core 3.1
.NET Standard:
Supported in: 2.0
.NET Framework:
Supported in: 4.5 and newer, 3.5