Home / Companies / Neo4j / Blog / Post Details
Content Deep Dive

New Cypher AI procedures

Blog post from Neo4j

Post Details
Company
Date Published
Author
Christoffer Bergman
Word Count
4,039
Language
English
Hacker News Points
-
Summary

In a detailed exploration of Neo4j's new AI procedures in Cypher, Christoffer Bergman illustrates how these enhancements can be applied to complex cases, such as the unsolved murder of Swedish Prime Minister Olof Palme. The blog post describes the transition from requiring external functions for language model integration to having native AI functions incorporated directly within Cypher, thus removing the need for external support. Bergman provides an in-depth walkthrough of how to employ these new capabilities, including the use of vector embeddings and text completions, to analyze large datasets like the extensive public records of the Palme investigation. The process involves embedding questions as vectors, performing vector searches for relevant documents, and utilizing graph traversal techniques to collect contextual data, which is then used in querying language models for insights. While the exercise did not conclusively solve the Palme case, it demonstrated the potential of GraphRAG and AI-enhanced graph databases to provide valuable investigative insights, even suggesting that with full access to digitized, uncensored documents, significant advancements in such investigations could be made.