Building AI Agents with LLMs, RAG, and Knowledge Graphs
eBook - ePub

Building AI Agents with LLMs, RAG, and Knowledge Graphs

A practical guide to autonomous and modern AI agents

  1. English
  2. ePUB (mobile friendly)
  3. Available on iOS & Android
eBook - ePub

Building AI Agents with LLMs, RAG, and Knowledge Graphs

A practical guide to autonomous and modern AI agents

About this book

Master LLM fundamentals to advanced techniques like RAG, reinforcement learning, and knowledge graphs to build, deploy, and scale intelligent AI agents that reason, retrieve, and act autonomously Free with your book: DRM-free PDF version + access to Packt's next-gen Reader*

Key Features

  • Implement RAG and knowledge graphs for advanced problem-solving
  • Leverage innovative approaches like LangChain to create real-world intelligent systems
  • Integrate large language models, graph databases, and tool use for next-gen AI solutions

Book Description

This book addresses the challenge of building AI that not only generates text but also grounds its responses in real data and takes action. Authored by AI specialists with expertise in drug discovery and systems optimization, this guide empowers you to leverage retrieval-augmented generation (RAG), knowledge graphs, and agent-based architectures to engineer truly intelligent behavior. By combining large language models (LLMs) with up-to-date information retrieval and structured knowledge, you'll create AI agents capable of deeper reasoning and more reliable problem-solving. Inside, you'll find a practical roadmap from concept to implementation. You'll discover how to connect language models with external data via RAG pipelines for increasing factual accuracy and incorporate knowledge graphs for context-rich reasoning. The chapters will help you build and orchestrate autonomous agents that combine planning, tool use, and knowledge retrieval to achieve complex goals. Concrete Python examples and real-world case studies reinforce each concept and show how the techniques fit together. By the end of this book, you'll be able to build intelligent AI agents that reason, retrieve, and interact dynamically, empowering you to deploy powerful AI solutions across industries. *Email sign-up and proof of purchase required

What you will learn

  • Learn how LLMs work, their structure, uses, and limits, and design RAG pipelines to link them to external data
  • Build and query knowledge graphs for structured context and factual grounding
  • Develop AI agents that plan, reason, and use tools to complete tasks
  • Integrate LLMs with external APIs and databases to incorporate live data
  • Apply techniques to minimize hallucinations and ensure accurate outputs
  • Orchestrate multiple agents to solve complex, multi-step problems
  • Optimize prompts, memory, and context handling for long-running tasks
  • Deploy and monitor AI agents in production environments

Who this book is for

If you are a data scientist or researcher who wants to learn how to create and deploy an AI agent to solve limitless tasks, this book is for you. To get the most out of this book, you should have basic knowledge of Python and Gen AI. This book is also excellent for experienced data scientists who want to explore state-of-the-art developments in LLM and LLM-based applications.

]]>

Information

Table of contents

  1. Building AI Agents with LLMs, RAG, and Knowledge Graphs
  2. Contributors
  3. About the reviewers
  4. Join our Discord and Reddit space
  5. Preface
  6. Part 1: The AI Agent Engine: From Text to Large Language Models
  7. 1
  8. 2
  9. 3
  10. Part 2: AI Agents and Retrieval of Knowledge
  11. 4
  12. 5
  13. 6
  14. 7
  15. 8
  16. Part 3: Creating Sophisticated AI to Solve Complex Scenarios
  17. 9
  18. 10
  19. 11
  20. 12
  21. Index
  22. Other Books You May Enjoy

Trusted by 375,005 students

Access to over 1.5 million titles for a fair monthly price.

Study more efficiently using our study tools.

Frequently asked questions

Yes, you can cancel anytime from the Subscription tab in your account settings on the Perlego website. Your subscription will stay active until the end of your current billing period. Learn how to cancel your subscription
No, books cannot be downloaded as external files, such as PDFs, for use outside of Perlego. However, you can download books within the Perlego app for offline reading on mobile or tablet. Learn how to download books offline
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1.5 million books across 990+ topics, we’ve got you covered! Learn about our mission
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more about Read Aloud
Yes! You can use the Perlego app on both iOS and Android devices to read anytime, anywhere — even offline. Perfect for commutes or when you’re on the go.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app
Yes, you can access Building AI Agents with LLMs, RAG, and Knowledge Graphs by Salvatore Raieli,Gabriele Iuculano in PDF and/or ePUB format, as well as other popular books in Computer Science & Artificial Intelligence (AI) & Semantics. We have over 1.5 million books available in our catalogue for you to explore.