Skip to content

DocumentAttributeCondition

Source code in docs_src/capo_qbusiness/types/document_attribute_condition.py
class DocumentAttributeCondition(TypedDict, closed=True):
    key: "capo_qbusiness.types.document_attribute_key.DocumentAttributeKey"
    """<p>The identifier of the document attribute used for the condition.</p> <p>For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.</p> <p>Amazon Q Business currently doesn't support <code>_document_body</code> as an attribute key used for the condition.</p>"""
    operator: "capo_qbusiness.types.document_enrichment_condition_operator.DocumentEnrichmentConditionOperator"
    """<p>The identifier of the document attribute used for the condition.</p> <p>For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.</p> <p>Amazon Q Business currently does not support <code>_document_body</code> as an attribute key used for the condition.</p>"""
    value: NotRequired[
        "capo_qbusiness.types.document_attribute_value.DocumentAttributeValue"
    ]

key instance-attribute

The identifier of the document attribute used for the condition.

For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

Amazon Q Business currently doesn't support _document_body as an attribute key used for the condition.

operator instance-attribute

The identifier of the document attribute used for the condition.

For example, 'Source_URI' could be an identifier for the attribute or metadata field that contains source URIs associated with the documents.

Amazon Q Business currently does not support _document_body as an attribute key used for the condition.

value instance-attribute

value: NotRequired[DocumentAttributeValue]