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

Update sample_evaluations.py #38530

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

Conversation

singankit
Copy link
Contributor

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues.

If an SDK is being regenerated based on a new swagger spec, a link to the pull request containing these swagger spec changes has been included above.

All SDK Contribution checklist:

  • The pull request does not introduce [breaking changes]
  • CHANGELOG is updated for new features, bug fixes or other significant changes.
  • I have read the contribution guidelines.

General Guidelines and Best Practices

  • Title of the pull request is clear and informative.
  • There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

  • Pull request includes test coverage for the included changes.

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
dargilco and others added 17 commits November 12, 2024 11:28
* 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)
* Ignore most of pylint errors

* Add generated paths to pylint.rc

* Use backslash for consistency in pylintrc files

---------

Co-authored-by: Darren Cohen <[email protected]>
@azure-sdk
Copy link
Collaborator

API change check

APIView has identified API level changes in this PR and created following API reviews.

azure-ai-projects

Base automatically changed from feature/azure-ai-projects to main November 14, 2024 15:54
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.