Skip to content

KnowledgeBaseQueryDict

Dictionary Type

KnowledgeBaseQueryDict

Bases: TypedDict

Dictionary form of KnowledgeBaseQuery.

Attributes

image instance-attribute
image: InputImage | InputImageDict | None

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

text instance-attribute
text: str | None

The text of the query made to the knowledge base.

type instance-attribute
type: str | None

The type of query being performed.