Quickstart: Build FAQs RAG using Memory
Let's build your first RAG using memory in a minute.
In this quickstart guide, you will:
- Create a memory on Langbase.
- Build a RAG by connecting your pipe and memory.
- Deploy your RAG system using the Pipe API.
Let's get started
Let's create a RAG system for Pipe FAQs using memory to answer questions about Pipe.
Step #1Create a Memory
- Login to your account on Langbase.
- Click on the “Memory” tab on the left sidebar. This will open the memory page.
- Click on the “Add New” button. Enter a name for the new memory, let's call it
pipe-faqs
. - Click on "Create" button to create the memory.
Step #2Add Document to Memory
- Go to Pipe's FAQs page and save the page as a
.pdf
or.txt
. - Open
pipe-faqs
memory. Click on the upload area or drag & drop documents to add them to the memory. Maximum five documents can be uploaded at a time with a maximum size of 10MB per document. - Click “Refresh” to fetch latest status. Once documents are uploaded, they are processed automatically in the background. When “Ready” status appears, the document is ready to be used.
Step #3Add memory to Pipe
- Create a new Pipe or open an existing Pipe.
- Click on the "Memory" button in Pipe editor.
- Click on the "Search Memory Sets" dropdown and select the
pipe-faqs
memory from the list of memory sets.
Step #4Prompt Away!
That's it! You have successfully created a RAG system using memory. Now, you can prompt the LLM model to get answers to your questions. It will search the memory and provide you with the best possible answer to your question.
✨ Congratulations! You have successfully created a RAG system using memory. You can now deploy your RAG system using the Pipe API.
Next Steps
Dive deeper into the Memory concepts to explore more features and capabilities of memory.