# QA over in-memory documents

Here we walk through how to use LangChain for question answering over a list of documents. Under the hood we'll be using our [Document chains](/docs/modules/chains/document/).

import Example from "@snippets/modules/chains/additional/question_answering.mdx"

<Example/>

## Document QA with sources

import ExampleWithSources from "@snippets/modules/chains/additional/qa_with_sources.mdx"

<ExampleWithSources/>
