Skip to content

Bedrock Agent Runtime  >  Structures  >  KnowledgeBaseQuery

KnowledgeBaseQuery

Structure Class

KnowledgeBaseQuery dataclass

Contains the query made to the knowledge base.

This data type is used in the following API operations:

Attributes

image class-attribute instance-attribute
image: InputImage | None = None

An image to include in the knowledge base query for multimodal retrieval.

text class-attribute instance-attribute
text: str = ''

The text of the query made to the knowledge base.

type class-attribute instance-attribute

The type of query being performed.