Enhance AI chatbot responses with InfraNodus knowledge graph reasoning
Augment AI chatbot prompts with a knowledge graph reasoning ontology and improve the quality of responses with Graph RAG. In this workflow, we augment the original prompt using the [InfraNodus GraphRAG system](https:/...
Template notes
Augment AI chatbot prompts with a knowledge graph reasoning ontology and improve the quality of responses with Graph RAG.
In this workflow, we augment the original prompt using the [InfraNodus GraphRAG system](https://infranodus.com/docs/graph-rag-knowledge-graph) that will extract a reasoning ontology from a graph that you create (or that you can copy from our [repository of public graphs](https://infranodus.com/knowledge-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.

How it works
1. Receives a request from a user (via n8n or a publicly available URL chat bot, you can also connect it to [Telegram](https://n8n.io/workflows/4485-telegram-ai-chatbot-agent-with-infranodus-graphrag-knowledge-base/) 2. Sends the request to the knowledge graph in your InfraNodus account that contains a reasoning ontology represented as a knowledge graph. Reformulates the original prompt to include the reasoning logic provided. 3. Sends the request to the knowledge graph in your InfraNodus account (same as the previous one or a new one for cross-disciplinary research) to retrieve a high-quality response using GraphRAG
Special sauce: [InfraNodus](https://infranodus.com) 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.