Skip to content

AlecBytes/rag-chatbot-alec

Repository files navigation

🤖 RAG Chatbot - Answers Questions About Alec

🚀 Live Demo: AlecBytes/chatbot

📝 Currently building a chatbot that uses retrieval-augmented generation (RAG) to reason and respond with information outside of the model's training data. I kicked things off with a Vercel AI SDK template, tweaked the model prompt, and chunked & embedded my resume info in a vector database. After testing prompt responses on a working prototype, I'm now fine-tuning and adding more information chunks. Next up, I'll re-embed the updated chunks and see how they boost the chatbot’s responses.

If you're into AI or chatbots, let's connect and share insights!

Please Star This Project

If you find this project useful, consider starring ⭐ the repo! Your support helps others discover it and motivates further development. Thank you! 🙏

💡 How it works

Store the Context the Model does not have

alt text

Retrieve stored context similar to query, combine into new query

alt text

Features

  • Information retrieval and addition through tool calls using the streamText function
  • Real-time streaming of model responses to the frontend using the useChat hook
  • Vector embedding storage with DrizzleORM and PostgreSQL
  • Animated UI with Framer Motion

📷 Images of the App

Image of the chatbot

💻 Tech Stack

🎨 Frontend

🤖 AI/ML

💾 Database

🌍 Deployment

  • Vercel - Hosting platform
  • Supabase - PostgreSQL vector database provider

📜 License

This project is not open-source, and no license is granted for reuse, modification, or distribution.

If you are looking to build a similar chatbot, please refer to the official Vercel Guide and its starter code. The modifications in this repository are tailored to my specific needs, and you should create your own custom implementation.

🤝 Credits

The starter code and images used in this project are sourced from Vercel's Guide.

About

RAG Chatbot - Answers Questions About Alec.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •