Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Building Neo4j-Powered Applications with LLMs
  • Table Of Contents Toc
  • Feedback & Rating feedback
Building Neo4j-Powered Applications with LLMs

Building Neo4j-Powered Applications with LLMs

By : Ravindranatha Anthapu, Siddhant Agarwal
close
close
Building Neo4j-Powered Applications with LLMs

Building Neo4j-Powered Applications with LLMs

By: Ravindranatha Anthapu, Siddhant Agarwal

Overview of this book

Embark on an expert-led journey into building LLM-powered applications using Retrieval-Augmented Generation (RAG) and Neo4j knowledge graphs. Written by Ravindranatha Anthapu, Principal Consultant at Neo4j, and Siddhant Agrawal, a Google Developer Expert in GenAI, this comprehensive guide is your starting point for exploring alternatives to LangChain, covering frameworks such as Haystack, Spring AI, and LangChain4j. As LLMs (large language models) reshape how businesses interact with customers, this book helps you develop intelligent applications using RAG architecture and knowledge graphs, with a strong focus on overcoming one of AI’s most persistent challenges—mitigating hallucinations. You'll learn how to model and construct Neo4j knowledge graphs with Cypher to enhance the accuracy and relevance of LLM responses. Through real-world use cases like vector-powered search and personalized recommendations, the authors help you build hands-on experience with Neo4j GenAI integrations across Haystack and Spring AI. With access to a companion GitHub repository, you’ll work through code-heavy examples to confidently build and deploy GenAI apps on Google Cloud. By the end of this book, you’ll have the skills to ground LLMs with RAG and Neo4j, optimize graph performance, and strategically select the right cloud platform for your GenAI applications.
Table of Contents (20 chapters)
close
close
Lock Free Chapter
1
Part: 1 Introducing RAG and Knowledge Graphs for LLM Grounding
5
Part 2: Integrating Haystack with Neo4j: A Practical Guide to Building AI-Powered Search
9
Part 3: Building an Intelligent Recommendation System with Neo4j, Spring AI, and LangChain4j
14
Part 4: Deploying Your GenAI Application in the Cloud
18
Other Books You May Enjoy
19
Index

Creating an Intelligent Recommendation System

Now that we have loaded the data into a graph, and looked at how we can augment the graph using Langchain4j and Spring AI, along with generating recommendations, we will look at how we can go further to improve the recommendations by leveraging Graph Data Science (GDS) algorithms and machine learning. We will review the GDS algorithms provided by Neo4j to go beyond the recommendation system we created in the previous chapter. We will also learn how to use the GDS algorithms to build collaborative filtering as well as content-based approaches to provide recommendations. We will also take a look at the results after we run the algorithms to review how our approach is working and whether we are on the right path to build a better recommendation system. We will try to understand why these algorithms are better than the approach we implemented in the previous chapter.

In this chapter, we are going to cover the following main topics:

...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Building Neo4j-Powered Applications with LLMs
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon