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

Summary

In this chapter, we deep-dived into the world of RAG models. We started by understanding the core principles of RAG and how they differ from traditional generative AI models. This foundational knowledge is crucial as it sets the stage for appreciating the enhanced capabilities that RAG brings to the table.

Next, we took a closer look at the architecture of RAG models, deconstructing their components through detailed code examples. By examining the encoder, retriever, and decoder, you gained insights into the inner workings of these models and how they integrate retrieved information to produce more contextually relevant and coherent outputs.

We then explored how RAG harnesses the power of information retrieval. These techniques help RAG effectively leverage external knowledge sources to improve the quality of a generated text. This is particularly useful for applications requiring high accuracy and context awareness. You also learned how to a simple RAG model using...

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