blogs
blogs copied to clipboard
Error when using custom retriever of LlamaIndex example of PropertyGraph
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.