FalkorDB GraphRAG utilises a knowledge graph and can be added as a capability to agents. Together with a swarm orchestration of agents is highly effective at providing a RAG capability.
match path = ()-[]-() return path
Directions API
in your Google Maps Platform. You can get
an API key and free quota, see
here
and here for more
details.
Once you have your API key, set the environment variable
GOOGLE_MAP_API_KEY
to this value.
NOTE: If the route planning step is failing, it is likely an environment
variable issue which can occur in Jupyter notebooks. The code in the
update_itinerary_with_travel_times
and _fetch_travel_time
functions
below could be enhanced to provide better visibility if these API calls
fail. The following code cell can assist.
notebook
directory based on the OAI_CONFIG_LIST_sample file from the root
directory.
By default, FalkorDB uses OpenAI LLMs and that requires an OpenAI key in
your environment variable 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.
match path = ()-[]-() return path
trip_data
graph is actually
empty…