Queries a knowledge base and retrieves information from it
Source:R/bedrockagentruntime_operations.R
bedrockagentruntime_retrieve.RdQueries a knowledge base and retrieves information from it.
See https://www.paws-r-sdk.com/docs/bedrockagentruntime_retrieve/ for full documentation.
Usage
bedrockagentruntime_retrieve(
guardrailConfiguration = NULL,
knowledgeBaseId,
nextToken = NULL,
retrievalConfiguration = NULL,
retrievalQuery
)Arguments
- guardrailConfiguration
Guardrail settings.
- knowledgeBaseId
[required] The unique identifier of the knowledge base to query.
- nextToken
If there are more results than can fit in the response, the response returns a
nextToken. Use this token in thenextTokenfield of another request to retrieve the next batch of results.- retrievalConfiguration
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
- retrievalQuery
[required] Contains the query to send the knowledge base.