Create an evaluation test set (CSV for import)
cs_create_test_set_csvCreate a CSV evaluation test set for Copilot Studio, deriving suggested question-answer pairs from workspace topics, starters, and knowledge. Max 100 cases for portal import.
Instructions
Write the CSV the portal's Evaluation page imports (columns Question, Expected response; max 100 cases). Test sets cannot be created through the API, so this file is imported once in the portal; runs and results are then automated via cs_run_evaluation. suggestFromWorkspace derives cases from topics, starters and knowledge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| cases | No | ||
| workspace | No | Path to (or inside) the agent workspace. Defaults to CPS_WORKSPACE or the current directory. | |
| outputPath | No | Default <workspace>/../<agent>-testset.csv | |
| maxSuggested | No | ||
| suggestFromWorkspace | No |