[](https://js.langchain.com/docs/how_to/vectorstore_retriever/): LLM should read this page when: - Wanting to use a vector store to retrieve relevant data for question answering - Building a retrieval-augmented generation (RAG) application - Composing chains involving retrievers 'This page explains how to convert a vector store into a retriever, which allows for easy chaining with other components like language models. It walks through the steps of initializing a vector store, creating a retriever from it, composing a question answering chain, and invoking that chain to get answers from the retrieved data.'

