Unlocking Data with Generative AI and RAG

Unlocking Data with Generative AI and RAG

Author: Keith Bourne

Publisher: Packt Publishing Ltd

Published: 2024-09-27

Total Pages: 346

ISBN-13: 1835887910

DOWNLOAD EBOOK

Leverage cutting-edge generative AI techniques such as RAG to realize the potential of your data and drive innovation as well as gain strategic advantage Key Features Optimize data retrieval and generation using vector databases Boost decision-making and automate workflows with AI agents Overcome common challenges in implementing real-world RAG systems Purchase of the print or Kindle book includes a free PDF eBook Book Description Generative AI is helping organizations tap into their data in new ways, with retrieval-augmented generation (RAG) combining the strengths of large language models (LLMs) with internal data for more intelligent and relevant AI applications. The author harnesses his decade of ML experience in this book to equip you with the strategic insights and technical expertise needed when using RAG to drive transformative outcomes. The book explores RAG’s role in enhancing organizational operations by blending theoretical foundations with practical techniques. You’ll work with detailed coding examples using tools such as LangChain and Chroma’s vector database to gain hands-on experience in integrating RAG into AI systems. The chapters contain real-world case studies and sample applications that highlight RAG’s diverse use cases, from search engines to chatbots. You’ll learn proven methods for managing vector databases, optimizing data retrieval, effective prompt engineering, and quantitatively evaluating performance. The book also takes you through advanced integrations of RAG with cutting-edge AI agents and emerging non-LLM technologies. By the end of this book, you’ll be able to successfully deploy RAG in business settings, address common challenges, and push the boundaries of what’s possible with this revolutionary AI technique. What you will learn Understand RAG principles and their significance in generative AI Integrate LLMs with internal data for enhanced operations Master vectorization, vector databases, and vector search techniques Develop skills in prompt engineering specific to RAG and design for precise AI responses Familiarize yourself with AI agents' roles in facilitating sophisticated RAG applications Overcome scalability, data quality, and integration issues Discover strategies for optimizing data retrieval and AI interpretability Who this book is for This book is for AI researchers, data scientists, software developers, and business analysts looking to leverage RAG and generative AI to enhance data retrieval, improve AI accuracy, and drive innovation. It is particularly suited for anyone with a foundational understanding of AI who seeks practical, hands-on learning. The book offers real-world coding examples and strategies for implementing RAG effectively, making it accessible to both technical and non-technical audiences. A basic understanding of Python and Jupyter Notebooks is required.


Artificial Intelligence for Cybersecurity

Artificial Intelligence for Cybersecurity

Author: Bojan Kolosnjaji

Publisher: Packt Publishing Ltd

Published: 2024-10-31

Total Pages: 358

ISBN-13: 1805123556

DOWNLOAD EBOOK

Gain well-rounded knowledge of AI methods in cybersecurity and obtain hands-on experience in implementing them to bring value to your organization Key Features Familiarize yourself with AI methods and approaches and see how they fit into cybersecurity Learn how to design solutions in cybersecurity that include AI as a key feature Acquire practical AI skills using step-by-step exercises and code examples Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionArtificial intelligence offers data analytics methods that enable us to efficiently recognize patterns in large-scale data. These methods can be applied to various cybersecurity problems, from authentication and the detection of various types of cyberattacks in computer networks to the analysis of malicious executables. Written by a machine learning expert, this book introduces you to the data analytics environment in cybersecurity and shows you where AI methods will fit in your cybersecurity projects. The chapters share an in-depth explanation of the AI methods along with tools that can be used to apply these methods, as well as design and implement AI solutions. You’ll also examine various cybersecurity scenarios where AI methods are applicable, including exercises and code examples that’ll help you effectively apply AI to work on cybersecurity challenges. The book also discusses common pitfalls from real-world applications of AI in cybersecurity issues and teaches you how to tackle them. By the end of this book, you’ll be able to not only recognize where AI methods can be applied, but also design and execute efficient solutions using AI methods.What you will learn Recognize AI as a powerful tool for intelligence analysis of cybersecurity data Explore all the components and workflow of an AI solution Find out how to design an AI-based solution for cybersecurity Discover how to test various AI-based cybersecurity solutions Evaluate your AI solution and describe its advantages to your organization Avoid common pitfalls and difficulties when implementing AI solutions Who this book is for This book is for machine learning practitioners looking to apply their skills to overcome cybersecurity challenges. Cybersecurity workers who want to leverage machine learning methods will also find this book helpful. Fundamental concepts of machine learning and beginner-level knowledge of Python programming are needed to understand the concepts present in this book. Whether you’re a student or an experienced professional, this book offers a unique and valuable learning experience that will enable you to protect your network and data against the ever-evolving threat landscape.


Generative AI in Action

Generative AI in Action

Author: Amit Bahree

Publisher: Simon and Schuster

Published: 2024-10-29

Total Pages: 462

ISBN-13: 1633436942

DOWNLOAD EBOOK

Generative AI can transform your business by streamlining the process of creating text, images, and code. This book will show you how to get in on the action! Generative AI in Action is the comprehensive and concrete guide to generative AI you’ve been searching for. It introduces both AI’s fundamental principles and its practical applications in an enterprise context—from generating text and images for product catalogs and marketing campaigns, to technical reporting, and even writing software. Inside, author Amit Bahree shares his experience leading Generative AI projects at Microsoft for nearly a decade, starting well before the current GPT revolution. Inside Generative AI in Action you will find: • A practical overview of of generative AI applications • Architectural patterns, integration guidance, and best practices for generative AI • The latest techniques like RAG, prompt engineering, and multi-modality • The challenges and risks of generative AI like hallucinations and jailbreaks • How to integrate generative AI into your business and IT strategy Generative AI in Action is full of real-world use cases for generative AI, showing you where and how to start integrating this powerful technology into your products and workflows. You’ll benefit from tried-and-tested implementation advice, as well as application architectures to deploy GenAI in production at enterprise scale. Purchase of the print book includes a free eBook in PDF and ePub formats from Manning Publications. About the technology In controlled environments, deep learning systems routinely surpass humans in reading comprehension, image recognition, and language understanding. Large Language Models (LLMs) can deliver similar results in text and image generation and predictive reasoning. Outside the lab, though, generative AI can both impress and fail spectacularly. So how do you get the results you want? Keep reading! About the book Generative AI in Action presents concrete examples, insights, and techniques for using LLMs and other modern AI technologies successfully and safely. In it, you’ll find practical approaches for incorporating AI into marketing, software development, business report generation, data storytelling, and other typically-human tasks. You’ll explore the emerging patterns for GenAI apps, master best practices for prompt engineering, and learn how to address hallucination, high operating costs, the rapid pace of change and other common problems. What's inside • Best practices for deploying Generative AI apps • Production-quality RAG • Adapting GenAI models to your specific domain About the reader For enterprise architects, developers, and data scientists interested in upgrading their architectures with generative AI. About the author Amit Bahree is Principal Group Product Manager for the Azure AI engineering team at Microsoft. The technical editor on this book was Wee Hyong Tok. Table of Contents Part 1 1 Introduction to generative AI 2 Introduction to large language models 3 Working through an API: Generating text 4 From pixels to pictures: Generating images 5 What else can AI generate? Part 2 6 Guide to prompt engineering 7 Retrieval-augmented generation: The secret weapon 8 Chatting with your data 9 Tailoring models with model adaptation and fine-tuning Part 3 10 Application architecture for generative AI apps 11 Scaling up: Best practices for production deployment 12 Evaluations and benchmarks 13 Guide to ethical GenAI: Principles, practices, and pitfalls A The book’s GitHub repository B Responsible AI tools


Generative Deep Learning

Generative Deep Learning

Author: David Foster

Publisher: "O'Reilly Media, Inc."

Published: 2019-06-28

Total Pages: 301

ISBN-13: 1492041890

DOWNLOAD EBOOK

Generative modeling is one of the hottest topics in AI. It’s now possible to teach a machine to excel at human endeavors such as painting, writing, and composing music. With this practical book, machine-learning engineers and data scientists will discover how to re-create some of the most impressive examples of generative deep learning models, such as variational autoencoders,generative adversarial networks (GANs), encoder-decoder models and world models. Author David Foster demonstrates the inner workings of each technique, starting with the basics of deep learning before advancing to some of the most cutting-edge algorithms in the field. Through tips and tricks, you’ll understand how to make your models learn more efficiently and become more creative. Discover how variational autoencoders can change facial expressions in photos Build practical GAN examples from scratch, including CycleGAN for style transfer and MuseGAN for music generation Create recurrent generative models for text generation and learn how to improve the models using attention Understand how generative models can help agents to accomplish tasks within a reinforcement learning setting Explore the architecture of the Transformer (BERT, GPT-2) and image generation models such as ProGAN and StyleGAN


The Generative AI Practitioner’s Guide

The Generative AI Practitioner’s Guide

Author: Arup Das

Publisher: TinyTechMedia LLC

Published: 2024-07-20

Total Pages: 103

ISBN-13:

DOWNLOAD EBOOK

Generative AI is revolutionizing the way organizations leverage technology to gain a competitive edge. However, as more companies experiment with and adopt AI systems, it becomes challenging for data and analytics professionals, AI practitioners, executives, technologists, and business leaders to look beyond the buzz and focus on the essential questions: Where should we begin? How do we initiate the process? What potential pitfalls should we be aware of? This TinyTechGuide offers valuable insights and practical recommendations on constructing a business case, calculating ROI, exploring real-life applications, and considering ethical implications. Crucially, it introduces five LLM patterns—author, retriever, extractor, agent, and experimental—to effectively implement GenAI systems within an organization. The Generative AI Practitioner’s Guide: How to Apply LLM Patterns for Enterprise Applications bridges critical knowledge gaps for business leaders and practitioners, equipping them with a comprehensive toolkit to define a business case and successfully deploy GenAI. In today’s rapidly evolving world, staying ahead of the competition requires a deep understanding of these five implementation patterns and the potential benefits and risks associated with GenAI. Designed for business leaders, tech experts, and IT teams, this book provides real-life examples and actionable insights into GenAI’s transformative impact on various industries. Empower your organization with a competitive edge in today’s marketplace using The Generative AI Practitioner’s Guide: How to Apply LLM Patterns for Enterprise Applications. Remember, it’s not the tech that’s tiny, just the book!™


Building Intelligent Applications with Generative AI

Building Intelligent Applications with Generative AI

Author: Yattish Ramhorry

Publisher: BPB Publications

Published: 2024-08-22

Total Pages: 333

ISBN-13: 9355519133

DOWNLOAD EBOOK

DESCRIPTION Building Intelligent Applications with Generative AI is a comprehensive guide that unlocks the power of generative AI for building cutting-edge applications. This book covers a wide range of use cases and practical examples, from text generation and conversational agents to creative media generation and code completion. These examples are designed to help you capitalize on the potential of generative AI in your applications. Through clear explanations, step-by-step tutorials, and real-world case studies, you will learn how to prepare data and train generative AI models. You will also explore different generative AI techniques, including large language models like GPT-4, ChatGPT, Llama 2, and Google’s Gemini, to understand how they can be applied in various domains, such as content generation, virtual assistants, and code generation. With a focus on practical implementation, this book also examines ethical considerations, best practices, and future trends in generative AI. Further, this book concludes by exploring ethical considerations and best practices for building responsible GAI applications, ensuring you are harnessing this technology for good. By the end of this book, you will be well-equipped to leverage the power of GAI to build intelligent applications and unleash your creativity in innovative ways. KEY FEATURES ● Learn the fundamentals of generative AI and the practical usage of prompt engineering. ● Gain hands-on experience in building generative AI applications. ● Learn to use tools like LangChain, LangSmith, and FlowiseAI to create intelligent applications and AI chatbots. WHAT YOU WILL LEARN ● Understand generative AI (GAI) and large language models (LLMs). ● Explore real-world GAI applications across industries. ● Build intelligent applications with the ChatGPT API. ● Explore retrieval augmented generation with LangChain and Gemini Pro. ● Create chatbots with LangChain and Streamlit for data retrieval. WHO THIS BOOK IS FOR This book is for developers, data scientists, AI practitioners, and tech enthusiasts who are interested in leveraging generative AI techniques to build intelligent applications across various domains. TABLE OF CONTENTS 1. Exploring the World of Generative AI 2. Use Cases for Generative AI Applications 3. Mastering the Art of Prompt Engineering 4. Integrating Generative AI Models into Applications 5. Emerging Trends and the Future of Generative AI 6. Building Intelligent Applications with the ChatGPT API 7. Retrieval Augmented Generation with Gemini Pro 8. Generative AI Applications with Gradio 9. Visualize your Data with LangChain and Streamlit 10. Building LLM Applications with Llama 2 11. Building an AI Document Chatbot with Flowise AI 12. Best Practices for Building Applications with Generative AI 13. Ethical Considerations of Generative AI


Machine Learning and Generative AI for Marketing

Machine Learning and Generative AI for Marketing

Author: Yoon Hyup Hwang

Publisher: Packt Publishing Ltd

Published: 2024-08-30

Total Pages: 483

ISBN-13: 1835889417

DOWNLOAD EBOOK

Start transforming your data-driven marketing strategies and increasing customer engagement. Learn how to create compelling marketing content using advanced gen AI techniques and stay in touch with the future AI ML landscape. Purchase of the print or Kindle book includes a free eBook in PDF format Key Features Enhance customer engagement and personalization through predictive analytics and advanced segmentation techniques Combine Python programming with the latest advancements in generative AI to create marketing content and address real-world marketing challenges Understand cutting-edge AI concepts and their responsible use in marketing Book Description In the dynamic world of marketing, the integration of artificial intelligence (AI) and machine learning (ML) is no longer just an advantage—it's a necessity. Moreover, the rise of generative AI (GenAI) helps with the creation of highly personalized, engaging content that resonates with the target audience. This book provides a comprehensive toolkit for harnessing the power of GenAI to craft marketing strategies that not only predict customer behaviors but also captivate and convert, leading to improved cost per acquisition, boosted conversion rates, and increased net sales. Starting with the basics of Python for data analysis and progressing to sophisticated ML and GenAI models, this book is your comprehensive guide to understanding and applying AI to enhance marketing strategies. Through engaging content & hands-on examples, you'll learn how to harness the capabilities of AI to unlock deep insights into customer behaviors, craft personalized marketing messages, and drive significant business growth. Additionally, you'll explore the ethical implications of AI, ensuring that your marketing strategies are not only effective but also responsible and compliant with current standards By the conclusion of this book, you'll be equipped to design, launch, and manage marketing campaigns that are not only successful but also cutting-edge. What you will learn Master key marketing KPIs with advanced computational techniques Use explanatory data analysis to drive marketing decisions Leverage ML models to predict customer behaviors, engagement levels, and customer lifetime value Enhance customer segmentation with ML and develop highly personalized marketing campaigns Design and execute effective A/B tests to optimize your marketing decisions Apply natural language processing (NLP) to analyze customer feedback and sentiments Integrate ethical AI practices to maintain privacy in data-driven marketing strategies Who this book is for This book targets a diverse group of professionals: Data scientists and analysts in the marketing domain looking to apply advanced AI ML techniques to solve real-world marketing challenges Machine learning engineers and software developers aiming to build or integrate AI-driven tools and applications for marketing purposes Marketing professionals, business leaders, and entrepreneurs who must understand the impact of AI on marketing Reader are presumed to have a foundational proficiency in Python and a basic to intermediate grasp of ML principles and data science methodologies.


Big Data on Kubernetes

Big Data on Kubernetes

Author: Neylson Crepalde

Publisher: Packt Publishing Ltd

Published: 2024-07-19

Total Pages: 297

ISBN-13: 1835468993

DOWNLOAD EBOOK

Gain hands-on experience in building efficient and scalable big data architecture on Kubernetes, utilizing leading technologies such as Spark, Airflow, Kafka, and Trino Key Features Leverage Kubernetes in a cloud environment to integrate seamlessly with a variety of tools Explore best practices for optimizing the performance of big data pipelines Build end-to-end data pipelines and discover real-world use cases using popular tools like Spark, Airflow, and Kafka Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionIn today's data-driven world, organizations across different sectors need scalable and efficient solutions for processing large volumes of data. Kubernetes offers an open-source and cost-effective platform for deploying and managing big data tools and workloads, ensuring optimal resource utilization and minimizing operational overhead. If you want to master the art of building and deploying big data solutions using Kubernetes, then this book is for you. Written by an experienced data specialist, Big Data on Kubernetes takes you through the entire process of developing scalable and resilient data pipelines, with a focus on practical implementation. Starting with the basics, you’ll progress toward learning how to install Docker and run your first containerized applications. You’ll then explore Kubernetes architecture and understand its core components. This knowledge will pave the way for exploring a variety of essential tools for big data processing such as Apache Spark and Apache Airflow. You’ll also learn how to install and configure these tools on Kubernetes clusters. Throughout the book, you’ll gain hands-on experience building a complete big data stack on Kubernetes. By the end of this Kubernetes book, you’ll be equipped with the skills and knowledge you need to tackle real-world big data challenges with confidence.What you will learn Install and use Docker to run containers and build concise images Gain a deep understanding of Kubernetes architecture and its components Deploy and manage Kubernetes clusters on different cloud platforms Implement and manage data pipelines using Apache Spark and Apache Airflow Deploy and configure Apache Kafka for real-time data ingestion and processing Build and orchestrate a complete big data pipeline using open-source tools Deploy Generative AI applications on a Kubernetes-based architecture Who this book is for If you’re a data engineer, BI analyst, data team leader, data architect, or tech manager with a basic understanding of big data technologies, then this big data book is for you. Familiarity with the basics of Python programming, SQL queries, and YAML is required to understand the topics discussed in this book.


Artificial Intelligence for Learning

Artificial Intelligence for Learning

Author: Donald Clark

Publisher: Kogan Page Publishers

Published: 2024-05-03

Total Pages: 313

ISBN-13: 1398615765

DOWNLOAD EBOOK

With Artificial Intelligence (AI) creating huge opportunities for learning and employee development, how can learning professionals best implement the use of AI into their environment? Artificial Intelligence for Learning is the essential guide for learning professionals who want to understand how to use AI to improve all aspects of learning in organizations. This new edition debunks the myths and misconceptions around AI, discusses the learning theory behind generative AI and gives strategic and practical advice on how AI can be used. This book also includes specific guidance on how AI can provide learning support, chatbot functionality and content, as well as ideas on ethics and personalization. This book is necessary reading for all learning practitioners needing to understand AI and what it means in practice.