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

Error when using custom retriever of LlamaIndex example of PropertyGraph #28

Open
csaiedu opened this issue Jun 19, 2024 · 0 comments
Open

Comments

@csaiedu
Copy link

csaiedu commented Jun 19, 2024

in the last part of the code provided in the example taken from :

https://www.llamaindex.ai/blog/customizing-property-graph-index-in-llamaindex

response = query_engine.query("What do you know about Maliek Collins or Darragh O’Brien?")
print(str(response))

CypherSyntaxError: {code: Neo.ClientError.Statement.SyntaxError} {message: Unknown function 'vector.similarity.cosine' (line 3, column 21 (offset: 120))
"            WITH e, vector.similarity.cosine(e.embedding, $embedding) AS score"
                     ^}

I have upgraded Llamaindex and neo4j to the latest with no success.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant