From 8cd0da79ca8bc7edb6f697b735a2d4d681de8471 Mon Sep 17 00:00:00 2001 From: Zhengfei Wang Date: Thu, 25 Apr 2024 18:24:45 +0800 Subject: [PATCH] one cmd --- docs/how-to-guides/tracing/trace-ui.md | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/docs/how-to-guides/tracing/trace-ui.md b/docs/how-to-guides/tracing/trace-ui.md index c3e084cc7de..ee2c78b2792 100644 --- a/docs/how-to-guides/tracing/trace-ui.md +++ b/docs/how-to-guides/tracing/trace-ui.md @@ -37,12 +37,8 @@ Click a record, the trace details will be visualized as tree view. ### Evaluate against batch data -Keep using **[chat_with_pdf](https://github.com/microsoft/promptflow/tree/main/examples/flows/chat/chat-with-pdf)** as example, to trigger a batch run, you can use below commands: +Keep using **[chat_with_pdf](https://github.com/microsoft/promptflow/tree/main/examples/flows/chat/chat-with-pdf)** as example, to trigger a batch run, you can use below command: -```shell -pf run create -f batch_run.yaml -``` -Or ```shell pf run create --flow . --data "./data/bert-paper-qna.jsonl" --column-mapping chat_history='${data.chat_history}' pdf_url='${data.pdf_url}' question='${data.question}' ```