Skip to content

Build a Neo4j-backed Chatbot with TypeScript

Course Duration
6 hours
Generative AI

Course Description

at In this hands-on course, you will use the knowledge obtained from the Neo4j & LLM Fundamentals course to create a Movie Recommendation Chatbot backed by a Neo4j database.

You will take a simple chat interface that repeats the user’s input and modify it to answer questions about movies via the Neo4j Recommendations Dataset using GPT-4, complete with conversation history.

The chatbot will be able to answer questions like:

  • How many movies has Tom Hanks acted in?

  • What is the most popular movie in the database?

  • Can you recommend a movie for fans of The Matrix and Casino?

At the end of the course, you will have a working chatbot built in React using Next.js.


This course relies heavily on the information in the Neo4j & LLM Fundamentals course. We recommend completing this course first if you have not already done so.

We also assume a basic understanding of TypeScript and Next.js. It is not required, but you may also benefit from taking the Building Neo4j Applications with TypeScript course to understand how the Neo4j JavaScript Driver works.

The course uses Next.js to build a simple chat interface. We do not focus heavily on the Next.js functionality, so it may be worth reviewing the Next.js documentation to understand how it works.


6 hours

What you will learn

  • How to build a Neo4j-backed Chatbot with Langchain and GPT-4

  • Answering user queries with an LLM

  • Retrieval Augmented Generation (RAG)

  • Langchain Agents and QA Chains

Get Support

If you find yourself stuck at any stage then our friendly community will be happy to help. You can reach out for help on the Neo4j Community Site, or head over to the Neo4j Discord server for real-time discussions.


If you have any comments or feedback on this course you can email us on

Related Courses