Skip to content

Commit

Permalink
one cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
zhengfeiwang committed Apr 25, 2024
1 parent 540667c commit 8cd0da7
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions docs/how-to-guides/tracing/trace-ui.md
Original file line number Diff line number Diff line change
Expand Up @@ -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}'
```
Expand Down

0 comments on commit 8cd0da7

Please sign in to comment.