Skip to content

Commit 3cbdec1

Browse files
Merge pull request #247071 from ssalgadodev/patch-31
Update how-to-use-pipelines-prompt-flow.md
2 parents 401dd2c + 0672129 commit 3cbdec1

File tree

1 file changed

+14
-2
lines changed

1 file changed

+14
-2
lines changed

articles/machine-learning/how-to-use-pipelines-prompt-flow.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,12 @@ ms.custom: prompt
1414
---
1515

1616

17-
# Use Azure Machine Learning pipelines with no code to construct RAG pipelines (preview)
17+
# Use Azure Machine Learning pipelines to construct RAG pipelines (preview)
18+
19+
This tutorial walks you through how to create an RAG pipeline. The pipeline pulls a Git Repo, creates a Vector Index, automatically generates a test dataset, finds the best prompt for dataset, generates a Prompt flow and uses the test dataset to perform bulk evaluation. For advanced scenarios, you can build your own custom Azure Machine Learning pipelines from code (typically notebooks) that allows you granular control of the RAG workflow. Azure Machine Learning provides several in-built pipeline components for data chunking, embeddings generation, test data creation, automatic prompt generation, prompt evaluation. These components can be used as per your needs using notebooks. You can even use the Vector Index created in Azure Machine Learning in LangChain.
20+
21+
The next step is to use a Vector Index with a Large Language Model, retrieving relevant documents to augment what the model generates, while also testing multiple prompts to find the best and evaluating the performance using Prompt flow and a generated test dataset.
1822

19-
This tutorial walks you through how to create an RAG pipeline. For advanced scenarios, you can build your own custom Azure Machine Learning pipelines from code (typically notebooks) that allows you granular control of the RAG workflow. Azure Machine Learning provides several in-built pipeline components for data chunking, embeddings generation, test data creation, automatic prompt generation, prompt evaluation. These components can be used as per your needs using notebooks. You can even use the Vector Index created in Azure Machine Learning in LangChain.
2023

2124
[!INCLUDE [machine-learning-preview-generic-disclaimer](includes/machine-learning-preview-generic-disclaimer.md)]
2225

@@ -31,6 +34,15 @@ This tutorial walks you through how to create an RAG pipeline. For advanced scen
3134

3235
In your Azure Machine Learning workspace, you can enable prompt flow by turn-on **Build AI solutions with Prompt flow** in the **Manage preview features** panel.
3336

37+
## Productionize Vector Index with Test Data Generation, Auto Prompt, Evaluations and Prompt Flow
38+
39+
1. install dependencies.
40+
41+
```python
42+
%pip install azure-ai-ml
43+
%pip install -U 'azureml-rag[faiss]>=0.1.14'
44+
```
45+
3446
## Prompt Flow pipeline notebook sample repository
3547

3648
Azure Machine Learning offers notebook tutorials for several use cases with prompt flow pipelines.

0 commit comments

Comments
 (0)