| Package | Description |
|---|---|
| com.amazonaws.services.bedrockagentruntime.model |
| Modifier and Type | Method and Description |
|---|---|
Citation |
Citation.clone() |
Citation |
Citation.withGeneratedResponsePart(GeneratedResponsePart generatedResponsePart)
Contains the generated response and metadata
|
Citation |
Citation.withRetrievedReferences(Collection<RetrievedReference> retrievedReferences)
Contains metadata about the sources cited for the generated response.
|
Citation |
Citation.withRetrievedReferences(RetrievedReference... retrievedReferences)
Contains metadata about the sources cited for the generated response.
|
| Modifier and Type | Method and Description |
|---|---|
List<Citation> |
RetrieveAndGenerateResult.getCitations()
A list of segments of the generated response that are based on sources in the knowledge base, alongside
information about the sources.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RetrieveAndGenerateResult.setCitations(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.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.
|
Copyright © 2024. All rights reserved.