Skip to main content
POST
Table question answering

Body

application/json

Request to run question-answering against a tabular dataset.

table
object
required

Table represented as a dict mapping column names to lists of strings (or a DataFrame equivalent). Required.

query
required

Query string(s) to run against the table. Required.

sequential
boolean
default:false

If true, run queries sequentially rather than batching (required for some models).

padding
default:false

Controls padding behavior; accepts booleans or mode strings such as 'longest'.

truncation
default:false

Controls truncation behavior; accepts booleans or mode strings such as 'drop_rows_to_fit'.

Response

200 - application/json

Table QA result

answer
string
coordinates
integer[][]
cells
string[]
aggregator
string