Prompt Flow Evaluation Failed with "The input for batch run is incorrect."
Hello, I am currently doing research on Prompt Flow.
When trying to use the above manual to evaluate the performance of a flow using built-in flows, I encountered an error that the batch execution input was incorrect.
- Clone the built-in flow "Web Classification".
- Open the "Evaluation" option in the upper right corner of the edit screen and specify ${data.url} for the url input.
- Select the built-in "Classification Accuracy Evaluation" in the "Evaluation Run" selection. 4) Select the "Evaluation Input Mapping" option.
- Specify "groundtruth":${data.category} and "prediction":${run.outputs.category} for the evaluation input mapping.
- Job execution of Web Classification-<date>-variant_0-<date>-Classification Accuracy Evaluation-<date> fails.
The error message is as follows:
UserError: The input for batch run is incorrect. Couldn't find these mapping relations: ${data.category}.
The test data is a csv file in the following format.
url, category, evidence
The link listed in the error message was 404 and no solution could be found. Could you please tell me which part is wrong?
Log file is here: Web Classification-10-26-2023-10-05-00-variant_0-202311060519-Classification Accuracy Evaluation-202311060519__.log.