Skip to content

Conversation

@mssfang
Copy link
Contributor

@mssfang mssfang commented Sep 18, 2023

No description provided.

@mssfang mssfang self-assigned this Sep 18, 2023
@mssfang mssfang marked this pull request as ready for review September 18, 2023 22:47
@mssfang mssfang merged commit 6306060 into Azure:jpalvarezl/whisper_support_looser_types Sep 18, 2023
@mssfang mssfang deleted the OpenAI-byteArraySuppressionforSpotbug branch September 18, 2023 22:47
jpalvarezl added a commit that referenced this pull request Sep 19, 2023
* Early code generation from topic branch for whisper

* Added simplest test

* Regened with correct paths

* Fixed name of method in the test

* Added test file for translations

* [OpenAI] BYO Multipart form request support (#36621)

* Still error, but almost hack for multipart data request

* Replaced whitespace with line breaks as necessary

* Somehow still failing. A bit out of ideas

* Changed the encoding to ASCII

* Using CRLF instead

* Test pass. Renamed variables to be more selfexplanatory

* Code regen and adjustments to new methods

* Using latest commit

* plain text works

* Code gen works

* Code regen with looser types, no hooks for content-type nor length

* Migrated multiform implementation over from the strongly typed branch

* Added headers

* Added classes

* reran code gen

* Compiles with modded tsp defintion, including content-type

* Corrected wrong value passed for content-length

* It works!

* Removed pattern instanceof for older compatibility version

* Refactored the MultipartHelper to be testable

* Added test definition for MultipartDataHelper class

* Added happy path test and model to the list to be serialized

* Added tests for the MultipartDataHelper class

* Refactored audio translation tests to use testRunners

* Added tests for miused formats

* Added more negative tests for wrong formats

* Renamed tests

* Finished Azure OAI sync test suite

* Added support for nonAzure translations

* Added Async translation methods

* Added tests and async functionality for translations

* Async translation tests for non-Azure

* Extracted audioTranscription assertion statements to method

* Added sync transcription functionality and AOAI tests

* Added license to source files

* Added todo markers where docs are missing

* Added async implementation and minimal testing for transcription

* Added tests for nonAzure OAI

* Code regen

* Corrected content type for bodyParam nonAzure

* Added remaing transcription tests for AOAI sync case

* Added tests for async AOAI

* Added transcription tests for nonAzure OAI sync API

* Added tests for nonAzure OAI async API

* Commited whisper session-record changes

* Inlined methods

* Added documentation to sync/async client for translation and transcription methods

* Added documentation to multipart helper classes

* Replaced start imports with single class imports

* Simplified tests and added logger to async client

* Added missing asset

* Added recordings for nonAzure tests

* Style checks

* Style check

* Style check

* Style check done

* Changelog update and static bug analysis issues addressed

* Last 2 replacement of monoError

* [OpenAI] Added sample and updated READMEs (#36806)

* suppression spotbugs for allowing external mutation on the bytep[ (#36826)

* fixed unknown cspell error, 'mpga'

* fixed sample broken links

* regenerated, no changes but only indents alignment

* Hardcoded boundary value for multipart requests

* Updated test records for nonAzure

* Most test passing with latest service version

* Rolled back test records for regressed tests

* Removed unused import

---------

Co-authored-by: Shawn Fang <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant