KnowledgeBaseQuery¶
Structure Class¶
KnowledgeBaseQuery
dataclass
¶
Contains the query made to the knowledge base.
This data type is used in the following API operations:
- Retrieve
request
-- in the
retrievalQueryfield
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
¶
type: KnowledgeBaseQueryType = KnowledgeBaseQueryType('TEXT')
The type of query being performed.