DEV Community

Daniel Chifamba
Daniel Chifamba

Posted on

Create your own AI RAG bot in minutes

This is a submission for the Open Source AI Challenge with pgai and Ollama

What I Built

Meet Uyaz, a platform where you can create your own AI Rag bot in minutes.

Purpose

The idea is to create a platform that users can easily create their own RAG bots for different applications. Imagine:

  • A travel agent sending a bot that can answer FAQs for a tour package
  • A school creating a bot for students to chat with their handbook or course module
  • A product manufacturer adding a bot for users to chat with the user manual
  • A company onboarding a new employee and they can go through the procedures using a slack bot

Demo

Live Demo: https://uyaz-demo.vercel.app

Image description

Image description

Image description

Image description

Image description

Tools Used

  • pgai - We used this extension to connect to Ollama and use queries for embedding related queries
  • pgvector - We used this extension to support storing vector embeddings

Final Thoughts

This was a really a fun challenge, it pushed us to explore how we could use pgai to do a lot of the heavy lifting, and we can focus more on the other aspects of development

Categories:

  • Open-source Models from Ollama (llama3.2, phi3)

Credits to team members:

Top comments (0)