MemgraphQAChain Cypher syntax errors #2998
Unanswered
joshuajnoble
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there, I'm having some trouble running queries on memgraph using LangChain. I've successfully built my knowledge graph, but every time I try to query it I get an error back from memgraph:
My code is basically straight from the documentation:
When I print the graph schema it does seem to have been created correctly in memgraph:
When I look at the generated syntax it's way too verbose:
I can see in the memgraph logs that the same generated text is passed to memgraph, which won't work. Is there a way to more easily control the output of the LLM via MemgraphQAChain? I get either far too much generated text or invalid Cypher syntax. Thanks very much!
Beta Was this translation helpful? Give feedback.
All reactions