GithubHelp home page GithubHelp logo

pdlloyd / mind_mapper Goto Github PK

View Code? Open in Web Editor NEW

This project forked from andrea-dagostino/mind_mapper

0.0 0.0 0.0 15.47 MB

Network Analysis through LLMs for Knowledge Extraction

Home Page: https://medium.com/towards-data-science/beyond-rag-network-analysis-through-llms-for-knowledge-extraction-4d107eb5282d

Python 100.00%

mind_mapper's Introduction

Mind Mapper

Chatbot Gif

This is a project designed to leverage the RAG pipeline and LLMs to create a network representation of knowledge for better navigation and understanding.

The motivation was to go beyond the “simple” RAG framework, where a user queries a vector database and its response is then fed to an LLM like GPT-4 for an enriched answer.

Mind Mapper leverages RAG to create intermediate result representations useful to perform some kind of knowledge intelligence which is allows us in turn to better understand the output results of RAG over long and unstructured documents.

For example, given a keyword or concept as input (like "Sam Altman"), the tool will return a knowledge graph of all entities tied to Sam Altman. You can apply this mechanism to any data source you want by simply adding data through the streamlit interface.

Features

Here are some of the tool’s features:

  • Manages text in basically all forms: copy-paste, textual and originating from audio source (video is contemplated too if the project is well received)
  • Uses an in-project SQLite database for data persistence
  • Leverages the state-of-the-art Upstash vector database to store vectors efficiently
  • Chunks from the vector database are then used to create a knowledge graph of the information
  • A final LLM is called to comment on the knowledge graph and extract insights

Installation

Make sure you have Poetry installed on your system.

In the project's folder, run the command poetry install. Once installed, run the frontend by executing the command streamlit run src/frontend.py

References

mind_mapper's People

Contributors

andrea-dagostino 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.