Building AI Applications with Microsoft Semantic Kernel

Building AI Applications with Microsoft Semantic Kernel
Author: Lucas A. Meyer
Publsiher: Packt Publishing Ltd
Total Pages: 252
Release: 2024-06-21
Genre: Computers
ISBN: 9781835469590

Download Building AI Applications with Microsoft Semantic Kernel Book in PDF, Epub and Kindle

Unlock the power of GenAI by effortlessly linking your C# and Python apps with cutting-edge models, orchestrating diverse AI services with finesse, and crafting bespoke applications through immersive, real-world examples Key Features Link your C# and Python applications with the latest AI models from OpenAI Combine and orchestrate different AI services such as text and image generators Create your own AI apps with real-world use case examples that show you how to use basic generative AI, create images, process documents, use a vector database Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionIn the fast-paced world of AI, developers are constantly seeking efficient ways to integrate AI capabilities into their apps. Microsoft Semantic Kernel simplifies this process by using the GenAI features from Microsoft and OpenAI. Written by Lucas A. Meyer, a Principal Research Scientist in Microsoft’s AI for Good Lab, this book helps you get hands on with Semantic Kernel. It begins by introducing you to different generative AI services such as GPT-3.5 and GPT-4, demonstrating their integration with Semantic Kernel. You’ll then learn to craft prompt templates for reuse across various AI services and variables. Next, you’ll learn how to add functionality to Semantic Kernel by creating your own plugins. The second part of the book shows you how to combine multiple plugins to execute complex actions, and how to let Semantic Kernel use its own AI to solve complex problems by calling plugins, including the ones made by you. The book concludes by teaching you how to use vector databases to expand the memory of your AI services and how to help AI remember the context of earlier requests. You’ll also be guided through several real-world examples of applications, such as RAG and custom GPT agents. By the end of this book, you'll have gained the knowledge you need to start using Semantic Kernel to add AI capabilities to your applications.What you will learn Write reusable AI prompts and connect to different AI providers Create new plugins that extend the capabilities of AI services Understand how to combine multiple plugins to execute complex actions Orchestrate multiple AI services to accomplish a task Leverage the powerful planner to automatically create appropriate AI calls Use vector databases as additional memory for your AI tasks Deploy your application to ChatGPT, making it available to hundreds of millions of users Who this book is for This book is for beginner-level to experienced .NET or Python software developers who want to quickly incorporate the latest AI technologies into their applications, without having to learn the details of every new AI service. Product managers with some development experience will find this book helpful while creating proof-of-concept applications. This book requires working knowledge of programming basics.

Artificial Intelligence for NET Speech Language and Search

Artificial Intelligence for  NET  Speech  Language  and Search
Author: Nishith Pathak
Publsiher: Apress
Total Pages: 278
Release: 2017-08-14
Genre: Computers
ISBN: 9781484229491

Download Artificial Intelligence for NET Speech Language and Search Book in PDF, Epub and Kindle

Get introduced to the world of artificial intelligence with this accessible and practical guide. Build applications that make intelligent use of language and user interaction to better compete in today’s marketplace. Discover how your application can deeply understand and interpret content on the web or a user’s machine, intelligently react to direct user interaction through speech or text, or make smart recommendations on products or services that are tailored to each individual user. With Microsoft Cognitive Services, you can do all this and more utilizing a set of easy-to-use APIs that can be consumed on the desktop, web, or mobile devices. Developers normally think of AI implementation as a tough task involving writing complex algorithms. This book aims to remove the anxiety by creating a cognitive application with a few lines of code. There is a wide range of Cognitive Services APIs available. This book focuses on some of the most useful and powerful ways that your application can make intelligent use of language. Artificial Intelligence for .NET: Speech, Language, and Search will show you how you can start building amazing capabilities into your applications today. What You'll Learn Understand the underpinnings of artificial intelligence through practical examples and scenarios Get started building an AI-based application in Visual Studio Build a text-based conversational interface for direct user interaction Use the Cognitive Services Speech API to recognize and interpret speech Look at different models of language, including natural language processing, and how to apply them in your Visual Studio application Reuse Bing search capabilities to better understand a user’s intention Work with recommendation engines and integrate them into your apps Who This Book Is For Developers working on a range of platforms, from .NET and Windows to mobile devices. Examples are given in C#. No prior experience with AI techniques or theory is required.

Building LLM Powered Applications

Building LLM Powered Applications
Author: Valentina Alto
Publsiher: Packt Publishing Ltd
Total Pages: 343
Release: 2024-05-22
Genre: Computers
ISBN: 9781835462638

Download Building LLM Powered Applications Book in PDF, Epub and Kindle

Get hands-on with GPT 3.5, GPT 4, LangChain, Llama 2, Falcon LLM and more, to build LLM-powered sophisticated AI applications Key Features Embed LLMs into real-world applications Use LangChain to orchestrate LLMs and their components within applications Grasp basic and advanced techniques of prompt engineering Book DescriptionBuilding LLM Powered Applications delves into the fundamental concepts, cutting-edge technologies, and practical applications that LLMs offer, ultimately paving the way for the emergence of large foundation models (LFMs) that extend the boundaries of AI capabilities. The book begins with an in-depth introduction to LLMs. We then explore various mainstream architectural frameworks, including both proprietary models (GPT 3.5/4) and open-source models (Falcon LLM), and analyze their unique strengths and differences. Moving ahead, with a focus on the Python-based, lightweight framework called LangChain, we guide you through the process of creating intelligent agents capable of retrieving information from unstructured data and engaging with structured data using LLMs and powerful toolkits. Furthermore, the book ventures into the realm of LFMs, which transcend language modeling to encompass various AI tasks and modalities, such as vision and audio. Whether you are a seasoned AI expert or a newcomer to the field, this book is your roadmap to unlock the full potential of LLMs and forge a new era of intelligent machines.What you will learn Explore the core components of LLM architecture, including encoder-decoder blocks and embeddings Understand the unique features of LLMs like GPT-3.5/4, Llama 2, and Falcon LLM Use AI orchestrators like LangChain, with Streamlit for the frontend Get familiar with LLM components such as memory, prompts, and tools Learn how to use non-parametric knowledge and vector databases Understand the implications of LFMs for AI research and industry applications Customize your LLMs with fine tuning Learn about the ethical implications of LLM-powered applications Who this book is for Software engineers and data scientists who want hands-on guidance for applying LLMs to build applications. The book will also appeal to technical leaders, students, and researchers interested in applied LLM topics. We don’t assume previous experience with LLM specifically. But readers should have core ML/software engineering fundamentals to understand and apply the content.

Programming Large Language Models with Azure Open AI

Programming Large Language Models with Azure Open AI
Author: Francesco Esposito
Publsiher: Microsoft Press
Total Pages: 604
Release: 2024-04-22
Genre: Computers
ISBN: 9780138280451

Download Programming Large Language Models with Azure Open AI Book in PDF, Epub and Kindle

Use LLMs to build better business software applications Autonomously communicate with users and optimize business tasks with applications built to make the interaction between humans and computers smooth and natural. Artificial Intelligence expert Francesco Esposito illustrates several scenarios for which a LLM is effective: crafting sophisticated business solutions, shortening the gap between humans and software-equipped machines, and building powerful reasoning engines. Insight into prompting and conversational programming—with specific techniques for patterns and frameworks—unlock how natural language can also lead to a new, advanced approach to coding. Concrete end-to-end demonstrations (featuring Python and ASP.NET Core) showcase versatile patterns of interaction between existing processes, APIs, data, and human input. Artificial Intelligence expert Francesco Esposito helps you: Understand the history of large language models and conversational programming Apply prompting as a new way of coding Learn core prompting techniques and fundamental use-cases Engineer advanced prompts, including connecting LLMs to data and function calling to build reasoning engines Use natural language in code to define workflows and orchestrate existing APIs Master external LLM frameworks Evaluate responsible AI security, privacy, and accuracy concerns Explore the AI regulatory landscape Build and implement a personal assistant Apply a retrieval augmented generation (RAG) pattern to formulate responses based on a knowledge base Construct a conversational user interface For IT Professionals and Consultants For software professionals, architects, lead developers, programmers, and Machine Learning enthusiasts For anyone else interested in natural language processing or real-world applications of human-like language in software

Deep Learning with Azure

Deep Learning with Azure
Author: Mathew Salvaris,Danielle Dean,Wee Hyong Tok
Publsiher: Apress
Total Pages: 298
Release: 2018-08-24
Genre: Computers
ISBN: 9781484236796

Download Deep Learning with Azure Book in PDF, Epub and Kindle

Get up-to-speed with Microsoft's AI Platform. Learn to innovate and accelerate with open and powerful tools and services that bring artificial intelligence to every data scientist and developer. Artificial Intelligence (AI) is the new normal. Innovations in deep learning algorithms and hardware are happening at a rapid pace. It is no longer a question of should I build AI into my business, but more about where do I begin and how do I get started with AI? Written by expert data scientists at Microsoft, Deep Learning with the Microsoft AI Platform helps you with the how-to of doing deep learning on Azure and leveraging deep learning to create innovative and intelligent solutions. Benefit from guidance on where to begin your AI adventure, and learn how the cloud provides you with all the tools, infrastructure, and services you need to do AI. What You'll Learn Become familiar with the tools, infrastructure, and services available for deep learning on Microsoft Azure such as Azure Machine Learning services and Batch AI Use pre-built AI capabilities (Computer Vision, OCR, gender, emotion, landmark detection, and more) Understand the common deep learning models, including convolutional neural networks (CNNs), recurrent neural networks (RNNs), generative adversarial networks (GANs) with sample code and understand how the field is evolving Discover the options for training and operationalizing deep learning models on Azure Who This Book Is For Professional data scientists who are interested in learning more about deep learning and how to use the Microsoft AI platform. Some experience with Python is helpful.

Generative AI for Cloud Solutions

Generative AI for Cloud Solutions
Author: Paul Singh,Anurag Karuparti
Publsiher: Packt Publishing Ltd
Total Pages: 301
Release: 2024-04-22
Genre: Computers
ISBN: 9781835080160

Download Generative AI for Cloud Solutions Book in PDF, Epub and Kindle

Explore Generative AI, the engine behind ChatGPT, and delve into topics like LLM-infused frameworks, autonomous agents, and responsible innovation, to gain valuable insights into the future of AI Key Features Gain foundational GenAI knowledge and understand how to scale GenAI/ChatGPT in the cloud Understand advanced techniques for customizing LLMs for organizations via fine-tuning, prompt engineering, and responsible AI Peek into the future to explore emerging trends like multimodal AI and autonomous agents Purchase of the print or Kindle book includes a free PDF eBook Book DescriptionGenerative artificial intelligence technologies and services, including ChatGPT, are transforming our work, life, and communication landscapes. To thrive in this new era, harnessing the full potential of these technologies is crucial. Generative AI for Cloud Solutions is a comprehensive guide to understanding and using Generative AI within cloud platforms. This book covers the basics of cloud computing and Generative AI/ChatGPT, addressing scaling strategies and security concerns. With its help, you’ll be able to apply responsible AI practices and other methods such as fine-tuning, RAG, autonomous agents, LLMOps, and Assistants APIs. As you progress, you’ll learn how to design and implement secure and scalable ChatGPT solutions on the cloud, while also gaining insights into the foundations of building conversational AI, such as chatbots. This process will help you customize your AI applications to suit your specific requirements. By the end of this book, you’ll have gained a solid understanding of the capabilities of Generative AI and cloud computing, empowering you to develop efficient and ethical AI solutions for a variety of applications and services.What you will learn Get started with the essentials of generative AI, LLMs, and ChatGPT, and understand how they function together Understand how we started applying NLP to concepts like transformers Grasp the process of fine-tuning and developing apps based on RAG Explore effective prompt engineering strategies Acquire insights into the app development frameworks and lifecycles of LLMs, including important aspects of LLMOps, autonomous agents, and Assistants APIs Discover how to scale and secure GenAI systems, while understanding the principles of responsible AI Who this book is for This artificial intelligence book is for aspiring cloud architects, data analysts, cloud developers, data scientists, AI researchers, technical business leaders, and technology evangelists looking to understanding the interplay between GenAI and cloud computing. Some chapters provide a broad overview of GenAI, which are suitable for readers with basic to no prior AI experience, aspiring to harness AI's potential. Other chapters delve into technical concepts that require intermediate data and AI skills. A basic understanding of a cloud ecosystem is required to get the most out of this book.

Building Data Driven Applications with LlamaIndex

Building Data Driven Applications with LlamaIndex
Author: Andrei Gheorghiu
Publsiher: Packt Publishing Ltd
Total Pages: 368
Release: 2024-05-10
Genre: Computers
ISBN: 9781805124405

Download Building Data Driven Applications with LlamaIndex Book in PDF, Epub and Kindle

Solve real-world problems easily with artificial intelligence (AI) using the LlamaIndex data framework to enhance your LLM-based Python applications Key Features Examine text chunking effects on RAG workflows and understand security in RAG app development Discover chatbots and agents and learn how to build complex conversation engines Build as you learn by applying the knowledge you gain to a hands-on project Book DescriptionGenerative AI, such as Large Language Models (LLMs) possess immense potential. These models simplify problems but have limitations, including contextual memory constraints, prompt size issues, real-time data gaps, and occasional "hallucinations." With this book, you’ll go from preparing the environment to gradually adding features and deploying the final project. You’ll gradually progress from fundamental LLM concepts to exploring the features of this framework. Practical examples will guide you through essential steps for personalizing and launching your LlamaIndex projects. Additionally, you’ll overcome LLM limitations, build end-user applications, and acquire skills in ingesting, indexing, querying, and connecting dynamic knowledge bases, covering Generative AI and LLM, as well as LlamaIndex deployment. As you approach the conclusion, you’ll delve into customization, gaining a holistic grasp of LlamaIndex's capabilities and applications. By the end of the book, you’ll be able to resolve challenges in LLMs and build interactive AI-driven applications by applying best practices in prompt engineering and troubleshooting Generative AI projects.What you will learn Understand the LlamaIndex ecosystem and common use cases Master techniques to ingest and parse data from various sources into LlamaIndex Discover how to create optimized indexes tailored to your use cases Understand how to query LlamaIndex effectively and interpret responses Build an end-to-end interactive web application with LlamaIndex, Python, and Streamlit Customize a LlamaIndex configuration based on your project needs Predict costs and deal with potential privacy issues Deploy LlamaIndex applications that others can use Who this book is for This book is for Python developers with basic knowledge of natural language processing (NLP) and LLMs looking to build interactive LLM applications. Experienced developers and conversational AI developers will also benefit from the advanced techniques covered in the book to fully unleash the capabilities of the framework.

Azure AI Services at Scale for Cloud Mobile and Edge

Azure AI Services at Scale for Cloud  Mobile  and Edge
Author: Simon Bisson,Mary Branscombe,Chris Hoder,Anand Raman
Publsiher: "O'Reilly Media, Inc."
Total Pages: 227
Release: 2022-04-11
Genre: Computers
ISBN: 9781098108014

Download Azure AI Services at Scale for Cloud Mobile and Edge Book in PDF, Epub and Kindle

Take advantage of the power of cloud and the latest AI techniques. Whether you’re an experienced developer wanting to improve your app with AI-powered features or you want to make a business process smarter by getting AI to do some of the work, this book's got you covered. Authors Anand Raman, Chris Hoder, Simon Bisson, and Mary Branscombe show you how to build practical intelligent applications for the cloud, mobile, browsers, and edge devices using a hands-on approach. This book shows you how cloud AI services fit in alongside familiar software development approaches, walks you through key Microsoft AI services, and provides real-world examples of AI-oriented architectures that integrate different Azure AI services. All you need to get started is a working knowledge of basic cloud concepts. Become familiar with Azure AI offerings and capabilities Build intelligent applications using Azure Cognitive Services Train, tune, and deploy models with Azure Machine Learning, PyTorch, and the Open Neural Network Exchange (ONNX) Learn to solve business problems using AI in the Power Platform Use transfer learning to train vision, speech, and language models in minutes