Giter VIP home page Giter VIP logo

gkorland / advanced-rag-with-falkordb Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akritiupadhyay-au/advanced-rag-with-falkordb

0.0 1.0 0.0 24 KB

This repository is a practical implementation of how RAG applications can be built using Knowledge Graphs, such as Falkor DB.

Home Page: https://medium.com/@akriti.upadhyay/building-advanced-rag-applications-using-falkordb-langchain-diffbot-api-and-openai-083fa1b6a96c

License: GNU General Public License v3.0

Python 100.00%

advanced-rag-with-falkordb's Introduction

Advanced RAG with FalkorDB

Knowledge Graphs has changed the way RAG applications are getting built. Since RAG mitigates knowledge limitations like hallucinations and knowledge cut-offs, we use RAG to build QA chatbots. Knowledge Graphs store and query the original data and capture different entities and relations embedded in one’s data.

FalkorDB is a high-performance Graph Database designed for applications prioritizing fast response times and refusing to compromise on data modeling. It succeeds RedisGraph and is recognized for its exceptionally low latency. Users trust FalkorDB for its uncompromising performance. It can be easily run using Docker.

Use this command to install Falkor DB using docker: docker run -p 6379:6379 -p 7687:7687 falkordb/falkordb

With the help of a Falkor DB Knowledge Graph, I have built an advanced RAG application using the Diffbot API and the OpenAI base model.

Steps to Follow:

  1. Clone this repository using this command: git clone https://github.com/akritiupadhyay-au/Advanced-RAG-with-FalkorDB.git
  2. Change the directory: cd Advanced-RAG-with-FalkorDB
  3. Install the requirements: pip install -r requirements.txt
  4. Edit the environment file with your API keys.
  5. Run the app.py in your terminal: python app.py run

You'll see the results. You can change the Wikipedia Query while loading using LangChain framework. Also, you can try different queries related to the loaded Wikipedia Query in the Chain.

To know more in details, visit my medium article

advanced-rag-with-falkordb's People

Contributors

akritiupadhyay-au avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.