1. Learn
  2. /
  3. Courses
  4. /
  5. Retrieval Augmented Generation (RAG) with LangChain

Connected

Exercise

Querying your graph database

Now that you have your database set up, it's time to begin querying. You'll view the graph schema to refamiliarize yourself with the nodes and relationships, and then write a Cypher query to query the graph.

If you need help with writing or fixing your Cypher query, you can use the ask_chatgpt(text: str) function that we've defined for you, which accepts a string argument.

The graph you created previously is available for you to use.

Instructions 1/2

undefined XP
    1
    2
  • Print the schema of the graph database, graph.