Tutorials#

This section contains a collection of flow samples and step-by-step tutorials.

Category

Sample

Description

Tracing

Tracing

Prompt flow provides the tracing feature to capture and visualize the internal execution details for all flows

Tracing

Tracing with llm application

Tracing LLM application

Tracing

Tracing with autogen

Tracing LLM calls in autogen group chat application

Tracing

Tracing with langchain apps

Tracing LLM calls in langchain application

Tracing

Tracing with custom opentelemetry collector

A tutorial on how to levarage custom OTLP collector.

Prompty

Getting started with prompty

A quickstart tutorial to run a prompty and evaluate it.

Prompty

Chat with prompty

A quickstart tutorial to run a chat prompty and evaluate it.

Prompty

Prompty output format

Flow

Getting started with flex flow

A quickstart tutorial to run a flex flow and evaluate it.

Flow

Chat with class based flex flow

A quickstart tutorial to run a class based flex flow and evaluate it.

Flow

Stream chat with async flex flow

A quickstart tutorial to run a class based flex flow in stream mode and evaluate it.

Flow

Stream chat with flex flow

A quickstart tutorial to run a class based flex flow in stream mode and evaluate it.

Flow

Getting started with dag flow

A quickstart tutorial to run a flow and evaluate it.

Flow

Execute flow as a function

This guide will walk you through the main scenarios of executing flow as a function.

Flow

Run flows in azure ml pipeline

Create pipeline using components to run a distributed job with tensorflow

Flow

Flow run management in azure

Flow run management in Azure AI

Flow

Flow run management

Flow run management

Flow

Evaluate with langchain’s evaluator

A tutorial to converting LangChain criteria evaluator application to flex flow.

Flow

Getting started with flex flow in azure

A quickstart tutorial to run a flex flow and evaluate it in azure.

Flow

Chat with class based flex flow in azure

A quickstart tutorial to run a class based flex flow and evaluate it in azure.

Flow

Run dag flow in azure

A quickstart tutorial to run a flow in Azure AI and evaluate it.

Deployment

Create service with flow

This example shows how to create a simple service with flow

Deployment

Deploy a flow using docker

This example demos how to deploy flow as a docker app

Deployment

Distribute flow as executable app

This example demos how to package flow as a executable app

Deployment

Deploy flow using azure app service

This example demos how to deploy a flow using Azure App Service

Deployment

Deploy flow using kubernetes

This example demos how to deploy flow as a Kubernetes app

Rag

Tutorial: chat with pdf

Retrieval Augmented Generation (or RAG) has become a prevalent pattern to build intelligent application with Large Language Models (or LLMs) since it can infuse external knowledge into the model, which is not trained with those up-to-date or proprietary information

Rag

Tutorial: how prompt flow helps on quality improvement

This tutorial is designed to enhance your understanding of improving flow quality through prompt tuning and evaluation

Rag

Chat with pdf - test, evaluation and experimentation

A tutorial of chat-with-pdf flow that allows user ask questions about the content of a PDF file and get answers

Rag

Develop copilot with promptflow

In this tutorial, we will provide a detailed walkthrough on creating a RAG-based copilot using the Azure Machine Learning promptflow toolkit

Rag

How to generate test data based on documents

In this doc, you will learn how to generate test data based on your documents for RAG app

Rag

Chat with pdf in azure

A tutorial of chat-with-pdf flow that executes in Azure AI

Learn more: Try out more promptflow examples.