> For the complete documentation index, see [llms.txt](https://primer.ought.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://primer.ought.org/chapters/question-answering.md).

# Question Answering

Now let’s write our first recipe that calls a (human or language model) agent: We’ll simply ask them to answer a question.

In [step 1](/chapters/question-answering/q-and-a-without-context.md), we’ll answer a question without any context.

In [step 2](/chapters/question-answering/q-and-a-about-short-texts.md), we’ll provide a short passage as background.
