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

Meyer, Lucas A.

  • 出版商: Packt Publishing
  • 出版日期: 2024-06-21
  • 售價: $1,820
  • 貴賓價: 9.5$1,729
  • 語言: 英文
  • 頁數: 252
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1835463703
  • ISBN-13: 9781835463703
  • 相關分類: Copilot人工智慧
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

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

- Introducing Microsoft Semantic Kernel

- Creating Better Prompts

- Extending Semantic Kernel

- Performing Complex Actions by Chaining Functions

- Programming with Planners

- Adding Memories to Your AI Application

- Real-World Use Case - Retrieval-Augmented Generation

- Real-World Use Case - Making Your Application Available on ChatGPT

商品描述(中文翻譯)

解鎖 GenAI 的力量,輕鬆將您的 C# 和 Python 應用程式與尖端模型連結,巧妙地協調多樣的 AI 服務,並透過身臨其境的真實案例打造量身定制的應用程式。

主要特色
- 將您的 C# 和 Python 應用程式與 OpenAI 的最新 AI 模型連結
- 結合並協調不同的 AI 服務,例如文本和圖像生成器
- 使用真實案例示範創建您自己的 AI 應用程式,教您如何使用基本的生成式 AI、創建圖像、處理文件、使用向量資料庫
- 購買印刷版或 Kindle 版書籍可獲得免費 PDF 電子書

書籍描述
在快速變化的 AI 世界中,開發人員不斷尋求有效的方法將 AI 功能整合到他們的應用程式中。Microsoft Semantic Kernel 通過使用 Microsoft 和 OpenAI 的 GenAI 功能簡化了這一過程。

本書由 Microsoft AI for Good Lab 的首席研究科學家 Lucas A. Meyer 撰寫,幫助您親手操作 Semantic Kernel。書中首先介紹了不同的生成式 AI 服務,如 GPT-3.5 和 GPT-4,並展示它們如何與 Semantic Kernel 整合。接著,您將學習如何創建可重用的提示模板,以便在各種 AI 服務和變數中使用。然後,您將學習如何通過創建自己的插件來為 Semantic Kernel 添加功能。書籍的第二部分展示了如何結合多個插件以執行複雜操作,以及如何讓 Semantic Kernel 使用自己的 AI 通過調用插件(包括您創建的插件)來解決複雜問題。最後,書中將教您如何使用向量資料庫擴展 AI 服務的記憶,並幫助 AI 記住早期請求的上下文。您還將通過幾個真實案例的應用程式進行指導,例如 RAG 和自定義 GPT 代理。

在本書結束時,您將獲得開始使用 Semantic Kernel 為您的應用程式添加 AI 功能所需的知識。

您將學到的內容
- 編寫可重用的 AI 提示並連接到不同的 AI 供應商
- 創建擴展 AI 服務功能的新插件
- 理解如何結合多個插件以執行複雜操作
- 協調多個 AI 服務以完成任務
- 利用強大的計劃工具自動創建適當的 AI 調用
- 使用向量資料庫作為 AI 任務的額外記憶
- 將您的應用程式部署到 ChatGPT,使其可供數億用戶使用

本書適合對象
本書適合初學者到有經驗的 .NET 或 Python 軟體開發人員,他們希望快速將最新的 AI 技術整合到應用程式中,而無需了解每個新 AI 服務的細節。具有一定開發經驗的產品經理在創建概念驗證應用程式時也會發現本書的幫助。本書需要具備編程基礎的工作知識。

目錄
- 介紹 Microsoft Semantic Kernel
- 創建更好的提示
- 擴展 Semantic Kernel
- 通過鏈接函數執行複雜操作
- 使用計劃工具編程
- 為您的 AI 應用程式添加記憶
- 真實案例 - 檢索增強生成
- 真實案例 - 使您的應用程式在 ChatGPT 上可用