Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure AI Projects Python SDK #38338

Open
wants to merge 133 commits into
base: main
Choose a base branch
from
Open

Azure AI Projects Python SDK #38338

wants to merge 133 commits into from

Conversation

dargilco
Copy link
Member

@dargilco dargilco commented Nov 5, 2024

No description provided.

dargilco and others added 30 commits September 25, 2024 11:28
* generated agents

* merge latest

* update

* add patches

* update

* new version generated

* fixes

* fix merge error

* update

* use assistant_id for now

* update
* add more samples

* adjust sleep

* review updates
* Update sample_evaluations.py

* Update sample_evaluations.py
…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

* get tests running and passing with pytest

* recordings pass and pushed

* review feedback
…t_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
* 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
nick863 and others added 2 commits November 8, 2024 14:55
* 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
.gitignore Show resolved Hide resolved
@howieleung
Copy link
Member

Why I am not sure I can't resolve two comments from Krista, so I type here:

Krista: Not blocking preview, but it would be nice to include a timeout param so a user could stop waiting if they wanted
Howie: https://github.com/orgs/ai-platform-ml-platform/projects/7/views/1?pane=issue&itemId=86793660

Krista: Maybe i'm missing it, but I don't see the update. Was it only done with sync?
I think you refer to your previous comment related forcing to use keyword. I just added here
#38426

kdestin and others added 15 commits November 11, 2024 12:57
…, `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)
…g 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
* Fix unit tests and some type issues.

* Fixes

* Fix mypy
* Fix as if python version is 3.8

* Fixed

* Add custom config

* Move line, ignoring import
…, `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
* Removed enterprise and add installation for tracing

* clean up

* resolved comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.