Building AI Applications with Microsoft Semantic Kernel: Easily integrate generative AI capabilities and copilot experiences into your applications

Building AI Applications with Microsoft Semantic Kernel: Easily integrate generative AI capabilities and copilot experiences into your applications

Building AI Applications with Microsoft Semantic Kernel: Easily integrate generative AI capabilities and copilot experiences into your applications

Author: Lucas A. Meyer (Author)

Publisher finelybook 出版社:‏ Packt Publishing

Edition 版本:‏ N/A

Publication Date 出版日期:‏ 2024-06-21

Language 语言: English

Print Length 页数: 252 pages

ISBN-10: 1835463703

ISBN-13: 9781835463703

Book Description

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 Description

In 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.

Table of Contents

  1. Introducing Microsoft Semantic Kernel
  2. Creating Better Prompts
  3. Extending Semantic Kernel
  4. Performing Complex Actions by Chaining Functions
  5. Programming with Planners
  6. Adding Memories to Your AI Application
  7. Real-World Use Case – Retrieval-Augmented Generation
  8. Real-World Use Case – Making Your Application Available on ChatGPT

Review

“This book is a great resource for generative AI professionals seeking to build applications that require prompt engineering to construct RAGs and custom OpenAI apps. Lucas provides a high-level overview of Microsoft’s Semantic Kernel SDK. This SDK integrates OpenAI, Azure OpenAI, and Hugging Face with Java, C#, and Python. Consequently, it’s a valuable tool for software engineers to leverage their programming language expertise for developing gen AI applications. Lucas offers lucid explanations of various topics including prompt engineering, image generation, document processing, and RAGs. Highly recommended for professionals eager to enhance their gen AI skills.”

Chandrashekar Konda, Technical Director (AI & ML) at Oracle

“This isn’t just another AI book—it’s the blueprint for transforming your projects with cutting-edge technology. It offers a comprehensive guide to seamlessly incorporating advanced AI models into your C# and Python applications.

This book unpacks Microsoft Semantic Kernel for you and walks you through everything from setting up the Semantic Kernel to creating complex, multi-step AI functions. You’ll learn how to automate business processes and integrate generative AI capabilities into your projects with ease. The practical examples and best practices are especially valuable. A special shoutout to Packt for bringing such a valuable resource to life!”

Konstantin Semenenko, Founder and CTO at Managed Code

About the Author

Lucas A. Meyer is a Computer Scientist and Financial Economist with over two decades of experience in technology. Lucas joined Microsoft in 2002 to work with databases in Finance, joined Amazon in 2020 to work with fraud detection and prevention, and returned to Microsoft in 2022 as a Principal Research Scientist in the Microsoft’s AI for Good Lab, where he works with Large Language Models (LLMs) and the Microsoft Semantic Kernel daily. Lucas’ first NLP project, released in 2016, was a chatbot that streamlined several corporate finance operations and won the Adam Smith Award from London’s Treasury Today. Lucas has an MBA and an M.Sc. in Finance from the University of Washington in Seattle.

Amazon Page

相关文件下载地址

PDF, EPUB | 15 MB | 2024-07-14

打赏
未经允许不得转载:finelybook » Building AI Applications with Microsoft Semantic Kernel: Easily integrate generative AI capabilities and copilot experiences into your applications

评论 抢沙发

觉得文章有用就打赏一下

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

支付宝扫一扫

微信扫一扫