Skip to content
/ chatbot Public

A chatbot using the RAG pipeline built with Django, Next.js 14, WebSockets, and powered by the LangChain framework. It leverages the llama2 model for processing user queries and generating responses.

Notifications You must be signed in to change notification settings

anshRS/chatbot

Repository files navigation

Nourality

 nourality

A dual mode RAG chatbot

Table of Contents

Introduction

Nourality is a unique chatbot designed to offer users a versatile conversational experience. It operates in two modes: Chattergiest Mode, a general chatbot providing responses for casual interactions, and Noura Mode, a specialized mode focusing on nutrition-related information and advice. While both modes use the Llama 2 (7B) model, a 7 billion parameter large language model (LLM), to generate responses, only Noura Mode utilizes the Retrieval-Augmented Generation (RAG) pipeline, ensuring contextually relevant and engaging conversations.

Features

  • Secure access control for users
  • Ensures account activation through email verification
  • Allows users to change their passwords easily
  • View, delete, and edit chat titles for previous conversations
  • Provides responses that are aware of the chat context.
  • Instant replies to user queries.
  • Facilitates everyday tasks with a general chatbot
  • Specialized mode for nutrition-related information
  • Offers a user-friendly interface with both light and dark themes

Tech Stack Used

Frontend Backend Others
Next.js 14 Python Docker
Tailwind CSS Django Ollama
shadcn PostgreSQL ChromaDB
Redux MongoDB Meta Llama 2
TypeScript LangChain Selenium

Project Preview

Demo video showing the working of the website. Navigating through different sections:

nourality.mp4

Support

If you find the project useful or interesting, please consider giving it a ⭐️! Your support is greatly appreciated and helps others discover this project.

About

A chatbot using the RAG pipeline built with Django, Next.js 14, WebSockets, and powered by the LangChain framework. It leverages the llama2 model for processing user queries and generating responses.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published