Graph Search Agent Tool¶
Once you have published a graph configuration from the Editor webapp, the resulting graph can be leveraged as a dynamic knowledge base for Retrieval-Augmented Generation (RAG) applications using the Graph Search Agent Tool.
You can also point the tool to an unmanaged Neo4j database directly.
This tool integrates with Dataiku’s agent framework, enabling an LLM to translate natural language questions into Cypher queries. The queries are executed against your graph, and the results are returned to the agent to provide contextually accurate answers.
Settings¶
LLM connection: Select the language model that will handle the natural language-to-Cypher conversion.
Graph folder (Optional): Choose the Dataiku Folder containing your published graph database. Leave it empty to query an unmanaged Neo4j database directly.
Database type: If a graph folder is provided, the database type is detected from that folder. Otherwise, select Neo4j (unmanaged) to target an unmanaged Neo4j database directly.
Neo4j connection: If Database type is set to Neo4j, select the Neo4j connection to be used by the tool for querying the database.
Database name: If you are querying an unmanaged Neo4j database directly, select the database name to use.
Cypher query timeout (seconds): Set a maximum execution time for queries. This acts as a crucial guardrail to prevent long-running queries from impacting performance.
Verbose mode: Enable detailed logs for troubleshooting.
Tool instructions: Provide a concise, high-level description of the graph’s content and purpose. This text gives the LLM additional context to improve query generation. You do not need to describe the schema itself, as it is automatically included in the context.
Note
The Graph Search Agent Tool is well suited to querying an unmanaged Neo4j database through a read-only Neo4j preset when you want to protect that database from accidental changes.