Christoffer Bergman Picture

Christoffer Bergman

Director of Engineering, Neo4j

Christoffer Bergman is the Director of Engineering at Neo4j


Latest Posts by Christoffer Bergman

Cypher Gems in Neo4j 5

Now that Neo4j 5 LTS has been released, let’s look at what it offers in terms of Cypher features that may look minor, but that can have a huge impact. There has been a lot written about the high-profile features — like parallel runtime, block format, quantified path... read more


Cypher Performance Improvements in Neo4j 5

In November 2024, we will see the release of the Long-Term Support version of Neo4j 5 (Neo4j 5.26 LTS). With that, we will have all the new features and new Cypher language constructs for Neo4j 5. Some of these are about extending the language and its capabilities, but many features have also been... read more


GraphRAG – The Card Game

GraphRAG explained with an imaginary quiz game and not a single line of source codeBefore I describe the game, I would like to thank Petar Aleksandrov for doing the graphical design of the game elements.Have you heard about GraphRAG and wondered what it is and what the benefits are over... read more


Running Neo4j on a Commodore 64

A Neo4j Birthday Gift to an Old-TimerThe Commodore 64 celebrates its 42nd anniversary in August. And being the answer to the Ultimate Question of Life, the Universe and Everything, I felt it was time to give it the ultimate birthday gift: A Neo4j client.Haven’t you always wanted to run... read more


GraphRAG in (Almost) Pure Cypher

In my previous blog, A GenAI-Powered Song Finder in Four Lines of Code, we used vector search to find a song based on a description of the song. We used the vector embeddings just to find a document, but with Retrieval-Augmented Generation (RAG), we use the results of the search as context to a... read more


A GenAI-Powered Song Finder in Four Lines of Code

We will build a catalog of songs and lyrics with Neo4j, and use its built-in Gen AI capabilities to find songs from a synopsis of what they are about.Have you ever wanted to find a song, but you don’t remember what it was called, nor who wrote it? Or do you only vaguely remember what it... read more


Tic Tac Toe Challenge in Cypher

We will look at how to use Cypher, the query language for the Neo4j graph database, to write a computer player for a five-in-a-row game, and a competition we had with this for the colleagues at Neo4j.“A strange game. The only winning move is not to play. How about a nice game... read more