Open
Description
I wanted to add some custom instructions (as I need to get all the node properties not just the id) and while poking around the code I found out that neither of the replace()
s for KUZU_GENERATION_TEMPLATE actually match anything.
I verified in the final generated prompt sent to the LLM that it was just the base CYPHER_GENERATION_TEMPLATE
without any mentions of Kuzu Cypher
or the KUZU_EXTRA_INSTRUCTIONS
.
I guess something like this would work?
KUZU_GENERATION_TEMPLATE = CYPHER_GENERATION_TEMPLATE.replace(
"Cypher", "Kuzu Cypher"
).replace("Task: ", KUZU_EXTRA_INSTRUCTIONS)
Metadata
Metadata
Assignees
Labels
No labels