'Cypher don't reconnize gds function

i want to use gds.alpha.similarity.jaccard from https://neo4j.com/docs/graph-data-science/current/alpha-algorithms/jaccard/, but cypher send a error

Code:

RETURN gds.alpha.similarity.jaccard([1,2,3], [1,2,4,5]) AS similarity

Unknown function 'gds.alpha.similarity.jaccard' (line 1, column 8 (offset: 7)) "RETURN gds.alpha.similarity.jaccard([1,2,3], [1,2,4,5]) AS similarity"

How can use jaccard ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source