Skip to content

Commit 937c4aa

Browse files
nagkumar91Nagkumar ArkalgudNagkumar ArkalgudNagkumar Arkalgudslister1001
authored
Data only red team mode (Azure#40531)
* Update task_query_response.prompty remove required keys * Update task_simulate.prompty * Update task_query_response.prompty * Update task_simulate.prompty * Fix the api_key needed * Update for release * Black fix for file * Add original text in global context * Update test * Update the indirect attack simulator * Black suggested fixes * Update simulator prompty * Update adversarial scenario enum to exclude XPIA * Update changelog * Black fixes * Remove duplicate import * Fix the mypy error * Mypy please be happy * Updates to non adv simulator * accept context from assistant messages, exclude them when using them for conversation * update changelog * pylint fixes * pylint fixes * remove redundant quotes * Fix typo * pylint fix * Update broken tests * Include the grounding json in the manifest * Fix typo * Come on package * Release 1.0.0b5 * Notice from Chang * Remove adv_conv template parameters from the outputs * Update chanagelog * Experimental tags on adv scenarios * Readme fix onbreaking change * Add the category and both user and assistant context to the response of qr_json_lines * Update changelog * Rename _kwargs to _options * _options as prefix * update troubleshooting for simulator * Rename according to suggestions * Clean up readme * more links * Bugfix: zip_longest created null parameters * Updated changelog * zip does the job * remove ununsed import * Fix changelog merge * Remove print statements * call evaluate_with_rai_service instead of evaluate * clean up * Data only works e2e, todo handle skip_evals * Data only mode * bug fixes * aggregated binary threshold results for evaluators in metrics * handle when the right columns do not exist * Marking mypy, pylint, black as false * add retry logic to service calls and send_prompt_async * small fixes * Add to constatns * typo * update retry to handle asyncio timeout * fix attack success * _skip_evals and docstrings * close file handlers * fix red_team * update changelog * end run * Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/red_team/_red_team.py Co-authored-by: Ankit Singhal <[email protected]> * skip evals as a param * Using the same artifact name --------- Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: Nagkumar Arkalgud <[email protected]> Co-authored-by: Sydney Lister <[email protected]> Co-authored-by: Ankit Singhal <[email protected]>
1 parent 1ceac21 commit 937c4aa

File tree

3 files changed

+508
-282
lines changed

3 files changed

+508
-282
lines changed

sdk/evaluation/azure-ai-evaluation/CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,12 @@
1111
- AzureOpenAITextSimilarityGrader
1212

1313
### Breaking Changes
14+
- In the experimental RedTeam's scan method, the `data_only` param has been replaced with `skip_evals` and if you do not want data to be uploaded, use the `skip_upload` flag.
1415

1516
### Bugs Fixed
1617
- Fixed error in `evaluate` where data fields could not contain numeric characters. Previously, a data file with schema:
1718
```
18-
"query1": "some query", "response: "some response"
19+
"query1": "some query", "response": "some response"
1920
```
2021
throws error when passed into `evaluator_config` as `{"evaluator_name": {"column_mapping": {"query": "${data.query1}", "response": "${data.response}"}},}`.
2122
Now, users may import data containing fields with numeric characters.

0 commit comments

Comments
 (0)