Commit graph

59 commits

Author SHA1 Message Date
Junhui Huang
e3c878b90e
refactor: support biflowable & audio refactor (#9)
* refactor: update knowledge service and response structure

* feat: Enhance audio service with bi-streaming support and response models

- Introduced BiFlowableClientResponse interface to handle responses with separate body and stream item types.
- Updated ZaiClient to support bi-stream requests, allowing for more flexible streaming API interactions.
- Refactored AudioApi to rename methods for consistency and clarity, including audio transcription methods.
- Created new response classes: AudioCustomizationResponse, AudioSpeechResponse, and AudioTranscriptionResponse to encapsulate response data.
- Implemented AudioTranscriptionChunk and AudioTranscriptionResult classes for structured transcription results.
- Removed obsolete classes: AudioCustomizationApiResponse and AudioSpeechApiResponse.
- Updated AudioService and AudioServiceImpl to utilize new response models and handle streaming transcriptions.
- Enhanced unit tests for AudioService to reflect changes in method signatures and response types.

---------

Co-authored-by: tomsun28 <tomsun28@outlook.com>
2025-07-15 18:40:42 +08:00
Junhui Huang
a4de5d46e3
refactor: update knowledge service and response structure (#8) 2025-07-15 11:30:21 +08:00
Junhui Huang
e787beb02b
fix: update test cases (#6)
* fix: update test cases

* feat: add new model constants and update AudioServiceTest to use them

* feat: update model list in README and README_CN with new AI capabilities

---------

Co-authored-by: tomsun28 <tomsun28@outlook.com>
2025-07-14 17:07:53 +08:00
tomsun28
65f2573772
chore: add code comment, remove unused (#5)
* refactor: remove unused code

* refactor: update

* refactor: update
2025-07-14 15:13:30 +08:00
tomsun28
71ae71b778
refactor: use jackson subtype instead of custom deserializer (#4)
* refactor: use jackson subtype instead of custom deserializer

* refactor: use jackson subtype instead of custom deserializer
2025-07-14 11:48:03 +08:00
tomsun28
4745bbdead
refactor: update code and unit test cases (#3)
* refact: update unit test case

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

---------

Co-authored-by: Junhui Huang <hjh604@outlook.com>
2025-07-14 10:10:07 +08:00
tomsun28
285baa7082
fix: connect the environment in release action (#2)
* bugfix: fix the release action

* bugfix: fix the release action

* bugfix: fix the release action

* bugfix: fix the release action

* bugfix: fix the release action
2025-07-14 10:07:57 +08:00
tomsun28
0b09e46478
init: initial the repo (#1)
* init project

* init project

* init project

* init project

* init project

* init project

* update action

* update action

* update action

* update action

* java format

* java format

* update code and format

* update code and format

* update code and format

* update code and format

* update code and format

* update code and format

* update version

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish

* fix publish
2025-07-12 14:30:39 +08:00
tomsun28
94af104305
Initial commit 2025-07-01 19:23:58 +08:00