# Question and Answer Chain node

Use the Question and Answer Chain node to use a [vector store](../../../../../glossary/#ai-vector-store) as a retriever.

On this page, you'll find the node parameters for the Question and Answer Chain node, and links to more resources.

## Node parameters

### Query

The question you want to ask.

## Templates and examples

**Ask questions about a PDF using AI**

by David Roberts

[View template details](https://n8n.io/workflows/1960-ask-questions-about-a-pdf-using-ai/)

**AI Crew to Automate Fundamental Stock Analysis - Q&A Workflow**

by Derek Cheung

[View template details](https://n8n.io/workflows/2183-ai-crew-to-automate-fundamental-stock-analysis-qanda-workflow/)

**Advanced AI Demo (Presented at AI Developers #14 meetup)**

by Max Tkacz

[View template details](https://n8n.io/workflows/2358-advanced-ai-demo-presented-at-ai-developers-14-meetup/)

[Browse Question and Answer Chain integration templates](https://n8n.io/integrations/retrieval-qanda-chain/), or [search all templates](https://n8n.io/workflows/)

## Related resources

Refer to [LangChain's documentation on retrieval chains](https://js.langchain.com/docs/tutorials/rag/) for examples of how LangChain can use a vector store as a retriever.

View n8n's [Advanced AI](../../../../../advanced-ai/) documentation.

## Common issues

For common errors or issues and suggested resolution steps, refer to [Common Issues](common-issues/).
