Skip to main content

GraphRagCapability

A graph-based RAG capability uses a graph query engine to give a conversable agent the graph-based RAG ability.
An agent class with graph-based RAG capability could
  1. create a graph in the underlying database with input documents.
    2. retrieved relevant information based on messages received by the agent.
    3. generate answers from retrieved information and send messages back.
    For example,
Initialize graph-based RAG capability with a graph query engine Parameters:

Instance Methods

add_to_agent

Add the capability to an agent Parameters: