RetrieveRequest
¶
Source code in docs_src/capo_bedrock_agent_runtime/types/retrieve_request.py
guardrail_configuration
instance-attribute
¶
guardrail_configuration: NotRequired[GuardrailConfiguration]
Guardrail settings.
knowledge_base_id
instance-attribute
¶
knowledge_base_id: KnowledgeBaseIdentifier
The unique identifier of the knowledge base to query.
next_token
instance-attribute
¶
next_token: NotRequired[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.
retrieval_configuration
instance-attribute
¶
retrieval_configuration: NotRequired[KnowledgeBaseRetrievalConfiguration]
Contains configurations for the knowledge base query and retrieval process. For more information, see Query configurations.
retrieval_query
instance-attribute
¶
retrieval_query: KnowledgeBaseQuery
Contains the query to send the knowledge base.
user_context
instance-attribute
¶
user_context: NotRequired[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.