Using FalkorGraphRagCapability with agents for GraphRAG Question & Answering
Note: If you have been usingFor more information, please refer to the installation guide.autogen
orag2
, all you need to do is upgrade it using:orasautogen
, andag2
are aliases for the same PyPI package.
OPENAI_API_KEY
.
You can utilise an OAI_CONFIG_LIST file and extract the OpenAI API key
and put it in the environment, as will be shown in the following cell.
Alternatively, you can load the environment variable yourself.
Ontology
before loading your data, in
the case below we define these entities (Actor
with name
and Movie
with title
) and relationships (Actors ACTED
in Movies). This allows
the RAG agent to answer questions about actors in the movie.