зеркало из
1
0
Форкнуть 0
Граф коммитов

18617 Коммитов

Автор SHA1 Сообщение Дата
Waqas Javed 895f641add
Bug-Bash-Fix-Multimodal-Evaluator (#38377)
* docstring-update

* doc string updates

* doc string updates

* Add-assistant-validation

* Fix for exp declaration - multi-turn - docstring-content-with-text

* registering image artifact, multi-turn test added, text in content allowed

* lint fixes

* lint fixes, inference test fix

* lint fixes

* Addressing afer review comments

* lint-fix
2024-11-07 17:12:34 -08:00
Azure SDK Bot 5173d491b6
Sync eng/common directory with azure-sdk-tools for PR 9354 (#38407)
* Add step for emitting rate limits for a token

* add step to eng/common sync template

* Fix resource label output

* Use propery name instead of nested 'resource' property

* Add percent metric too

* Add divide by zero safety

---------

Co-authored-by: Patrick Hallisey <pahallis@microsoft.com>
2024-11-07 16:31:15 -08:00
David Wu 5a6cfbf5f3
Impove function types and address PM requirements (#38356)
* PM comment: remove leading empty lines and spaces for string prompt template

* Improve types for complete function

* Fix pylint error

* Fix types for messages

* Update release log and docstring

* Fix linter issue
2024-11-07 15:22:23 -08:00
Azure SDK Bot 28f4ec6250
Sync eng/common directory with azure-sdk-tools for PR 9331 (#38388)
* Common cleanup with the docs docker images no longer being used

* Remove docker-pull-image.yml

---------

Co-authored-by: James Suplizio <jasupliz@microsoft.com>
2024-11-07 14:25:48 -08:00
Xiang Yan ad2a6d54b3
2024-11-01-preview (#38110)
* 2024-11-01-preview

* update

* update

* update
2024-11-07 14:21:05 -08:00
Zimu Li (MSFT) b0bda76cf4
Update README.md (#38259) 2024-11-07 13:39:46 -08:00
Nagkumar Arkalgud 89f07db3a9
_options instead of _kwargs in simulator's call (#38390)
* 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

---------

Co-authored-by: Nagkumar Arkalgud <nagkumar@naarkalg-work-mac.local>
Co-authored-by: Nagkumar Arkalgud <nagkumar@naarkalgworkmac.lan>
Co-authored-by: Nagkumar Arkalgud <nagkumar@Mac.lan>
2024-11-07 21:23:40 +00:00
Diondra 1ed0fb647d
[Evaluation] Catch LLM parsing errors from malformed model responses (#38370)
* Catch llm parsing errors due to llm not following prompt format or not returning score

* Add raise from to exception

* Update sdk/evaluation/azure-ai-evaluation/azure/ai/evaluation/_common/utils.py

Co-authored-by: changliu2 <99364750+changliu2@users.noreply.github.com>

* Add model output to error message

---------

Co-authored-by: changliu2 <99364750+changliu2@users.noreply.github.com>
2024-11-07 16:14:00 -05:00
Diondra bbbafa088b
[evaluation] Fix RetrievalEvaluator evaluate() bug for non-conversation scenario (#38394)
* Remove RetrievalEvaluator overrides - make it inherit fully from EvaluatorPromptyBase like other prompt-based evaluators

* Re-record test

* Address linting
2024-11-07 15:51:13 -05:00
Azure SDK Bot e532351579
Sync eng/common directory with azure-sdk-tools for PR 9333 (#38376)
* Retry container deletion

* Do not try to purge keyvaults with purge protection

* Delete all blobs when container has immutability

* Skip missing blob container properties

* Fix null container

---------

Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-07 11:57:19 -08:00
Billy Hu 98ee624a08
fix broken tsg link (#38392) 2024-11-07 11:43:22 -08:00
MilesHolland d29dd839d0
Evaluate aggregation robustness (#38367)
* make evaluate aggregation more resiliant against bad inputs

* cl

* remove accidental test file changes

* remove accidental test file changes2

* remove accidental test file changes3

* more useful errors

* change exception to warnings
2024-11-07 11:31:19 -05:00
Azure SDK Bot 3d27b326e2
Increment package version after release of azure-monitor-opentelemetry (#38380) 2024-11-06 21:06:51 -08:00
Darren Cohen 4d0224600f
Update sample_chat_completions_streaming_azure_openai_async.py (#38364) 2024-11-06 20:21:20 -08:00
Billy Hu fa38e216c4
Evaluation: Disable local and remote tracing (#38372)
* Disable tracing for target run

* fix black issue

* fix linting issue

* update tests

* disable local tracing

* update changelog

* fix black issue
2024-11-06 19:40:31 -08:00
Yuchao Yan bd4383fc8a
update doc link (#38379) 2024-11-07 10:38:19 +08:00
Yuchao Yan 537ece390c
update log for apiview (#38378) 2024-11-07 10:17:32 +08:00
Jeremy Voss 31154819c5
Distro Release 1.6.4: Fix instrumentation migration bug. (#38371)
* Distro release 1.6.4

* Fixed bug

* Update broken docs links

* Update sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md

Co-authored-by: Paul Van Eck <paulvaneck@microsoft.com>

* Update sdk/monitor/azure-monitor-opentelemetry/CHANGELOG.md

Co-authored-by: Paul Van Eck <paulvaneck@microsoft.com>

* Update all otel dependencies

* Updated tests

* lint

---------

Co-authored-by: Paul Van Eck <paulvaneck@microsoft.com>
2024-11-06 17:02:23 -08:00
Neehar Duvvuri 5df5807106
Add evaluator ids (#38369) 2024-11-06 22:55:38 +00:00
M-Hietala 57efa876e4
Update CHANGELOG.md (#38368) 2024-11-06 15:43:18 -06:00
Simon Moreno 1d004cf472
[Cosmos] consider batch as write op (#38365)
* consider batch as write op

* Update CHANGELOG.md
2024-11-06 15:43:38 -05:00
M-Hietala 0c9f9e1d77
removing exception when instrumenting multiple times, adding content … (#38336)
* removing exception when instrumenting multiple times, adding content recording parameter

* fixing a typo

* Update version number and changelog

* Update model used in AOAI chat completions tests

* Update test recordings

* check tool related fix and readme code snippet update

* sphinx tool warning fix

---------

Co-authored-by: Marko Hietala <markhiet@microsoft.com>
Co-authored-by: Darren Cohen <39422044+dargilco@users.noreply.github.com>
2024-11-06 14:18:09 -06:00
M-Hietala 5c28e028df
inference async streaming tracing fix (#38350)
* initial changes

* completing the fix

* robustness improvements

* trying to fix code check tool related issue

---------

Co-authored-by: Marko Hietala <markhiet@microsoft.com>
2024-11-06 14:08:37 -06:00
Ankit Singhal 9e3b0e97cc
Placeholder Ids for evaluators (#38330)
* Placeholer Ids for evaluators

* Adding id field

* Adding experimental decorator

* Trying out doc string

* Updating evaluator ids

* Fxing tests

* Removing unused imports

* Removing unused imports

* Deleting unused code

* Fixing formatting issues
2024-11-06 19:40:49 +00:00
Yuchao Yan 03ad432727
upgrade typespec-python 0.36.2 (#38357)
* udpate dependency

* udpate dependency
2024-11-06 19:36:27 +08:00
Annie Liang cfe32c2de8
resolve comments from API review (#38352)
Co-authored-by: annie-mac <xinlian@microsoft.com>
2024-11-05 21:54:59 -08:00
Diondra 722cf59363
[evaluation] Add inline samples and turn on CI sample testing (#37949)
* Remove Optional type annotation from get() methods

* Remove duplicate overloads

* Include xpia in handled_metrics for evaluation aggregation

* Update output.py

* Add samples to evaluate and evaluator docstrings

* Add samples to simulator directory docstrings

* Fix docs/linting errors

* Update evaluator descriptions to match registry descriptions, add groundedness pro example, address linting

* Update evaluator descriptions to match registry descriptions, add groundedness pro example, address linting

* Address linting and add simulator samples

* Update README

* Fix linting errors, build docs, update readme

* Update sample and fix link
2024-11-05 21:48:32 -05:00
Xiang Yan 041cc303dd
Update doc on Parent window handle (#38343)
* Update doc on Parent window handle

* update

* Update sdk/identity/azure-identity-broker/azure/identity/broker/_browser.py

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>

* update

* update

* update sample

---------

Co-authored-by: Scott Addie <10702007+scottaddie@users.noreply.github.com>
2024-11-05 17:08:10 -08:00
Azure SDK Bot b7b3a74869
Increment version for monitor releases (#38316) 2024-11-05 16:43:29 -08:00
Azure SDK Bot 480ed8878e
Sync eng/common directory with azure-sdk-tools for PR 9330 (#38341)
* disable InitializeCIArtifacts until we get a better loop for usage

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-05 12:47:29 -08:00
Annie Liang 8b3b1d2f09
resolve comments (#38295)
Co-authored-by: annie-mac <xinlian@microsoft.com>
2024-11-05 12:14:12 -08:00
James Suplizio 629390307d
Remove a defunct variable from docindex.yml (#38342) 2024-11-05 12:12:10 -08:00
David Wu 943f4a8223
Prompt support for Inference SDK (#37917)
* Prompty support within Azure AI Inference SDK

* Fix unit test

* Address PR feedback with copyright, merge PromptConfig to PromptTemplate

* Add comment and set model_name as optional

* Bug fixes

* Updated parameter names from PM feedbacks

* Improve sample code and unit tests

* Update readme and comments

* Rename files

* Address PR comment

* add Pydantic as dependency

* Fix type errors

* Fix spelling issues

* Address PR comments and fix linter issues

* Fix type import for "Self"

* Change to keyword-only constructor and fix linter issues

* Rename function `from_message` to `from_str`; `render` to `create_messages`

* Change from `from_str` to `from_string`

* Merge latest code from `microsoft/prompty` and resolve linter issues

* Fix PR comment

* Fix PR comments
2024-11-05 12:03:57 -08:00
swathipil 578e9d2f5b
[Core] servicemanagement-legacy post deprecation (#38319) 2024-11-05 12:02:10 -08:00
Paul Van Eck f843d8df87
[Core] Deprecate OpenCensus tracing plugin (#37975)
Signed-off-by: Paul Van Eck <paulvaneck@microsoft.com>
2024-11-05 10:31:46 -08:00
Scott Addie 5a54fe895e
Edit pass on Azure Identity Broker README (#38339)
* Edit pass on Azure Identity Broker README

* Change version
2024-11-05 18:26:56 +00:00
Azure SDK Bot 70e52cdeab
Increment package version after release of azure-identity-broker (#38337) 2024-11-05 09:44:47 -08:00
swathipil af4b5133f9
Update deprecation_process.md for Verify Readmes failure (#38333)
Adding a section for Verify Readmes failure following #37975 .
2024-11-05 08:33:21 -08:00
Yuchao Yan 7f5d358422
[sdk generation pipeline] fix logic to extract swagger file (#38334)
* fix logic to extract swagger file

* fix logic to extract swagger file
2024-11-05 16:51:04 +08:00
swathipil 5136a43ac2
[Cosmos] documentdb post deprecation (#38314) 2024-11-04 23:10:21 -08:00
swathipil a8ce88a244
[Cognitive Services] vision post-deprecation (#38304)
* [Cognitive Services] vision post-deprecation

* black on active cs packages
2024-11-05 15:00:36 +08:00
swathipil 37edc7b936
[Synapse] azure-synapse post deprecation (#38315) 2024-11-04 22:35:02 -08:00
Azure SDK Bot 97cd7fb7ab
[AutoRelease] t2-servicebus-2024-11-04-58886(can only be merged by SDK owner) (#38293)
* code and test

* update-testcase

* update version

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
Co-authored-by: msyyc <70930885+msyyc@users.noreply.github.com>
2024-11-05 13:45:58 +08:00
Azure SDK Bot c846afc0f3
[AutoRelease] t2-marketplaceordering-2024-11-04-08673(can only be merged by SDK owner) (#38288)
* code and test

* update-testcase

* update-testcase

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-05 13:45:17 +08:00
Azure SDK Bot a7661c7d0b
[AutoRelease] t2-managedservices-2024-11-04-44075(can only be merged by SDK owner) (#38287)
* code and test

* update-testcase

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-05 13:44:43 +08:00
Azure SDK Bot 36faf5a08d
[AutoRelease] t2-managementgroups-2024-11-04-45946(can only be merged by SDK owner) (#38291)
* code and test

* update-testcase

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-05 13:44:28 +08:00
Nethra C Sashikar f425c3e38d
Add firewallsku as ManagedNetwork property (#37885)
* Generated REST client for upcoming API version `v2024-10-01-preview`.

- Created Swagger folder `2024-10-01-preview` by copying from the same one in GitHub project `azure-rest-api-specs`
  - https://github.com/Azure/azure-rest-api-specs/tree/release-machinelearningservices-Microsoft.MachineLearningServices-2024-10-01-preview/specification/machinelearningservices/resource-manager/Microsoft.MachineLearningServices/preview/2024-10-01-preview
  - Up to https://github.com/Azure/azure-rest-api-specs/pull/30776

- Safe to merge in for not bumping up callers' API versions with it
  - Cannot bump up before registering it for RPs in selected regions

- Added tag `v2024-10-01-preview` to `readme.md`
- Generated REST client for `v2024-10-01-preview`

* Initial commit

* Initial commit

* add new test for firewallsku

* add new test for firewallsku

* remove irrelevant changes

* add addressprefix changes

* address review comments

* address review comments

* reset the file in rest client

* address review comments

---------

Co-authored-by: Jing Li <jingli8@microsoft.com>
Co-authored-by: Nethra Sashikar <nsashikar@microsoft.com>
2024-11-05 05:17:41 +00:00
Xiang Yan ed61b4c0b4
Broker on mac support (#38274)
* Broker on mac support

* update

* update

* update

* update

* update

* update readme

* update
2024-11-04 18:37:40 -08:00
Azure SDK Bot 79b82f0bbf
[AutoRelease] t2-automation-2024-11-04-74277(can only be merged by SDK owner) (#38294)
* code and test

* update-testcase

* Update CHANGELOG.md

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
2024-11-05 10:09:32 +08:00
Azure SDK Bot 70fb01ba77
[AutoRelease] t2-loganalytics-2024-11-04-45063(can only be merged by SDK owner) (#38292)
* code and test

* update-testcase

* fix generated samples

* update version

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-05 10:07:51 +08:00