Loading Cognitive Cores
Identify a Cognitive Core
to load into TrustGraph
.
Cognitive Core CLI​
pip3 install trustgraph-cli
note
The trustgraph-cli
version needs to match the version of TrustGraph
.
Loading Commands​
To load the core, run the following:
tg-load-kg-core -i <cognitive-core>
Loading a Cognitive Core
is considerably quicker than the extraction process. Once the core has been loaded, Graph RAG
can run using the Cognitive Core
.
tip
Check the Grafana
dashboard to track when the core has been fully loaded.
Document RAG Cores​
While Graph RAG generally produces the better responses, it's possible to load just the vector embeddings to perform RAG requests on a single document.
tg-load-doc-embeds -i <document-core>