In this workflow, we augment the original prompt using the InfraNodus GraphRAG system that will extract a reasoning ontology from a graph that you create (or that you can copy from our repository of public graphs).
This additional reasoning logic will improve the user's prompt and make it more descriptive and closely related to the logic you want to use.
As the next step, you can send it back to the same graph to generate a high-quality response using Graph RAG or to another graph (or AI model) to apply one type of knowledge in a completely different field.
Special sauce: InfraNodus will build a graph from your augmented prompt, then overlap it on the knowledge graph you want to inquire, traverse this graph based on the overlapped parts and extended relations, then retrieve the necessary part of the graph and include it in the context to improve the quality of your response. This helps InfraNodus grasp the relations and nuances that are not usually available through standard RAG.
• Just get an InfraNodus API key and add it into your Prompt Augmentation and Knowledge Base InfraNodus HTTP nodes for authentication
• Then provide the name of the graphs you want to be using for prompt augmentation and retrieval. Note, these can be two different graphs if you want to apply a reasoning logic from one domain in another (e.g. machine learning in biology or philosophy in electrical engineering).
If you wan to create your own reasoning ontology graphs, please, refer to this article on generating your own knowledge graph ontologies.
You may also be interested to watch this video that explains the logic of this approach in detail:
Help article on the same topic: Using knowledge graphs as reasoning experts.