CommencerCommencer gratuitement

Writing Cypher statements

To retrieve information from Neo4j knowledge graphs for use in a Graph RAG workflow, you'll need to understand Neo4j's query language, Cypher. Eventually, this Cypher will be written by LLMs, but it's good to get a feel for it so you can validate it if needed.

Over the next few exercises, you'll build up a Cypher statement to find people who work at a company.

Cet exercice fait partie du cours

Graph RAG with LangChain and Neo4j

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

cypher = """
____ (n:Person)
RETURN *
"""
Modifier et exécuter le code