Commit Graph

9 Commits

Author SHA1 Message Date
GargantuaX
be253c2d63 change azure engine config to modelMapper (#306)
* change azure engine config to azure modelMapper config

* Update go.mod

* Revert "Update go.mod"

This reverts commit 78d14c58f2a9ce668da43f6adbe20b60afcfe0d7.

* lint fix

* add test

* lint fix

* lint fix

* lint fix

* opt

* opt

* opt

* opt
2023-05-11 01:30:24 +04:00
Semenchenko Kirill
39abb5a4be add missing error processing for audio (#301)
Co-authored-by: Kirill Semenchenko <smoreg@mc2soft.ru>
2023-05-04 22:30:14 +04:00
Hoani Bryson
ecdea45b67 Adds support for audio captioning with Whisper (#267)
* Add speech to text example in docs

* Add caption formats for audio transcription

* Add caption example to README

* Address sanity check errors

* Add tests for decodeResponse

* Use typechecker for audio response format

* Decoding response refactors
2023-04-20 14:07:04 +01:00
sashabaranov
226ff328e2 Add form builder (#235)
* add form builder

* cover VariImage

* test for closing errors

* simplify tests

* add audio api test coverage

* don't leak authToken when printed

* rename api->client

* fix test
2023-04-08 19:26:26 +04:00
Élison Gomes
dbb7829a9f fix: added defer to close audio file (#195)
Co-authored-by: Élison Gomes <elisongomes@users.noreply.github.com>
2023-03-23 23:17:35 +04:00
itegel
aa149c1bf8 add optional params for audio api, e.g. prompt (#183)
* Compatible with the situation where the mask is empty in CreateEditImage.

* Fix the test for the unnecessary removal of the mask.png file.

* add image variation implementation

* fix image variation bugs

* fix ci-lint problem with max line character limit

* add offitial doc link

* just for codeball test

* fix lint problem

* add optional params for audio api, e.g. prompt

* add comment for new args in translation
2023-03-20 14:02:19 +04:00
Afeyer
71f9f15e9e Correction of incorrect function names in comments (#125) 2023-03-06 10:51:20 +04:00
Alexander Baranov
9eea94730a rename internally 2023-03-04 15:29:42 +04:00
Hoani Bryson
0d3e887246 Add whisper 1 support (#117)
* Add whisper 1 support

* Resolve linting issues for audio source files
2023-03-04 14:54:48 +04:00