hf_table_question_answering_payload: Table Question Answering Payload

View source: R/inference.R

hf_table_question_answering_payloadR Documentation

Table Question Answering Payload

Description

Don’t know SQL? Don’t want to dive into a large spreadsheet? Ask questions in plain english!

Usage

hf_table_question_answering_payload(query, table)

Arguments

query

The query in plain text that you want to ask the table

table

A table of data represented as a dict of list where entries are headers and the lists are all the values, all lists must have the same size.

Value

An inference payload

See Also

https://huggingface.co/docs/api-inference/detailed_parameters#table-question-answering-task


farach/huggingfaceR documentation built on Feb. 4, 2023, 10:31 p.m.