Skip to content

TableCell

Source code in docs_src/capo_kendra/types/table_cell.py
class TableCell(TypedDict, closed=True):
    value: NotRequired["capo_kendra.types.string.String"]
    """<p>The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.</p>"""
    top_answer: "capo_kendra.types.boolean.Boolean"
    """<p> <code>TRUE</code> if the response of the table cell is the top answer. This is the cell value or content with the highest confidence score or is the most relevant to the query.</p>"""
    highlighted: "capo_kendra.types.boolean.Boolean"
    """<p> <code>TRUE</code> means that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.</p>"""
    header: "capo_kendra.types.boolean.Boolean"
    """<p> <code>TRUE</code> means that the table cell should be treated as a header.</p>"""

header instance-attribute

header: Boolean

TRUE means that the table cell should be treated as a header.

highlighted instance-attribute

highlighted: Boolean

TRUE means that the table cell has a high enough confidence and is relevant to the query, so the value or content should be highlighted.

top_answer instance-attribute

top_answer: Boolean

TRUE if the response of the table cell is the top answer. This is the cell value or content with the highest confidence score or is the most relevant to the query.

value instance-attribute

value: NotRequired[String]

The actual value or content within a table cell. A table cell could contain a date value of a year, or a string value of text, for example.