Skip to content

Consulting chatbot revolves around issues of building, improving, developing relationships, and how to behave between people. DB's content is taken from the book "How to Win Friends and Influence People".

License

Notifications You must be signed in to change notification settings

loipct/dnt-chatbox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

LangChain RAG Pattern Demo (React, FastAPI, Pinecone DB Vectorstore)

Windows 11 & Python 3.11.0 & Node.js v16.20.2

Overview

This repository contains a demo showcasing the implementation of the RAG (Retrieval Augmented Generation) pattern using Pinecone DB and LangChain. The RAG pattern combines retrieval-based and generative-based approaches to natural language processing, enhancing text generation capabilities.

Key Features

  • Implemented routing
  • Implemented multi queries
  • Implemented query translation : stepback, rewriting, HyDE, sub-query decomposition
  • Implemented adaptive retrieval
  • Implemented reranking
  • Implemented Self-RAG
  • Implemented CRAG
  • Trying to make raptor ..

Requirements

  • Python environment with LangChain installed.
  • Basic knowledge of Vectorstore and natural language processing concepts.

Usage

  1. Follow the steps provided in the README file.

Steps

  1. Step 1 - Create FastAPI to integrate LangChain RAG pattern with web front-end.
  2. Step 2 - Build the React web front-end to ask 'grounded' questions of your data and view relevant documents.
  3. Follow the setup instructions provided in the README file.
  4. Run the demo application and explore the RAG pattern in action.

License

This project is licensed under the MIT License, granting permission for commercial and non-commercial use with proper attribution.

Disclaimer

This demo application is provided for educational and demonstration purposes only. Use at your own risk.

About

Consulting chatbot revolves around issues of building, improving, developing relationships, and how to behave between people. DB's content is taken from the book "How to Win Friends and Influence People".

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published