| Package | Description |
|---|---|
| com.amazonaws.services.bedrockagentruntime.model |
| Modifier and Type | Method and Description |
|---|---|
KnowledgeBaseRetrievalResult |
KnowledgeBaseRetrievalResult.clone() |
KnowledgeBaseRetrievalResult |
KnowledgeBaseRetrievalResult.withContent(RetrievalResultContent content)
Contains a chunk of text from a data source in the knowledge base.
|
KnowledgeBaseRetrievalResult |
KnowledgeBaseRetrievalResult.withLocation(RetrievalResultLocation location)
Contains information about the location of the data source.
|
KnowledgeBaseRetrievalResult |
KnowledgeBaseRetrievalResult.withScore(Double score)
The level of relevance of the result to the query.
|
| Modifier and Type | Method and Description |
|---|---|
List<KnowledgeBaseRetrievalResult> |
RetrieveResult.getRetrievalResults()
A list of results from querying the knowledge base.
|
| Modifier and Type | Method and Description |
|---|---|
RetrieveResult |
RetrieveResult.withRetrievalResults(KnowledgeBaseRetrievalResult... retrievalResults)
A list of results from querying the knowledge base.
|
| Modifier and Type | Method and Description |
|---|---|
void |
RetrieveResult.setRetrievalResults(Collection<KnowledgeBaseRetrievalResult> retrievalResults)
A list of results from querying the knowledge base.
|
RetrieveResult |
RetrieveResult.withRetrievalResults(Collection<KnowledgeBaseRetrievalResult> retrievalResults)
A list of results from querying the knowledge base.
|
Copyright © 2024. All rights reserved.