SciPhi-AI / R2R

The all-in-one solution for RAG. Build, scale, and deploy state of the art Retrieval-Augmented Generation applications

Home Page:https://r2r-docs.sciphi.ai/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Knowledge Graph from Entity Extraction

taahan0810 opened this issue · comments

Hey, I was thinking of creating a knowledge graph from the extracted entities of the documents. We could first extract the entities and then these entities could be the edges of the documents. This way we can map the documents as knowledge where the edge information is the common entities between documents. How does this sound?

Sounds amazing, let's start with an entity extraction pipeline that can sit after the ingestion pipeline in the default RAG system?

Sounds good!

@taahan0810 - I spent a few minutes and whipped up a very RD of the entity extraction pipeline here, thoughts?

This looks good! I was not sure if the Pipeline class import was present in r2r.pipelines so I left a comment.

this code won't run, it's more or less an early version - do you want to pull it in and polish it and commit some changes?

Yes, on it!