## Question Answering

Question Answering models can retrieve the answer to a question from a given text, which is useful for searching for an answer in a document.

{{{tips.linksToTaskPage.question-answering}}}

### Recommended models

{{#each recommendedModels.question-answering}}
- [{{this.id}}](https://huggingface.co/{{this.id}}): {{this.description}}
{{/each}}

{{{tips.listModelsLink.question-answering}}}

### Using the API

{{{snippets.question-answering}}}

### API specification

#### Request

{{{constants.specsHeaders}}}

{{{specs.question-answering.input}}}

#### Response

{{{specs.question-answering.output}}}
