azure-sdk-for-python icon indicating copy to clipboard operation
azure-sdk-for-python copied to clipboard

Bug fixes forward-porting

Open shpengmsft opened this issue 1 year ago • 0 comments

Description

Please add an informative description that covers that changes made by the pull request and link all relevant issues. Forward porting bug fixes:

Bug 2860952: AzureOpenAI.embedding.create needs to be parameterized with the deployment name Task 2879284: DeprecationWarning: pkg_resources is deprecated as an API. Bug 2872419: Failed to embed document with openai v1.0+ - Error code: 404 - {'error': {'code': '404', 'message': 'Resource not found'}} (embed.py:202)

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:

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

General Guidelines and Best Practices

  • [x] Title of the pull request is clear and informative.
  • [x] 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

  • [x] Pull request includes test coverage for the included changes.

shpengmsft avatar Jan 09 '24 20:01 shpengmsft