Explain it simpler
Prompt flow is a tool in Azure AI Foundry for building AI apps that have several steps, drawn as boxes connected by arrows. Each box does one job: call a model with a prompt, run a bit of Python code, or look something up in a search index. The arrows show how one box's output feeds the next. Login details for outside services are saved separately as connections, so no passwords sit inside the boxes. You can try different versions of a prompt side by side, called variants, and score them on test questions. When it works, you publish the whole thing as a web address your app can call. It is like a recipe card where each step is clear and you can test two versions of the sauce.
The policy assistant at Silverline Mutual started as one prompt in a notebook. Six weeks later it rewrites questions, searches an index, formats sources, calls a model, checks the answer for safety and trims the reply. Each step lives in a different script, someone pasted an API key into one of them, and when a partner asks why the bot gave a strange answer yesterday, nobody can tell which step went wrong. Rafael, the lead developer, wants one place to build, test, compare and deploy the whole pipeline. What would that look like?
Real generative AI apps are more than one prompt. A retrieval augmented generation (RAG) chat app might rewrite the question, embed it, search an index, format the results, call the model and post-process the answer. Prompt flow is a development tool in Azure AI Foundry, and also in Azure Machine Learning, for building, testing, evaluating and deploying these multi-step pipelines. You see the pipeline as a visual graph, but it is backed by files you can keep in source control, which makes it practical for teams.
Keep reading for free
Create a free StudyToCert account to read the rest of this lesson: 8 more sections, 6 key terms, a real-world example, an exam tip and self-check questions. Every lesson, lab and practice test is free with an account.