Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

correct text to cypher generated but getting error #969

Open
ssfd7 opened this issue Nov 2, 2024 · 1 comment
Open

correct text to cypher generated but getting error #969

ssfd7 opened this issue Nov 2, 2024 · 1 comment
Labels
bug Something isn't working priority important request/feature

Comments

@ssfd7
Copy link

ssfd7 commented Nov 2, 2024

Getting the following error:
image

When pasting into the neo4j browser query works fine. Why?

@ssfd7 ssfd7 added the bug Something isn't working label Nov 2, 2024
@nielsdejong
Copy link
Collaborator

Hi @ssfd7 , it seems like here the LLM is not obeying the prompt to generate Cypher only (it's generating ``` characters around it). We can probably fix this by tweaking the prompt to use the updated one in the LangChain library:
https://api.python.langchain.com/en/latest/_modules/langchain_experimental/graph_transformers/llm.html

CC @alfredorubin96

@nielsdejong nielsdejong added the priority important request/feature label Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working priority important request/feature
Projects
None yet
Development

No branches or pull requests

2 participants