Skip to content

KnowledgeBaseQuery

Structure Class

KnowledgeBaseQuery dataclass

Bases: _SerdeShape

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 = ...

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
type: str = ...

The type of query being performed.