Skip to content

A chatbot to store and retrieve information and preferences of your relatives and friends.

Notifications You must be signed in to change notification settings

alchemistgo87/People-RAG-App

Repository files navigation

People RAG App (using Vercel AI SDK)

People.Rag.App.Demo.mov

A chatbot to store and retrieve information and preferences of your relatives and friends. This intelligent system will only respond with data about people that are present in its knowledge base. You can add information about a relative in a simple chat format and the tool will understand and segregate the information before storing it in the database.

Example Usecase: You can ask what to buy for a friend (whose details are already present in the system) on his/her birthday.

This project uses the following stack:

Getting Started

Create a postgres database (some possible ways to do so):

Make a copy of the .env.example file and rename it to .env.

cp .env.example .env

Open the .env file and add

  • Postgres connection string
  • OpenAI API key.

Install dependencies

pnpm install

Migrate and push database schema to Postgres

pnpm db:migrate
pnpm db:push

Start the development server

pnpm run dev

Start the Drizzle Studio

pnpm db:studio

References

Retrieval-Augmented Generation (RAG) guide.

About

A chatbot to store and retrieve information and preferences of your relatives and friends.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published