Skip to content

[OpenAI] Migrate azure-json serialization to replace jackson-databind - #39825

Merged
mssfang merged 22 commits into
Azure:mainfrom
mssfang:OpenAI-serialization
Apr 30, 2024
Merged

[OpenAI] Migrate azure-json serialization to replace jackson-databind#39825
mssfang merged 22 commits into
Azure:mainfrom
mssfang:OpenAI-serialization

Conversation

@mssfang

@mssfang mssfang commented Apr 19, 2024

Copy link
Copy Markdown
Contributor

Remove jackson-databind dependency and use azure-json instead.

closes: #39464

mssfang added 14 commits April 10, 2024 18:11
…ray of enumerated string values

  (word and/or segment) that controls which, if any, timestamp information is emitted to transcription results.
  - `AudioTranscriptionTimestampGranularity` enum to represent the timestamp granularity options for Whisper transcription.
  - `AudioTranscriptionWord` class to represent the word timestamp information in the transcription results.
@mssfang mssfang added Client This issue points to a problem in the data-plane of the library. OpenAI labels Apr 19, 2024
@mssfang mssfang self-assigned this Apr 19, 2024
@azure-sdk

Copy link
Copy Markdown
Collaborator

API change check

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

com.azure:azure-ai-openai

@mssfang
mssfang requested review from alzimmermsft and srnagar April 25, 2024 23:20
@mssfang
mssfang marked this pull request as ready for review April 25, 2024 23:20

@jpalvarezl jpalvarezl left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had a quick look and seems good! I am just wondering what happened to the usages of FunctionCallPreset , seems like we no longer need it.

Did you try running the tests in LIVE mode? With all the model spread that could be cumbersome, but I guess will absolutely have to do it when we re-record the tests.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not entirely sure, but it seems that we don't use the class in this file at all. Maybe we should remove it?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch! Yes. It is an internal-use model and a duplication to FunctionCallConfig (the difference is extensible enum v.s. enum). Will remove it

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mssfang

mssfang commented Apr 26, 2024

Copy link
Copy Markdown
Contributor Author

I had a quick look and seems good! I am just wondering what happened to the usages of FunctionCallPreset , seems like we no longer need it.

Did you try running the tests in LIVE mode? With all the model spread that could be cumbersome, but I guess will absolutely have to do it when we re-record the tests.

Just reran the tests in LIVE/RECORD mode. Found the toolcall and fucntioncall tests failed only. Will address them before merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Client This issue points to a problem in the data-plane of the library. OpenAI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[OpenAI] Enable stream-style-serialization Inference

3 participants