bedrockagentruntime_retrieve: Queries a knowledge base and retrieves information from it

View source: R/bedrockagentruntime_operations.R

bedrockagentruntime_retrieveR Documentation

Queries a knowledge base and retrieves information from it

Description

Queries 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,
  userContext = NULL
)

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 the nextToken field 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.

userContext

Contains information about the user making the request. This is used for access control filtering to ensure that retrieval results only include documents the user is authorized to access.


paws.machine.learning documentation built on Oct. 8, 2026, 9:06 a.m.