OntoRAG: Ontology-Based Knowledge Extraction and Query Technical Specification (#523)

* Onto-rag tech spec

* New processor kg-extract-ontology, use 'ontology' objects from config to guide triple extraction

* Also entity contexts

* Integrate with ontology extractor from workbench

This is first phase, the extraction is tested and working, also GraphRAG with the extracted knowledge works
This commit is contained in:
cybermaggedon 2025-11-12 20:38:08 +00:00 committed by GitHub
parent 4c3db4dbbe
commit c69f5207a4
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
28 changed files with 11824 additions and 0 deletions

View file

@ -16,6 +16,7 @@ dependencies = [
"scylla-driver",
"cohere",
"cryptography",
"faiss-cpu",
"falkordb",
"fastembed",
"google-genai",
@ -29,6 +30,7 @@ dependencies = [
"minio",
"mistralai",
"neo4j",
"nltk",
"ollama",
"openai",
"pinecone[grpc]",
@ -82,6 +84,7 @@ kg-extract-definitions = "trustgraph.extract.kg.definitions:run"
kg-extract-objects = "trustgraph.extract.kg.objects:run"
kg-extract-relationships = "trustgraph.extract.kg.relationships:run"
kg-extract-topics = "trustgraph.extract.kg.topics:run"
kg-extract-ontology = "trustgraph.extract.kg.ontology:run"
kg-manager = "trustgraph.cores:run"
kg-store = "trustgraph.storage.knowledge:run"
librarian = "trustgraph.librarian:run"