JSv4 / OpenContracts

Mass document analytics platform based on LlamaIndex, Pgvector, React and Django.
https://JSv4.github.io/OpenContracts/
Apache License 2.0
671 stars 53 forks source link

[FEATURE] Add Structural Annotation Relationships #161

Open JSv4 opened 1 month ago

JSv4 commented 1 month ago

llmsherpa can infer parent/child relationships from nlm-ingestor outputs. Incorporate llmsherpa logic / code to our parser pipeline to create appropriate relationships between layout annotation blocks. This will allow us to do advanced retrieval techniques like finding appropriate text and then crawling up the annotation tree to the parent section and feeding that to the LLM.