Skip to content

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

@csaiedu

Description

@csaiedu

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions