Skip to content

Commit 4cae0a2

Browse files
author
ecfan
committed
Clarity edits
1 parent b497760 commit 4cae0a2

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

articles/logic-apps/connectors/azure-ai.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,13 @@ For more information, see the following resources:
108108

109109
This example shows how to use the Azure OpenAI and Azure AI Search connectors to break down the backend logic for ingesting data and conducting simple chat conversations into two key workflows. For faster performance, create stateless workflows that, by default, don't save and store the history for each run.
110110

111+
### Sample code
112+
113+
[Create a chat using ingested data](https://github.com/Azure/logicapps/tree/master/ai-sample)
114+
111115
### Prerequisites
112116

113-
[Requirements](https://github.com/Azure/logicapps/tree/master/ai-sample#prerequisites)
117+
See the [sample code requirements](https://github.com/Azure/logicapps/tree/master/ai-sample#prerequisites).
114118

115119
The following [cross-environment parameter values](../create-parameters-workflows.md) are also used by the workflow operations in this example:
116120

@@ -122,11 +126,7 @@ The following [cross-environment parameter values](../create-parameters-workflow
122126
| **openapi_api_key** | The API key for Azure OpenAI |
123127
| **openai_deployment_id** | The deployment ID for the Azure OpenAI example |
124128
| **openai_endpoint** | The endpoint URL for the Azure OpenAI example |
125-
| **tokenize_function_url** | The URL for |
126-
127-
### Sample code
128-
129-
[Create a chat using ingested data](https://github.com/Azure/logicapps/tree/master/ai-sample)
129+
| **tokenize_function_url** | The URL for a custom Azure function that batches and tokenizes data, which is required for Azure OpenAI to properly create embeddings for this example. <br><br>For more information about this function, see the [sample code for "Create a chat using ingested data"](https://github.com/Azure/logicapps/tree/master/ai-sample). |
130130

131131
### Video: Learn how to build AI applications using logic apps
132132

@@ -145,7 +145,7 @@ Each step in this pattern makes sure that the AI seamlessly extracts all the cru
145145
| 1 | Check for new data. | **When an HTTP request is received** | A trigger that either polls or waits for new data to arrive, either based on a scheduled recurrence or in response to specific events respectively. Such an event might be a new file that's uploaded to a specific storage system, such as SharePoint, OneDrive, or Azure Blob Storage. <br><br>In this example, the **Request** trigger operation waits for an HTTP or HTTPS request sent from another endpoint. The request includes the URL for a new uploaded document. |
146146
| 2 | Get the data. | **HTTP** | An **HTTP** action that retrieves the uploaded document using the file URL from the trigger output. |
147147
| 3 | Compose document details. | **Compose** | A **Data Operations** action that concatenates various items. <br><br>This example concatenates key-value information about the document. |
148-
| 4 | Tokenize the data. | **HTTP** | An **HTTP** action that calls a custom function that [tokenizes](../../ai-services/openai/overview.md#tokens) the output from the **Compose** action. |
148+
| 4 | Tokenize the data. | **HTTP** | An **HTTP** action that calls a custom Azure function that [batches and tokenizes](../../ai-services/openai/overview.md#tokens) the output from the **Compose** action. |
149149
| 5 | Convert tokenized data to JSON. | **Parse JSON** | A **Data Operations** action that converts the tokenized string output into a JSON array. |
150150
| 6 | Select JSON array items. | **Select** | A **Data Operations** action that selects multiple items from the JSON array. |
151151
| 7 | Generate the embeddings. | **Get multiple embeddings** | An **Azure OpenAI** action that creates embeddings for each JSON array item. |

0 commit comments

Comments
 (0)