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
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

Integrating LangChain4j and Spring AI with Neo4j

Now that we have loaded the data into a graph, in this chapter, we will look at how we can use LangChain4j or Spring AI to augment the graph to enhance its capabilities and build a knowledge graph. We will look into integrating the graph with LLMs to generate a summary of customer purchases and create an embedding of that summary to represent the customer purchase history. These embeddings are crucial for enabling machine learning and graph algorithms to understand and process graph data. These embeddings can help us build a knowledge graph to provide more personal recommendations for customers by understanding purchase behaviors. We will also look at how to create embeddings of the detailed description of each article present in the dataset.

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

  • Setting up LangChain4j and Spring AI
  • Building your recommendation engine with LangChain4j
  • Building your...
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