Set up RAG with Genkit and Firebase in 15 minutes
dev.to·16h·
Discuss: DEV
Flag this post

Intro

Retrieval augmented generation (RAG) is like a knowledge base to your LLM model that helps it to add your context-specific information into the prompt and answer. In this article, we will go through how to set up an endpoint that will provide an up-to-date answer about Genkit documentation thanks to RAG.

Prerequisites

  • Firebase project with billing enabled (you won’t be charged if you follow along, but you need to have billing enabled to access Firestore and Firebase Cloud Functions)

  • If you have never used Firebase, check out how to get started on the Firebase Blog

  • Genkit installed

  • Genkit is an open-source library that abstracts much of the boring stuff wh…

Similar Posts

Loading similar posts...