| Package | Description |
|---|---|
| com.amazonaws.services.bedrockagentruntime |
Contains APIs related to model invocation and querying of knowledge bases.
|
| com.amazonaws.services.bedrockagentruntime.model |
| Modifier and Type | Method and Description |
|---|---|
RetrieveAndGenerateResult |
AWSBedrockAgentRuntimeClient.retrieveAndGenerate(RetrieveAndGenerateRequest request)
Queries a knowledge base and generates responses based on the retrieved results.
|
RetrieveAndGenerateResult |
AWSBedrockAgentRuntime.retrieveAndGenerate(RetrieveAndGenerateRequest retrieveAndGenerateRequest)
Queries a knowledge base and generates responses based on the retrieved results.
|
RetrieveAndGenerateResult |
AbstractAWSBedrockAgentRuntime.retrieveAndGenerate(RetrieveAndGenerateRequest request) |
| Modifier and Type | Method and Description |
|---|---|
Future<RetrieveAndGenerateResult> |
AbstractAWSBedrockAgentRuntimeAsync.retrieveAndGenerateAsync(RetrieveAndGenerateRequest request,
AsyncHandler<RetrieveAndGenerateRequest,RetrieveAndGenerateResult> asyncHandler) |
Future<RetrieveAndGenerateResult> |
AWSBedrockAgentRuntimeAsync.retrieveAndGenerateAsync(RetrieveAndGenerateRequest retrieveAndGenerateRequest,
AsyncHandler<RetrieveAndGenerateRequest,RetrieveAndGenerateResult> asyncHandler)
Queries a knowledge base and generates responses based on the retrieved results.
|
Future<RetrieveAndGenerateResult> |
AWSBedrockAgentRuntimeAsyncClient.retrieveAndGenerateAsync(RetrieveAndGenerateRequest request,
AsyncHandler<RetrieveAndGenerateRequest,RetrieveAndGenerateResult> asyncHandler) |
| Modifier and Type | Method and Description |
|---|---|
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.clone() |
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.withCitations(Citation... citations)
A list of segments of the generated response that are based on sources in the knowledge base, alongside
information about the sources.
|
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.withCitations(Collection<Citation> citations)
A list of segments of the generated response that are based on sources in the knowledge base, alongside
information about the sources.
|
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.withGuardrailAction(GuadrailAction guardrailAction)
Specifies if there is a guardrail intervention in the response.
|
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.withGuardrailAction(String guardrailAction)
Specifies if there is a guardrail intervention in the response.
|
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.withOutput(RetrieveAndGenerateOutput output)
Contains the response generated from querying the knowledge base.
|
RetrieveAndGenerateResult |
RetrieveAndGenerateResult.withSessionId(String sessionId)
The unique identifier of the session.
|
Copyright © 2025. All rights reserved.