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

18709 Коммитов

Автор SHA1 Сообщение Дата
Sai Kothinti b3ecbaa992 remove unnecessary changes 2024-11-19 10:49:23 +05:30
Sai Kothinti 86b508f50e make service name optional 2024-11-19 10:39:58 +05:30
Azure SDK Bot 66db96dd01
Increment package version after release of azure-cosmos (#38607) 2024-11-19 04:45:35 +00:00
Simon Moreno 3de7a4c1f3
[Cosmos] Hybrid Search query pipeline (#38275)
* Create hybrid_search_aggregator.py

* others

* Update execution_dispatcher.py

* Update execution_dispatcher.py

* sync changes, need to look at vector + FTS/ skip + take

* async pipeline

* account for skip/take and simplify logics

* small hack for now

* fixing top/limit logic

* return only payload

* fix hack

* pylint

* simplifying further

* small changes

* adds readme, buffer limit, simplifies

* simplify async, CI green

* Update hybrid_search_aggregator.py

* Update sdk/cosmos/azure-cosmos/README.md

Co-authored-by: Anna Tisch <antisch@microsoft.com>

* update variable name

* add sync and async tests

* Update README.md

* simplifications, test fixes

* add wrong query tests

* pylint/cspell

* Update CHANGELOG.md

* small changes

* test updates

* Update hybrid_search_data.py

* cspell, samples

* change tops

* address comments

* Update hybrid_search_aggregator.py

* update pipeline description

* Update CHANGELOG.md

* Update CHANGELOG.md

---------

Co-authored-by: Anna Tisch <antisch@microsoft.com>
2024-11-18 22:04:08 -05:00
Scott Beddall 67aa17f1e0
Use Common Matrix Generation (#38324)
* convert python to using common matrix generation present in eng/common generate-matrix yml
2024-11-18 16:33:31 -08:00
Azure SDK Bot cd22b6e64b
Sync eng/common directory with azure-sdk-tools for PR 9381 (#38598)
* change our verifyChangelogs over to utilizing the artifact details. if we don't have an artifact details at all, don't verify changelog. if we do, but skipverifychangelog is present, don't verify changelog. if we have artifact details, but no disable, verify the changelog

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 15:12:54 -08:00
Libba Lawrence 0f85f10231
[EG] resource notification event (#38100)
* rn

* update

* update

* bump

* black
2024-11-18 14:51:01 -08:00
Azure SDK Bot 84384d3d82
batching adjustments for create-prjobmatrix (#38597)
Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-18 12:57:14 -08:00
Matthew Metcalf d96f8973ca
Merge App Config Provider Beta to Main (#38579)
* Revert "Remove Telemetry from main (#37783)" (#37812)

This reverts commit a65dfb2c24.

* Allocation Id (#37840)

* Adding Telemetry

* Telemetry Support

* fixing formatting

* Update _azureappconfigurationprovider.py

* Update _azureappconfigurationproviderasync.py

* formatting

* changing doc style due to pylint-next

* fixing kwargs docs

* Formatting

* Review comments

* Changed label checking.

* black format changes

* pylint

* Update sdk/appconfiguration/azure-appconfiguration-provider/azure/appconfiguration/provider/_azureappconfigurationprovider.py

Co-authored-by: Avani Gupta <avanigupta@users.noreply.github.com>

* added space checks

* Update conftest.py

* moved telemetry to client wrapper

* fixing format

* updating after merge

* fixing black issue

* removing unused imports

* AllocationId

* Update CODEOWNERS

* Update CODEOWNERS

* fixing issues

* Update _client_manager_base.py

* Fixing configuration value empty in calc

* fixing pylint

* Update _constants.py

* review comments

* fixing allocation check

* format fix

---------

Co-authored-by: Avani Gupta <avanigupta@users.noreply.github.com>

* Python Provider 2.0.0b2 Changelog update (#37860)

* Update CHANGELOG.md

* Update CHANGELOG.md

* Increment package version after release of azure-appconfiguration-provider (#37877)

* Update _client_manager_base.py (#38019)

* App Config Allocation Id Update (#38065)

* updated calc to sort keys

* Update CHANGELOG.md

* Allocation id update (#38242)

* updated calc to sort keys

* Update CHANGELOG.md

* Update _client_manager_base.py

* Update CHANGELOG.md (#38521)

* Increment package version after release of azure-appconfiguration-provider (#38553)

* Removing Allocation ID (#38555)

* Removing Allocation ID

* Remove constants

* Update _client_manager_base.py

---------

Co-authored-by: Avani Gupta <avanigupta@users.noreply.github.com>
Co-authored-by: Azure SDK Bot <53356347+azure-sdk@users.noreply.github.com>
2024-11-18 10:33:40 -08:00
Azure SDK Bot 89a86d70b0
Increment package version after release of azure-search-documents (#38593) 2024-11-18 09:06:17 -08:00
Amit Chauhan e821a49076
Datastore auth bug (#38586) 2024-11-18 15:06:48 +05:30
Amit Chauhan 996ecee073
Shrike (#38560) 2024-11-18 15:04:29 +05:30
Azure SDK Bot 4e62b4f7bf
[AutoRelease] t2-netapp-2024-11-08-58381(can only be merged by SDK owner) (#38411)
* code and test

* Update CHANGELOG.md

* Update CHANGELOG.md

* assets

* update-format

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
Co-authored-by: Audunn Baldvinsson <audunn.baldvinsson@netapp.com>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-18 13:37:49 +08:00
Azure SDK Bot fd343b8334
[AutoRelease] t2-mysqlflexibleservers-2024-11-05-47456(can only be merged by SDK owner) (#38329)
* code and test

* update-testcase

* update-format

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-18 13:37:29 +08:00
Azure SDK Bot 51929fce81
[AutoRelease] t2-cosmosdb-2024-11-14-60943(can only be merged by SDK owner) (#38531)
* code and test

* update-testcase

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-18 13:36:50 +08:00
Azure SDK Bot 23cdc6bd24
Add helpers to log a GitHub "notice" (#38574)
Co-authored-by: Mike Harder <mharder@microsoft.com>
2024-11-15 17:11:08 -08:00
Leighton Chen 7b7a042dcf
Add OpenTelemetry LoggingHandler conditionally (#38549) 2024-11-15 14:22:03 -08:00
Krista Pratico ae94b912de
add test samples tracking (#38502)
* add test samples tracking

* add samples tracking to csv/html/md reports

* fix for catastrophic pipeline failure
2024-11-15 13:49:06 -08:00
Darren Cohen 1bee9d42e5
Disable job Test ubuntu2004_pypy39 (#38559) 2024-11-15 11:28:37 -08:00
Xiang Yan 3340f85ba5
Mypy fix (#38565)
* Mypy fix

* update
2024-11-15 11:23:02 -08:00
Simon Moreno 4c67ca7dfa
[Cosmos] Adds full text policy and full text indexes (#37891)
* FTS control plane changes

* add tests, refine README and changelog

* replace tests

* update changelog, version

* update README, tests

* additional assertions
2024-11-15 13:50:26 -05:00
Azure SDK Bot 15d3f80572
code and test (#38558)
Co-authored-by: azure-sdk <PythonSdkPipelines>
2024-11-15 13:23:59 +08:00
Amit Chauhan a0b796698d
Adding additional include support in spark component (#38537)
Support additional include in spark component
2024-11-15 09:32:48 +05:30
Yuchao Yan c812e66a77
udpate optimization (#38557) 2024-11-15 10:30:46 +08:00
Azure SDK Bot 342d1079aa
[AutoRelease] t2-hybridcompute-2024-10-24-71197(can only be merged by SDK owner) (#38070)
* code and test

* Update CHANGELOG.md

* Update CHANGELOG.md

* update-testcase

* Update CHANGELOG.md

---------

Co-authored-by: azure-sdk <PythonSdkPipelines>
Co-authored-by: ChenxiJiang333 <119990644+ChenxiJiang333@users.noreply.github.com>
Co-authored-by: ChenxiJiang333 <v-chenjiang@microsoft.com>
2024-11-15 10:20:23 +08:00
Darren Cohen 62ccd0687b
Minor updates to package README.md. Remove /en-us/ from links shown on samples and in source code (#38554) 2024-11-14 17:40:45 -08:00
Ankit Singhal b63200a52c
Users/singankit/fix remote extra requirement (#38550)
* Update _evaluate.py

* Update setup.py

* Update dev_requirements.txt

* Update CHANGELOG.md

* Update CHANGELOG.md

* Update CHANGELOG.md
2024-11-15 01:07:43 +00:00
Leighton Chen 54d65c1b87
Setup eventloggerprovider in azure monitor distro (#38543) 2024-11-14 16:19:07 -08:00
Ankit Singhal 02c88cfba9
README Update for Evaluation (#38551)
* Update README.md

* Update sample_evaluations.py

* Update README.md

* Update README.md
2024-11-14 23:24:43 +00:00
Darren Cohen ed5fd4d7da
Fix scopes to use auth2.0 instea of auth1.0 (#38552) 2024-11-14 14:49:04 -08:00
M-Hietala 6217ffbb57
modify changelog for the no span type fix (#38546)
* modify changelog for the no span type fix

* changing unreleased to Unreleased

* updating _version.py

---------

Co-authored-by: Marko Hietala <markhiet@microsoft.com>
2024-11-14 15:45:54 -06:00
Nagkumar Arkalgud 305fa34a7e
Add user agent to simulators (#38544)
* 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

* Update the user agent

* removed check

* Use type= format

* Black changes

* Add subtype

---------

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-14 13:42:22 -08:00
Darren Cohen 71c3c88847
Update package README.md (#38540) 2024-11-14 12:17:31 -08:00
Darren Cohen 09bc6f01b8
Update owners for sdk/ai (#38547) 2024-11-14 11:19:09 -08:00
Ben Broderick Phillips 333ec6a995
Remove or fix azure* environment variables in live tests (#37815)
* Remove or fix azure* environment variables in live tests

* try samples against tme
2024-11-14 13:21:38 -05:00
M-Hietala ba31df526b
async tracing fix for cases when spantype is not set (#38522)
Co-authored-by: Marko Hietala <markhiet@microsoft.com>
2024-11-14 11:02:30 -06:00
Simon Moreno 41cec39bac
[Cosmos] DiskANN updates (#38044)
* Update README.md

* add values to README, update tests

* Update README.md

* update samples

* Update sdk/cosmos/azure-cosmos/README.md

* remove vectorIndexShardKey
2024-11-14 11:44:56 -05:00
Yuchao Yan 11fe0c6e49
update version for autorest.python and typespec-python (#38534) 2024-11-14 11:36:08 -05:00
Darren Cohen 9ebd895496
Azure AI Projects Python SDK (#38338)
* First version of client with endpoint operations

* Make Endpoints sample work

* Create EndpointProperties class. Implement client.endpoints.get_default

* Support AzureAIClient.from_connection_string()

* Make default input argument for .endpoints.get

* Re-emit from latest TypeSpec. First attempt to support 3 different endpoints

* Fix construction of the three endpoints

* Re-emit from TypeSpec. Rename host_name to endpoint

* Bug fix

* Add methods ai_client.inference.get_chat_completions_client() and ai_client.inference.get_azure_openai_client()

* Adding sample and changing client name (#37724)

* Add .inference.get_embeddings_client() method

* Jhakulin/azure ai client agents (#37748)

* generated agents

* merge latest

* update

* add patches

* update

* new version generated

* fixes

* fix merge error

* update

* use assistant_id for now

* update

* Create seperate inference samples

* Move SASTokenCredential into .models

* Add more agents samples (#37777)

* add more samples

* adjust sleep

* review updates

* Update _patch.py (#37760)

* Online Evaluation changes (#37794)

* Patch constructor for async AzureAIClient (#37804)

* Users/singankit/evaluation add data mapping (#37824)

* Update sample_evaluations.py

* Update sample_evaluations.py

* Fix .inference.get_azure_openai_client() for the async AzureAIClient (#37828)

* migrate async, poll functions, and samples from assistant to agent (#37831)

* migrate async, poll functions, and samples from assistant to agent

* migrate async, poll functions, and samples from assistant to agent

* resolved comments

* resolve comments

* using print instead of logging

* moved ai_client to main function

* Resolved comment

* Fixed samples

* [AI Client] adapt Sophia's assistant tests to client repo (#37819)

* [AI Client] adapt Sophia's assistant tests to client repo

* get tests running and passing with pytest

* recordings pass and pushed

* review feedback

* Took out streaming from create_run, create_and_process_run, and submit_tool_outputs_to_run and declare separate functions for streaming (#37851)

* Took out streaming from create_run, create_and_process_run, and submit_tool_outputs_to_run and declare separate functions for streaming

* Took out create_and_process_stream and update samples accordingly

* fixed samples

* Miscellaneous updates (#37852)

* Jhakulin/azure ai client pylance (#37887)

* Fixes to Pylance error

* fix sample

* update

* use file_upload_and_poll

* updates to async samples

* remove comment as we are using poll methods

* more fixes

* Use List instead of Sequence and fixed samples (#37898)

* fixed warning for aio and get call function tools for stream within t… (#37913)

* fixed warning for aio and get call function tools for stream within the SDK

* Fixed another warning

* Fixed return type

* Evaluation API Review Feedback (#37915)

* Evaluation API Review Feedback

* add sample for evaluation schedule

---------

Co-authored-by: Sai Kothinti <saikothinti@microsoft.com>

* Fixed poll while loop and sample (#37922)

* Jhakulin/azure ai client agents updates2 (#37937)

* minor fixes and updates

* update

* update

* create_vector_store_file_batch_and_poll + samples and update aio using the latest code from syn (#37952)

* create_vector_store_file_batch_and_poll + samples and update aio using the latest code from sync

* Resolved comments

* Clean up on the Optional (#37971)

* Switch from .endpoints to .connection (re-emit from latest TypeSpec)

* updates and minor fixes (#37984)

* Clean up (#37985)

* Rename connection string environment variables

Rename AI_CLIENT_CONNECTION_STRING to PROJECT_CONNECTION_STRING, to match how it's shown in Azure AI Studio.

Also rename AZURE_AI_CLIENT_AGENTS_CONNECTION_STRING (used in Agents tests) to PROJECT_CONNECTION_STRING_AGENTS_TESTS

* updated codeinterpreter attachment sample (#37990)

* Filter parameters, returned by SSE event (#37991)

* nirovins/filter_parameters

* Fixes

* Move utility functions out of class

* Evaluation data set id change revert (#38007)

* Updates to .connection operators (#38024)

- Re-emit from latest TypeSpec
- Updates to .connections operators to support the new preview version of REST API
- Add "id" on ConnectionProperties

* Users/singankit/ai project utils (#38033)

* Sample upload file method on AI Client

* Updating sample evaluation

* Improving Evaluation user experience

* Adding pip install link for evaluation

* Update sample_evaluations.py

* Reverting connection changes

* Update _patch.py

* First emit of azure-ai-project (_patch.py, samples and test not yet copied)

* Copy _patch.py, samples, test, update names

* Fix wrong import

* M hietala/agent tools updates (#38031)

* no need for function name separately in function definitions

* more changes related to not needing to specify function names separately

* adding capability to remove vector stores from file search tool

* adding remove file to code interpreter

* review comment related change

---------

Co-authored-by: Marko Hietala <markhiet@microsoft.com>

* add changes to latest typespec and ai-project changes (#38051)

* Move agents test to agents folder (#38055)

* Move agents test to agents folder

* Copy changes to project

* Prep for connection tests. (#38060)

* Create azure-ai-projects folder

* Add Inference tests (#38069)

* re-doing the agent toolu updates after package changes (#38078)

Co-authored-by: Marko Hietala <markhiet@microsoft.com>

* Add .diagnostics.enable() method to fetch App Insights connection strings (#38109)

* Users/singankit/evaluation async samples (#38104)

* Adding async sample for evaluation

* Update sample_evaluations_async.py

* Fix sphinx docstring and cSpell (#38125)

* Fix sphinx

* Fix spelling

* Fix

* Fix II

* Generate new code

* Fix test

* Fix

* Disable evaluation schedule and remove sampling rate (#38161)

* sdk changes for online eval disable schedule and remove sampling rate

* change sample

* Add tests for Connection operations (#38156)

* update to get file content (#38165)

* Jhakulin/parse messages (#38167)

* parse messages

* update

* add test file

* update

* use stream for get file content

* add get_file_content_stream

* update

* fix merge error

* review feedback

* more review comments

* more review comments

* Update README.md (#38173)

* update to get file content (#38192)

* Enable tracing (#38185)

* added validation to tools and tools_resources, added update agent (#38195)

* Rename `.diagnostics` to `.telemetry` (#38209)

* Jhakulin/agents get file content async (#38201)

* update to get file content

* agents async updates

* update

* fix await/pylance issue

* fix pylance error on AsyncToolSet

* return empty set if no tool resources for code interpreter

* added async toolset sample

* Fixed test (#38222)

* Support the new unified models deployed to the AIServices connection

* Fixed validation to put AyncFunctionTool into ToolSet and FunctionTool into AsyncToolSet.   Introduce BaseToolset. (#38244)

* adding ai agents instrumentor (#38200)

* adding ai agents instrumentor

* streaming tracing sample and fixes to streaming tracing

* moved tracing to agents tracing folder

* adding support for tracing list_messages and async tracing sample

* removing some commented out code

* adding separate console and azure monitor tracing samples

* removing unused code

* removing more unused code

* renamed tracing to telemetry. removed throwing from instrument and uninstrument

* Update sdk/ai/azure-ai-projects/azure/ai/projects/telemetry/agents/_utils.py

Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>

* Update sdk/ai/azure-ai-projects/azure/ai/projects/telemetry/agents/_ai_agents_instrumentor.py

Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>

* Update sdk/ai/azure-ai-projects/azure/ai/projects/telemetry/agents/_ai_agents_instrumentor.py

Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>

* fix for streaming with eventhandler and toolset

* adding previous fix for async version also

* adding missing function

---------

Co-authored-by: Marko Hietala <markhiet@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>

* Jhakulin/user functions updates (#38248)

* update to get file content

* agents async updates

* update

* fix await/pylance issue

* fix pylance error on AsyncToolSet

* return empty set if no tool resources for code interpreter

* added async toolset sample

* updates to user functions

* update

* fix the array type for parameters

* Connections & Inference test updates to support new unified models

* Improve tracing samples and add docs on telemetry.enable (#38257)

* Improve tracig samples and add docs on telemetry.enable

* fix typo

* Jhakulin/user functions optional (#38261)

* update to get file content

* agents async updates

* update

* fix await/pylance issue

* fix pylance error on AsyncToolSet

* return empty set if no tool resources for code interpreter

* added async toolset sample

* updates to user functions

* update

* fix the array type for parameters

* support for Optional

* update

* one more example with list of dicts

* adding content recording control to agents instrumentor api (#38268)

Co-authored-by: Marko Hietala <markhiet@microsoft.com>

* Howie/save file test (#38306)

* Added test for save_file

* resolved comment

* Mypy fixes for instrumentor (#38302)

* Fixes

* Regenerate code

* Merge again

* Linter fixes

* Regenerate the code

* Fix mypy

* More mypy fixes

* Fix

* Fix handling of SAS token and fix mypy (#38312)

* Fix handling of SAS token and fix mypy

* typo

* Fix also pylance issue

* Glharper/ai client new tools (#38202)

* [AI Client] Add new search tools

* add hooks to update connection lists for bing search

* use updated typespec

* use ConnectionType and ConnectionsOperations

* endpointOperations -> ConnectionsOperations

* add AzureAISearch tool def

* adapt project with new tool changes

* Add new tool defs for bing and azure ai search to projects.models

* use service schema for BingGroundingTool

* add samples for new tools

* add sharepoint tool

* update prompt to use bing browsing

* add sharepoint_grounding discriminator

* code gen from merged typespec

* update to latest typespec

* review feedback

* add preview header to bing grounding and azure AI serach samples

* Use 'Union' insted of '|' to make it run on Pyton 3.8 and up (#38344)

* Fix mypy issues and re generate the code. (#38340)

* Add more mypy fixes

* Fix imports

* Fix

* Add safe conversion method

* Fix mypy

* Merge to main

* Fix mypy

* Fix unit test

* Sphinx fix

* Fix cspell

* Use DefaultAzureCredential from azure.identity.aio for async samples (#38362)

* Rename AAD to ENTRA_ID (#38363)

* added agents example section in readme and added tags to samples (#38351)

* added agents example section in readme and added tags to samples

* Resolved comments

* Added more detail to readme

* Fix mypy and do not scan examples (#38375)

* Changes in a package

* Fix

* Fix mypy

* fix mypy

* Fix

* Connections APIs throw instead of returning None if a connection name/type is not found (#38383)

* Make some APIs throw instead of returning None. Re-try to get connection string

* Update README.md. Work in progress

* Fixes

* Add code interpreter file attachment sample and link to readme.   Add alot more detail to readme also. (#38384)

* Fix broken async .telemetry.enable() method, when you don't pass in "destination" (#38399)

* Fix README. Fix Optional[str]

* Fix async telemetry

* Sample for thread with resource and document it in readme (#38393)

* Users/singankit/evaluation test (#38402)

* Test file

* Adding fixture

* Adding evaluation e2e test

* Update azure_ai_projects_tests.env

* Update how the inference URL is constructed (#38409)

* First

* Revert back this change

* Fix some cspell errors, and link errors (#38420)

* cspell lint --config .vscode/cspell.json --no-summary "sdk/ai/azure-ai-projects/**/*"

* Resolved comments from Krista (#38405)

* Address comments

* Run black

* Add support of Azure asset IDs for the vector store. (#38066)

* Generate code

* Generate new code

* Expose file API and add the async test.

* Remove unnecessary change

* Add async samples

* Do not create ML Client in tests

* Better file retrieval

* Regenerate code

* Re generate the code

* Re generate code

* Fix samle name and make iterface more clear

* Add samples for attachment enterprise search

* Add unit tests for message attachment

* Finzlize sync tests.

* Add unit tests and use constants as a URI types

* Regenerate code

* Fix

* Generate new code

* Draft commit

* Add another unit test

* Fix and add test data

* Regenerate files

* Add more unit tests

* Re generate code

* Regenerate files

* Rename classes and regenerate the code

* Fixes

* Fix parameter name

* Fix file names

* Script to check sample names inside file comments.

* Fix PR comment by Krista on async credential in ConnectionProperties class (#38424)

* Black

* User/singankit/evaluation spellcheck (#38427)

* Spell check errors evaluation

* Removing test environment from evaluation schedule test

* Fix doc string errors

* Fix typing in samples (#38354)

* Fix samples

* Re enable type checks and remove extra code

* Remove non needed code

* Remove non needed changes

* Remove non needed changes

* Fixes

* Return non optional client

* Remove extra line

* Fix file names

* Fixes

* Fix async file

* Fix mypy issues and suppress the ones related to typespec

* Fix cSpell

* Re generate code and fix unit tests

* Delete sdk/ai/azure-ai-projects/samples/config.json

* Fix typo

* Fix unit test

* Run "black" (again)

* Fix a few pyright errors, and address a comment in the Python PR (#38435)

* Address some of Krista's PR comments (#38444)

* sdk changes for name change for provisioning state and isEnabled online evaluation (#38298)

* sdk changes for name change for provisioning state and isEnabled online evaluation

* add correct tsp-location.yaml

* azure-ai-projects: configure otel logging in telemetry.enable() helper (#38434)

* Configure otel events in projects.telemetry.enable()

* [ai] fix(pylint): Resolve `W1309`, `W0107`, `W0707`, `R1705`, `W0401`, `R1714`, `W0611`, `W0404`, `W0201`, `W1201` and `W1203` (#38447)

* style: Run isort

* fix(pylint): Resolve W1309(f-string-without-interpolation)

         From sdk/ai/azure-ai-projects, run:

             ruff check --select=F541 azure --fix

* fix(pylint): Resolve W0107(unnecessary-pass)

    From sdk/ai/azure-ai-projects, run

        ruff check --select=PIE790 --fix azure

* fix(pylint): Resolve W0707(raise-missing-from)

* fix(pylint): Resolve R1705(no-else-return)

    From azure/ai/azure-ai-projects, run

        ruff check --select=RET505 --fix azure

* fix(pylint): Resolve W0401(wildcard-import)

* fix(pylint): Resolve R1714(consider-using-in)

* fix(pylint): Resolve W0611(unused-import)

* fix(pylint): Resolve W0404(reimported)

* fix(pylint): Resolve W0201(attribute-defined-outside-init)

* fix(pylint): Resolve W1201(logging-not-lazy) and W1203(logging-fstring-interpolation)

* Add readme for get_message, save_file, get_file_content, tracing, Bing grounding, enterprise (#38426)

* git Add readme for get_message, save_file, get_file_content, tracing

* Readme for enterprise search, code interpreter, attachment

* More documentation for tools

* Fixed create_thread documentation

* resolved comments

* Resolved comments

* Resolved comments from Krista

* More fixes to mypy (#38446)

* Fix unit tests and some type issues.

* Fixes

* Fix mypy

* agents telemetry pyright fixes (#38457)

Co-authored-by: Marko Hietala <markhiet@microsoft.com>

* Fix pyright for agents. (#38464)

* Fix as if python version is 3.8

* Fixed

* Add custom config

* Move line, ignoring import

* fix pip install instruction (#38480)

* [ai] fix(pylint): Resolve `C0301`, `C4739`, `C4740`, `C4741`, `C4742`, `C4743` for `azure-ai-projects` (#38459)

* fix(pylint): Resolve C0301(line-too-long)

* fix(pylint): Resolve C4743(docstring-should-be-keyword)

* fix(pylint): Resolve C4739(docstring-missing-param)

* fix(pylint): Resolve C4740(docstring-missing-type)

* fix(pylint): Resolve C4741(docstring-missing-return)

* fix(pylint): Resolve C4742(docstring-missing-rtype)

* style: Run black

* Enable test recordings for tests\inference, tests\telemetry and tests\connection (#38475)

* Update cspell.json

* Removed enterprise and add installation for tracing (#38483)

* Removed enterprise and add installation for tracing

* clean up

* resolved comments

* Fix mypy errors (#38487)

* Run black --config ../../../eng/black-pyproject.toml

* agents tracing pylint fixes (#38496)

Co-authored-by: Marko Hietala <markhiet@microsoft.com>

* Remove premature adding of asserts.json file

* [ai] fix(pylint): Resolving remaining pylint errors (#38500)

* fix(pylint): Resolve R1705(no-else-return)

* fix(pylint): Resolve C0207(use-maxsplit-arg)

* fix(pylint): Resolve C0412(ungrouped-imports)

* fix(pylint): Resolve W1401(anomalous-backslash-in-string)

* fix(pylint): Resolve W0105(pointless-string-statement)

* fix(pylint): Ignore W0221(arguments-differ)

         pylint has an open issue tracking false positives for
         arguments-differ with overloads in subclasses

* fix(pylint): Ignore W0718(broad-exception-caught)

* fix(pylint): Ignore E0401(import-error) and E0611(no-name-in-module)

* fix(pylint): Ignore C4748(client-accepts-api-verison-keyword)

    Currently, neither client classes supports overriding the api version

* fix(pylint): Ignore W0212(protected-access)

* fix(pylint): resolve W0707(raise-missing-from)

* fix(pylint): Ignore E1102(not-callable)

    pylint appears to fail to correctly infer that
    settings.tracing_implementation actually is callable

* fix(pylint): Ignore W0231(super-init-not-called)

* fix(pylint): Ignore W0613(unused-argument)

* fix(pylint): Ignore W0236(invalid-overriden-method)

* fix(pylint): Ignore R0914(too-many-locals)

* fix(pylint): Ignore R0902(too-many-instance-attributes)

* fix(pylint): Ignore R0915(too-many-statements)

* fix(pylint): Ignore R0911(too-many-return-statements)

* Disable all agents tests. Push recordings for all other tests to the assents folder (#38481)

* run "black --config ../../../eng/black-pyproject.toml ."

* Fix pylint and new mypy issues (#38503)

* Ignore most of pylint errors

* Add generated paths to pylint.rc

* Use backslash for consistency in pylintrc files

---------

Co-authored-by: Darren Cohen <39422044+dargilco@users.noreply.github.com>

* Remove async from .telemetry.enable (#38514)

* Fix pylint

* Rename `with_credentials` to `include_credentials` per apiview.dev review comment (#38517)

* Try to fix test issues on Python 3.13. Run black

* Try again to fix Python 3.13 test failure

* Attempt to fix azure-ai-projects not showing up in the release pipeline

* Fix release date in CHANGELOG.md

* Fix CHANGELOG.md

---------

Co-authored-by: Ankit Singhal <30610298+singankit@users.noreply.github.com>
Co-authored-by: Jarno Hakulinen <jhakulin@microsoft.com>
Co-authored-by: howieleung <howieleung@microsoft.com>
Co-authored-by: Glenn Harper <64209257+glharper@users.noreply.github.com>
Co-authored-by: Sai Kothinti <saikothinti@microsoft.com>
Co-authored-by: nick863 <30440255+nick863@users.noreply.github.com>
Co-authored-by: M-Hietala <78813398+M-Hietala@users.noreply.github.com>
Co-authored-by: Marko Hietala <markhiet@microsoft.com>
Co-authored-by: Liudmila Molkova <limolkova@microsoft.com>
Co-authored-by: kdestin <101366538+kdestin@users.noreply.github.com>
2024-11-14 09:54:43 -06:00
Amit Chauhan 9fd409587c
Fix sample (#38538)
Sample fix.
2024-11-14 11:43:13 +00:00
Azure SDK Bot 29d71c1e3b
Increment package version after release of azure-cosmos (#38501) 2024-11-13 18:40:13 -05:00
Neehar Duvvuri 7f823979a1
Increment Version for Evaluation SDK (#38528) 2024-11-13 22:57:28 +00:00
Scott Beddall 0245b6360f
Ensure that mac runs on py311+ (#38491)
* ensure that mac runs on py311+ by shifting it to a deliberate include for py311
* rework to instead use MatrixFilters in ml/ci.yml and storage/ci.yml instead of fully new matrices
2024-11-13 14:26:51 -08:00
Billy Hu 890281107f
Evaluation: Update TSG to tell customers how to find the right info for role assignment (#38525)
* Tell customers how to find the right info for role assignment

* update the command
2024-11-13 22:23:05 +00:00
Peter Wu a95d05a7fb
[Storage] Increment Versions after STG 96 GA Release (#38526) 2024-11-13 22:22:11 +00:00
Ankit Singhal c6d72f81f2
Update _fluency.py (#38519) 2024-11-13 20:41:51 +00:00
Azure SDK Bot 0843fae104
Fix missing stress matrix display name filter (#38482)
Co-authored-by: Ben Broderick Phillips <bebroder@microsoft.com>
2024-11-13 12:04:39 -08:00
Azure SDK Bot 17ae82d077
Add SparseCheckoutPaths to archetype-typespec-emitter.yml (#38509)
Co-authored-by: Wei Hu <huwe@microsoft.com>
2024-11-13 10:56:46 -08:00
Xiang Yan 9f436690b4
Enforce bandit in CI (#37689)
* enable bandit

* update

* test

* trigger tests

* update

* update

* update

* these integration tests need to be updated not to need these fixes, but I'll do that in a separate PR

---------

Co-authored-by: Scott Beddall <scbedd@microsoft.com>
2024-11-13 09:40:31 -08:00
Fred Li e95bc994c9
Fix error NoneType object is not subscriptable (#38493) 2024-11-13 10:32:10 +05:30