The quality of the agents responses depends on its ability to interact with the Neo4J knowledge graph both directly for data retrieval via the CypherSearch function and indirectly for generation of figures via the GeographicMap Tool.
The current implementation uses the out of the box version GraphCypherQAChain, which is good but not great and fails on more complex problems even though simple adjustments might greatly improve the accuracy.
The easiest problem to fix is to implement some way of using the EXPLAIN [Query] keyword for checking the query for any synthax errors.
The main two options are:
- fork the current GraphCypherQAChain code and implement this function
- use my implementation from the WISE project
The quality of the agents responses depends on its ability to interact with the Neo4J knowledge graph both directly for data retrieval via the CypherSearch function and indirectly for generation of figures via the GeographicMap Tool.
The current implementation uses the out of the box version GraphCypherQAChain, which is good but not great and fails on more complex problems even though simple adjustments might greatly improve the accuracy.
The easiest problem to fix is to implement some way of using the EXPLAIN [Query] keyword for checking the query for any synthax errors.
The main two options are: