Skip to content

Commit 3b70a3c

Browse files
committed
added an additional image and keyword fix
1 parent f85f601 commit 3b70a3c

File tree

3 files changed

+12
-12
lines changed

3 files changed

+12
-12
lines changed

articles/ai-studio/how-to/llmops-github-promptflow.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: LLMOps with prompt flow and GitHub in Azure AI Studio
33
titleSuffix: Azure AI Studio
4-
description: Learn how to set up a LLMOps environment and pipeline on Github for prompt flow project using Azure AI Studio.
4+
description: Learn how to set up a LLMOps environment and workflows in Github for prompt flow project using Azure AI Studio.
55
services: azure-ai-studio
66
author: ritesh-modi
77
ms.author: rimod
@@ -46,7 +46,7 @@ LLMOps with prompt flow is a "LLMOps template and guidance" to help you build LL
4646
- **Centralized Code Hosting**: This repo supports hosting code for multiple flows based on prompt flow, providing a single repository for all your flows. Think of this platform as a single repository where all your prompt flow code resides. It's like a library for your flows, making it easy to find, access, and collaborate on different projects.
4747

4848
- **Lifecycle Management**: Each flow enjoys its own lifecycle, allowing for smooth transitions from local experimentation to production deployment.
49-
:::image type="content" source="../media/prompt-flow/llmops/pipeline.png" alt-text="Screenshot of pipeline." lightbox = "../media/prompt-flow/llmops/pipeline.png":::
49+
:::image type="content" source="../media/prompt-flow/llmops/workflow.png" alt-text="Screenshot of workflow." lightbox = "../media/prompt-flow/llmops/workflow.png":::
5050

5151
- **Variant and Hyperparameter Experimentation**: Experiment with multiple variants and hyperparameters, evaluating flow variants with ease. Variants and hyperparameters are like ingredients in a recipe. This platform allows you to experiment with different combinations of variants across multiple nodes in a flow.
5252

@@ -71,7 +71,7 @@ Other features for customization:
7171

7272
- Provides execution of both **prompt experimentation and evaluation** locally as well on cloud.
7373

74-
- Endpoint testing within pipeline after deployment to check its availability and readiness.
74+
- Endpoint testing within workflow after deployment to check its availability and readiness.
7575

7676
- Provides optional Human-in-loop to validate prompt metrics before deployment.
7777

@@ -101,22 +101,22 @@ The repository for this article is available at [LLMOps with Prompt flow templat
101101

102102
1. The prompt engineer/data scientist opens a feature branch where they work on the specific task or feature. The prompt engineer/data scientist iterates on the flow using prompt flow for Microsoft Visual Studio Code, periodically committing changes and pushing those changes to the feature branch.
103103

104-
2. Once local development and experimentation are completed, the prompt engineer/data scientist opens a pull request from the Feature branch to the Main branch. The pull request (PR) triggers a PR pipeline. This pipeline runs fast quality checks that should include:
104+
2. Once local development and experimentation are completed, the prompt engineer/data scientist opens a pull request from the Feature branch to the Main branch. The pull request (PR) triggers a PR workflow. This workflow runs fast quality checks that should include:
105105

106106
- Execution of experimentation flows
107107
- Execution of configured unit tests
108108
- Compilation of the codebase
109109
- Static code analysis
110110

111-
3. The pipeline can contain a step that requires at least one team member to manually approve the PR before merging. The approver can't be the committer and they mush have prompt flow expertise and familiarity with the project requirements. If the PR isn't approved, the merge is blocked. If the PR is approved, or there's no approval step, the feature branch is merged into the Main branch.
111+
3. The workflow can contain a step that requires at least one team member to manually approve the PR before merging. The approver can't be the committer and they mush have prompt flow expertise and familiarity with the project requirements. If the PR isn't approved, the merge is blocked. If the PR is approved, or there's no approval step, the feature branch is merged into the Main branch.
112112

113113
4. The merge to Main triggers the build and release process for the Development environment. Specifically:
114114

115-
a. The CI pipeline is triggered from the merge to Main. The CI pipeline performs all the steps done in the PR pipeline, and the following steps:
115+
a. The CI workflow is triggered from the merge to Main. The CI workflow performs all the steps done in the PR workflow, and the following steps:
116116
- Experimentation flow
117117
- Evaluation flow
118118
- Registers the flows in the AI Studio Registry when changes are detected
119-
b. The CD pipeline is triggered after the completion of the CI pipeline. This flow performs the following steps:
119+
b. The CD workflow is triggered after the completion of the CI workflow. This flow performs the following steps:
120120
- Deploys the flow from the Machine Learning registry to a AI Studio Deployment
121121
- Runs integration tests that target the online endpoint
122122
- Runs smoke tests that target the online endpoint
@@ -174,7 +174,7 @@ There are multiple steps that should be undertaken for setting up LLMOps process
174174

175175
### Fork and configure the repo
176176

177-
Follow the [guidelines](https://github.com/microsoft/llmops-promptflow-template/blob/main/docs/github_workflows_how_to_setup.md#set-up-github-repo) to create a forked repo in your GitHub organization. This repo uses two branches - `main` and `development` for code promotions and execution of pipelines in lieu of changes to code in them.
177+
Follow the [guidelines](https://github.com/microsoft/llmops-promptflow-template/blob/main/docs/github_workflows_how_to_setup.md#set-up-github-repo) to create a forked repo in your GitHub organization. This repo uses two branches - `main` and `development` for code promotions and execution of workflows in lieu of changes to code in them.
178178

179179
### Set up authentication between GitHub and Azure
180180

@@ -190,14 +190,14 @@ Follow the [guidelines](https://github.com/microsoft/llmops-promptflow-template/
190190
This helps us create a new feature branch from development branch and incorporate changes.
191191

192192

193-
## Test the pipelines
193+
## Test the workflows
194194

195-
Follow the [guidelines](https://github.com/microsoft/llmops-promptflow-template/blob/main/docs/github_workflows_how_to_setup.md#cloning-the-repos) to test the pipelines. The steps are
195+
Follow the [guidelines](https://github.com/microsoft/llmops-promptflow-template/blob/main/docs/github_workflows_how_to_setup.md#cloning-the-repos) to test the workflows. The steps are
196196

197197
1. Raise a PR(Pull Request) from a feature branch to development branch.
198-
2. The PR pipeline should execute automatically as result of branch policy configuration.
198+
2. The PR workflow should execute automatically as result of branch policy configuration.
199199
3. The PR is then merged to the development branch.
200-
4. The associated 'dev' pipeline is executed. This results in full CI and CD execution and result in provisioning or updating of existing Azure AI Studio Deployment.
200+
4. The associated 'dev' workflow is executed. This results in full CI and CD execution and result in provisioning or updating of existing Azure AI Studio Deployment.
201201

202202
The test outputs should be similar to ones shown at [here](https://github.com/microsoft/llmops-promptflow-template/blob/main/docs/github_workflows_how_to_setup.md#example-prompt-run-evaluation-and-deployment-scenario).
203203

-25.8 KB
Loading
98.3 KB
Loading

0 commit comments

Comments
 (0)