Building Neo4j-Powered Applications with LLMs: Create LLM-driven search and recommendations applications with Haystack, LangChain4j, and Spring AI

Building Neo4j-Powered Applications with LLMs: Create LLM-driven search and recommendations applications with Haystack, LangChain4j, and Spring AI

Building Neo4j-Powered Applications with LLMs: Create LLM-driven search and recommendations applications with Haystack, LangChain4j, and Spring AI

Author: Ravindranatha Anthapu (Author), Siddhant Agarwal (Author)

Publisher finelybook 出版社:‏ Packt Publishing

Publication Date 出版日期: 2025-06-20

Language 语言: English

Print Length 页数: 277 pages

ISBN-10: 1836206232

ISBN-13: 9781836206231

Book Description

A comprehensive guide to building cutting-edge generative AI applications using Neo4j’s knowledge graphs and vector search capabilities

Key Features

  • Design vector search and recommendation systems with LLMs using Neo4j GenAI, Haystack, Spring AI, and LangChain4j
  • Apply best practices for graph exploration, modeling, reasoning, and performance optimization
  • Build and consume Neo4j knowledge graphs and deploy your GenAI apps to Google Cloud
  • Purchase of the print or Kindle book includes a free PDF eBook

Book Description

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.

What you will learn

  • Design, populate, and integrate a Neo4j knowledge graph with RAG
  • Model data for knowledge graphs
  • Integrate AI-powered search to enhance knowledge exploration
  • Maintain and monitor your AI search application with Haystack
  • Use LangChain4j and Spring AI for recommendations and personalization
  • Seamlessly deploy your applications to Google Cloud Platform

Who this book is for

This LLM book is for database developers and data scientists who want to leverage knowledge graphs with Neo4j and its vector search capabilities to build intelligent search and recommendation systems. Working knowledge of Python and Java is essential to follow along. Familiarity with Neo4j, the Cypher query language, and fundamental concepts of databases will come in handy.

Table of Contents

  1. Introducing LLMs, RAGs, and Neo4j Knowledge Graphs
  2. Demystifying RAG
  3. Building a Foundational Understanding of Knowledge Graph for Intelligent Applications
  4. Building Your Neo4j Graph with Movies Dataset
  5. Implementing Powerful Search Functionalities with Neo4j and Haystack
  6. Exploring Advanced Knowledge Graph Capabilities
  7. Introducing the Neo4j Spring AI and LangChain4j Frameworks for Building Recommendation Systems
  8. Constructing a Recommendation Graph with H&M Personalization Dataset
  9. Integrating LangChain4j and SpringAI with Neo4j
  10. Creating an Intelligent Recommendation System
  11. Choosing the Right Cloud Platform for GenAI Applications
  12. Deploying your Application on Cloud
  13. Epilogue

About the Author

Ravindranatha Anthapu has more than 25 years of experience in working with W3C standards and building cutting-edge technologies, including integrating speech into mobile applications in the 2000s. He is a technology enthusiast who has worked on many projects, from operating system device drivers to writing compilers for C language and modern web technologies, transitioning seamlessly and bringing experience from each of these domains and technologies to deliver successful solutions today. As a principal consultant at Neo4j today, Ravindranatha works with large enterprise customers to make sure they are able to leverage graph technologies effectively across various domains.

Siddhant Agarwal is a seasoned DevRel professional with over a decade of experience cultivating innovation and scaling developer ecosystems globally. Currently leading Developer Relations across APAC at Neo4j and recognized as a Google Developer Expert in Gen-AI, Sid transforms local developer initiatives into global success stories with his signature “Local to Global” approach. Previously at Google managing flagship developer programs, he has shared his technical expertise at diverse forums worldwide, fueling inspiration and innovation.

Amazon Page

下载地址

PDF, EPUB | 10 MB | 2025-06-21

请登录以查看全部内容 登录

此内容查看价格为12积分(VIP免费),请先
打赏
未经允许不得转载:finelybook » Building Neo4j-Powered Applications with LLMs: Create LLM-driven search and recommendations applications with Haystack, LangChain4j, and Spring AI

评论 抢沙发

觉得文章有用就打赏一下

您的打赏,我们将继续给力更多优质内容

支付宝扫一扫

微信扫一扫