Skip to content

Commit 9aa9b16

Browse files
author
ecfan
committed
Draft
1 parent 84afab8 commit 9aa9b16

File tree

2 files changed

+130
-0
lines changed

2 files changed

+130
-0
lines changed

articles/logic-apps/ai-resources.md

Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
---
2+
title: AI playbook, examples, and samples
3+
description: Learn about examples, samples, and other resources for integrating AI with Standard workflows in Azure Logic Apps.
4+
services: logic-apps
5+
ms.suite: integration
6+
ms.reviewers: estfan, azla
7+
ms.topic: conceptual
8+
ms.date: 11/11/2024
9+
#CustomerIntent: I want examples, samples, and other resources to help me learn how to integrate Ai into logic app workflows.
10+
---
11+
12+
# AI playbook and examples for Standard workflows in Azure Logic Apps
13+
14+
[!INCLUDE [logic-apps-sku-standard](../../includes/logic-apps-sku-standard.md)]
15+
16+
This guide provides examples, samples, and other resources that can help learn how to integrate Azure AI services, such as Azure OpenAI and Azure AI Search, with Standard workflows in Azure Logic Apps.
17+
18+
## Documentation
19+
20+
- [Parse or chunk content for Standard workflows in Azure Logic Apps](/azure/logic-apps/parse-document-chunk-text)
21+
22+
This guide shows how to convert content into tokens and split up content for easier consumption by Azure AI connectors, such as the **Azure AI Search** and **Azure OpenAI**.
23+
24+
In addition, the **Parse a document** and **Chunk text** operations help you prepare content for building document ingestion workflows so that you can make it possible for customers to "chat with the data".
25+
in a handful of steps without a single line of code
26+
27+
Without any custom logic or configuration, the **Parse a document** operation enables your workflow to read and parse thousands of documents in multiple languages and with file types such as PDF, DOCX, PPT, HTML, and more.
28+
29+
This no-code approach enables you to automate complex workflows—whether it’s document parsing, data chunking, or powering generative AI models—helping you unlock the full potential of your data with minimal effort.
30+
31+
32+
33+
by using the actions named [**Parse a document**] and [**Chunk text**](/azure/logic-apps/parse-document-chunk-text)
34+
35+
the Azure AI Search or Azure OpenAI actions expect tokenized input and can handle only a limited number of tokens.
36+
37+
For these scenarios, use the Data Operations actions named Parse a document and Chunk text in your Standard logic app workflow. These actions respectively transform content, such as a PDF document, CSV file, Excel file, and so on, into tokenized string output and then split the string into pieces, based on the number of tokens. You can then reference and use these outputs with subsequent actions in your workflow.
38+
39+
For more information about the **Parse a document** and **Chunk text** operations, see [Blog articles](#blog-articles).
40+
41+
- [Connect to Azure AI services from Standard workflows in Azure Logic Apps](/azure/logic-apps/connectors/azure-ai)
42+
43+
This guide shows how to access Azure AI services, such as **Azure AI Search** and **Azure OpenAI**, from your Standard workflow and examples for how to use these connector operations.
44+
45+
46+
<a name="blog-articles"></a>
47+
48+
## Azure OpenAI Assistants
49+
50+
| Resource type | Link |
51+
|---------------|------|
52+
| **Blog article** | [Build Azure OpenAI assistants with function calling](https://techcommunity.microsoft.com/blog/azure-ai-services-blog/announcing-azure-openai-service-assistants-public-preview-refresh/4143217) |
53+
54+
For more information, see [Call Azure Logic Apps workflows as functions using Azure OpenAI Assistants](/azure/ai-services/openai/how-to/assistants-logic-apps).
55+
56+
## Document ingestion and chat with data
57+
58+
When you build any AI application, efficient data ingestion is critical for success. Azure Logic Apps includes over 1,400 enterprise connectors and operations that provide access to a wide range of services, systems, applications, and databases.
59+
60+
In addition to these out-of-the-box actions, Azure Logic Apps also offers pre-built templates for data ingestion from many common data sources, including SharePoint, Azure File Storage, Blob Storage, SFTP, and more, helping you rapidly build and deploy your applications.
61+
62+
By leveraging connectors like Azure OpenAI and Azure AI Search, businesses can seamlessly implement the Retrieval-Augmented Generation (RAG) pattern, allowing the ingestion and retrieval of data from multiple sources with ease.
63+
64+
| Resource type | Link |
65+
|---------------|------|
66+
| **Blog article** | [Ingest documents for generative AI applications from 1,000+ data sources using Azure Logic Apps](https://techcommunity.microsoft.com/blog/integrationsonazureblog/document-ingestion-for-gen-ai-applications-using-logic-apps-from-1000-data-sourc/4250675) |
67+
| **Demo video** | [Ingest document based on RAG using Azure Logic Apps (Standard)](https://youtu.be/4Gv5Amv82yY) |
68+
69+
### Azure OpenAI and Azure AI Search connectors (Generally available)
70+
71+
72+
| Resource type | Link |
73+
|---------------|------|
74+
| **Blog article** | [Azure OpenAI and Azure AI Search connectors are now generally available for Azure Logic Apps (Standard)](https://techcommunity.microsoft.com/blog/integrationsonazureblog/%F0%9F%93%A2-announcement-azure-openai-and-azure-ai-search-connectors-are-now-generally-av/4163682) |
75+
| **Demo video** | [Build an end-to-end RAG-based AI application with Azure Logic Apps (Standard)](https://youtu.be/6QO4hKBmTR0) |
76+
| **GitHub sample** | [Create a chat with your data - Azure Logic Apps project](https://github.com/Azure/logicapps/tree/master/LogicApps-AI-RAG-Demo). |
77+
78+
For more information, see [Automate RAG indexing: Azure Logic Apps & AI Search for source document processing](https://techcommunity.microsoft.com/blog/azure-ai-services-blog/automate-rag-indexing-azure-logic-apps--ai-search-for-source-document-processing/4266083).
79+
80+
### Azure OpenAI and Azure AI Search connectors (Public Preview)
81+
82+
| Resource type | Link |
83+
|---------------|------|
84+
| **Blog article** | [Azure OpenAI and Azure AI Search connectors are in public preview for Azure Logic Apps (Standard)](https://techcommunity.microsoft.com/blog/integrationsonazureblog/public-preview-of-azure-openai-and-ai-search-in-app-connectors-for-logic-apps-st/4049584) |
85+
| **Demo video** | [Ingest document data into Azure AI Search and chat with data using Azure Logic Apps](https://youtu.be/tiU5yCvMW9o) |
86+
| **GitHub sample** | [Create a chat with your data - Azure Logic Apps project](https://github.com/Azure/logicapps/tree/master/ai-sample). |
87+
88+
## Retrieval-augmented generation (RAG)
89+
90+
To generate original output for tasks such as answering questions and completing sentences, generative AI models or large language models (LLM) such as ChatGPT are trained using vast volumes of static data and billions of parameters. [Retrieval-augmented generation](/azure/search/retrieval-augmented-generation-overview) is a way to add information retrieval capabilities to an LLM and modify its interactions so that the LLM can respond to user queries by referencing specified documents, which augment the model's own training data. With this capability, an LLM can use domain-specific or updated information and implement use cases for providing chatbot access to internal company data or factual information provided by an authoritative source.
91+
92+
RAG extends an LLM's already powerful capabilities to specific domains or an organization's internal knowledge base without having to retrain the model. The RAG architecture also provides a cost-effective approach to improve and keep LLM output relevant, accurate, and useful.
93+
94+
### Examples
95+
96+
The following examples show ways that apply or implement the RAG pattern using Standard workflows in Azure Logic Apps.
97+
98+
#### Chat with insurance data
99+
100+
This example uses a classic RAG pattern where a workflow ingests an insurance company's documents and data so that employees can ask questions about their benefits and options for plan coverage.
101+
102+
| Resource type | Link |
103+
|---------------|------|
104+
| **Blog article** | [Azure OpenAI and Azure AI Search connectors are in public preview for Azure Logic Apps (Standard)](https://techcommunity.microsoft.com/blog/integrationsonazureblog/public-preview-of-azure-openai-and-ai-search-in-app-connectors-for-logic-apps-st/4049584) |
105+
| **Demo video** | [Ingest document data into your Azure AI Search service and chat with your data with Azure Logic Apps](https://youtu.be/tiU5yCvMW9o) |
106+
| **GitHub sample** | [Create a chat with your data - Standard logic app project](https://github.com/Azure/logicapps/tree/master/ai-sample) |
107+
108+
#### Automate answers to StackOverflow questions
109+
110+
This example shows how a workflow can automatically answer new StackOverflow questions with a specific hashtag by using the Azure AI Search and Azure OpenAI connectors. The sample can ingest previous posts and product documentation so that when a new question is available, the solution can automatically answer by using the knowledge base and then asking a human to approve the response before posting on StackOverflow.
111+
112+
You can customize this workflow to trigger daily, weekly, or monthly, based on your preference, and set up your own automated response system for any hashtag, which streamlines community support. You can also adapt this solution for tickets in Outlook, ServiceNow, or other platforms by using Azure Logic Apps connectors for secure access.
113+
114+
| Resource type | Link |
115+
|---------------|------|
116+
| **Blog article** | [Automate responses to StackOverflow queries using Azure OpenAI and Azure Logic Apps](https://techcommunity.microsoft.com/blog/integrationsonazureblog/automate-responses-to-stackoverflow-queries-using-openai-and-logic-apps/4182590) |
117+
| **GitHub sample** | [Automate responses to unanswered StackOverflow questions](https://github.com/Azure/logicapps/tree/helpdesk-sample-1/testAILA) |
118+
119+
## Integrate with Semantic Kernel
120+
121+
This lightweight, open-source development kit helps you easily build AI agents and integrate the latest AI models into your C#, Python, or Java codebase. At the simplest level, the kernel is a dependency injection container that manages all services and plugins that your AI application needs to run. If you provide all your services and plugins to the kernel, the AI seamlessly uses these components as needed. As the central component, the kernel serves as an efficient middleware that helps you quickly deliver enterprise-grade solutions. For more information, see [Introduction to Semantic Kernel](/semantic-kernel/overview/).
122+
123+
| Resource type | Link |
124+
|---------------|------|
125+
| **Blog article** | [Integrate Standard logic app workflows as plugins with Semantic Kernel: Step-by-step guide](https://techcommunity.microsoft.com/blog/integrationsonazureblog/integrate-logic-app-workflows-as-plugins-with-semantic-kernel-step-by-step-guide/4210854) |
126+
| **GitHub sample** | [Semantic Kernel for Azure Logic Apps](https://github.com/Azure/logicapps/tree/shahparth-lab-patch-2-semantic-kernel/Git-SK) |
127+
128+
## Related content

articles/logic-apps/toc.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ items:
123123
href: create-publish-workflow-templates.md
124124
- name: Secure traffic between Standard workflows and virtual networks
125125
href: secure-single-tenant-workflow-virtual-network-private-endpoint.md
126+
- name: AI playbook and development resources
127+
href: ai-resources.md
126128
- name: Develop for rules engine integration
127129
items:
128130
- name: Overview for rules engine integration

0 commit comments

Comments
 (0)