Module Values.TableCellSource

Provides information about a table cell in a table excerpt.

Sourcetype nonrec t = {
  1. value : String_.t option;
    (*

    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.

    *)
  2. topAnswer : Boolean.t option;
    (*

    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.

    *)
  3. highlighted : Boolean.t option;
    (*

    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.

    *)
  4. header : Boolean.t option;
    (*

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

    *)
}
Sourceval make : ?value:??? -> ?topAnswer:??? -> ?highlighted:??? -> ?header:??? -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `Boolean of Boolean.t | `String of String_.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t