# Question Answering

> Giving a direct answer to a question in plain words. Not a list of links.

**Field:** Artificial Intelligence  
**Category:** NLP & Language  
**Also known as:** Question Answering System, Extractive Question Answering, Open-Domain Question Answering

## Think of it like

It is like asking a smart friend a question. You get the answer, not a pile of books.

## Definition

Question answering is the task of giving a direct answer to a question asked in plain words. In extractive QA, the model is given a passage and points to the words in it that answer the question. In open QA, it must find the answer itself, from what it learned or from a search. Many assistants and search pages now give answers like this at the top. A good system also says when the answer is not there.

## Example

Jack asks when the store closes on Sunday. The model reads the store's page and says 5 pm. It points to the line that says so.

## Why it matters

People want an answer, not a stack of pages. This task turns a pile of text into one reply.

## Common mistake

Expecting an answer when the text has none. A good system says it was not found instead of guessing.

## Three principles

- **An answer, not links.** One direct reply.
- **Point or find.** From a passage, or from a search.
- **Know when to stop.** Say when it is not there.

## Related terms

- [Retrieval-Augmented Generation (RAG)](https://learn.benibix.com/term/ai/retrieval-augmented-generation)
- [Visual Question Answering](https://learn.benibix.com/term/ai/visual-question-answering)
- [Natural Language Understanding (NLU)](https://learn.benibix.com/term/ai/natural-language-understanding)
- [Semantic Search](https://learn.benibix.com/term/ai/semantic-search)
- [Faithfulness (AI)](https://learn.benibix.com/term/ai/faithfulness)
- [Chatbot](https://learn.benibix.com/term/ai/chatbot)

![Two panels. On the left, a prompt is followed by new words added one by one. On the right, a question and a short passage lead to one answer, with the line it came from marked in the passage.](https://learn.benibix.com/diagrams/ai5-qa-generation.svg)

---

Source: https://learn.benibix.com/term/ai/question-answering
Author: Behnia Zarei (a developer in Vienna, Austria, who builds and teaches data, AI and business intelligence at BENIBIX)
Publisher: BENIBIX Learn (https://learn.benibix.com/)
Last updated: 2026-11-18
Licence: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Quote freely with attribution.
