Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
Building Neo4j-Powered Applications with LLMs

You're reading from   Building Neo4j-Powered Applications with LLMs Create LLM-driven search and recommendations applications with Haystack, LangChain4j, and Spring AI

Arrow left icon
Product type Paperback
Published in Jun 2025
Publisher Packt
ISBN-13 9781836206231
Length 312 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Authors (2):
Arrow left icon
Ravindranatha Anthapu Ravindranatha Anthapu
Author Profile Icon Ravindranatha Anthapu
Ravindranatha Anthapu
Siddhant Agarwal Siddhant Agarwal
Author Profile Icon Siddhant Agarwal
Siddhant Agarwal
Arrow right icon
View More author details
Toc

Table of Contents (20) Chapters Close

Preface 1. Part: 1 Introducing RAG and Knowledge Graphs for LLM Grounding 2. Introducing LLMs, RAGs, and Neo4j Knowledge Graphs FREE CHAPTER 3. Demystifying RAG 4. Building a Foundational Understanding of Knowledge Graph for Intelligent Applications 5. Part 2: Integrating Haystack with Neo4j: A Practical Guide to Building AI-Powered Search 6. Building Your Neo4j Graph with Movies Dataset 7. Implementing Powerful Search Functionalities with Neo4j and Haystack 8. Exploring Advanced Knowledge Graph Capabilities with Neo4j 9. Part 3: Building an Intelligent Recommendation System with Neo4j, Spring AI, and LangChain4j 10. Introducing the Neo4j Spring AI and LangChain4j Frameworks for Building Recommendation Systems 11. Constructing a Recommendation Graph with H&M Personalization Dataset 12. Integrating LangChain4j and Spring AI with Neo4j 13. Creating an Intelligent Recommendation System 14. Part 4: Deploying Your GenAI Application in the Cloud 15. Choosing the Right Cloud Platform for GenAI Applications 16. Deploying Your Application on the Google Cloud 17. Epilogue 18. Other Books You May Enjoy
19. Index

What this book covers

Chapter 1 , Introducing LLMs, RAGs, and Neo4j Knowledge Graphs, introduces the core concepts of LLMs, RAG, and how Neo4j knowledge graphs enhance LLM performance by adding structure and context.

Chapter 2, Demystifying RAG, breaks down the RAG architecture, explaining how it augments LLMs with external knowledge. It covers key components such as retrievers, indexes, and generators with real-world examples.

Chapter 3, Building a Foundational Understanding of Knowledge Graph for Intelligent Applications, explains the basics of knowledge graphs and how they model real-world relationships. It highlights Neo4j’s property graph model and its role in powering intelligent, context-aware applications.

Chapter 4, Building Your Neo4j Graph with the Movies Dataset, walks through constructing a Neo4j knowledge graph using a real-world movies dataset. It covers data modeling, Cypher queries, and importing structured data for graph-based search and reasoning.

Chapter 5, Implementing Powerful Search Functionalities with Neo4j and Haystack, shows how to integrate Neo4j with Haystack to enable semantic and keyword-based search. It covers embedding generation, indexing, and retrieving relevant results using vector search.

Chapter 6, Exploring Advanced Knowledge Graph Capabilities, dives into multi-hop reasoning, context-aware search, and leveraging graph structure for deeper insights. It showcases how Neo4j enhances intelligent retrieval beyond basic keyword or vector search.

Chapter 7, Introducing the Neo4j Spring AI and LangChain4j Frameworks for Building Recommendation Systems, introduces the Spring AI and LangChain4j frameworks to build LLM applications with Neo4j.

Chapter 8, Constructing a Recommendation Graph with the H&M Personalization Dataset, follows from the data modeling approaches discussed in , to load the H&M personalization dataset into a graph to build a better recommendation system.

Chapter 9, Integrating LangChain4j and Spring AI with Neo4j, provides a step-by-step guide to building Spring AI and LangChain4j applications to augment the graph by leveraging LLM chat APIs and the GraphRAG approach. It also covers embedding generation and adding these embeddings to a graph for machine learning purposes.

Chapter 10, Creating an Intelligent Recommendation System, explains how we can leverage Graph Data Science algorithms to further enhance the knowledge graph to provide better recommendations. It also discusses vector search and why it is not enough to provide good recommendations, as well as how leveraging KNN similarity and community detection gives us better results.

Chapter 11, Choosing the Right Cloud Platform for GenAI Application, compares major cloud platforms for deploying GenAI applications, focusing on scalability, cost, and AI/ML capabilities. It guides you in selecting the best-fit environment for your use case.

Chapter 12, Deploying Your Application on Google Cloud, provides a step-by-step guide to deploying your GenAI application on Google Cloud. It covers services such as Vertex AI, Cloud Functions, and Firebase for scalable and efficient deployment.

Chapter 13, Epilogue, reflects on the journey of building intelligent applications with GenAI and Neo4j. It summarizes key takeaways and highlights future opportunities in the evolving AI ecosystem.

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime