Skip to content

Commit fc8a214

Browse files
hanouticelinagithub-actions[bot]
authored andcommitted
Update API inference documentation (automated)
1 parent b23ab64 commit fc8a214

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

docs/api-inference/tasks/table-question-answering.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -120,12 +120,6 @@ To use the JavaScript client, see `huggingface.js`'s [package reference](https:/
120120

121121
#### Request
122122

123-
| Payload | | |
124-
| :--- | :--- | :--- |
125-
| **inputs*** | _object_ | One (table, question) pair to answer |
126-
| **        table*** | _object_ | The table to serve as context for the questions |
127-
| **        question*** | _string_ | The question to be answered about the table |
128-
| **parameters** | _object_ | |
129123

130124

131125
Some options can be configured by passing headers to the Inference API. Here are the available headers:

scripts/api-inference/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"author": "",
1515
"license": "ISC",
1616
"dependencies": {
17-
"@huggingface/tasks": "^0.13.8",
17+
"@huggingface/tasks": "^0.13.9",
1818
"@types/node": "^22.5.0",
1919
"handlebars": "^4.7.8",
2020
"node": "^20.17.0",

scripts/api-inference/pnpm-lock.yaml

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)