Skip to content

Commit

Permalink
Update extra to be called "remote" (#37822)
Browse files Browse the repository at this point in the history
* Update extra to be called "remote"

* CHANGELOG

* Fix tests
  • Loading branch information
luigiw authored Oct 10, 2024
1 parent 379fbeb commit 9ec655b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion sdk/evaluation/azure-ai-evaluation/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
### Breaking Changes

- Removed `numpy` dependency. All NaN values returned by the SDK have been changed to from `numpy.nan` to `math.nan`.
- `credential` is now required to be passed in for all content safety evaluators and `ProtectedMaterialsEvaluator`. `DefaultAzureCredential` will no longer be chosen if a credential is not passed.
- `credential` is now required to be passed in for all content safety evaluators and `ProtectedMaterialsEvaluator`. `DefaultAzureCredential` will no longer be chosen if a credential is not passed.
- Changed package extra name from "pf-azure" to "remote"

### Bugs Fixed
- Adversarial Conversation simulations would fail with `Forbidden`. Added logic to re-fetch token in the exponential retry logic to retrive RAI Service response.
Expand Down
2 changes: 1 addition & 1 deletion sdk/evaluation/azure-ai-evaluation/dev_requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@ pytest-asyncio
pytest-cov
pytest-mock
pytest-xdist
-e ../azure-ai-evaluation[pf-azure]
-e ../azure-ai-evaluation[remote]
2 changes: 1 addition & 1 deletion sdk/evaluation/azure-ai-evaluation/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"rouge-score>=0.1.2",
],
extras_require={
"pf-azure": [
"remote": [
"promptflow-azure<2.0.0,>=1.15.0",
],
},
Expand Down

0 comments on commit 9ec655b

Please sign in to comment.