Commit Graph
8 Commits
Author SHA1 Message Date
Simone Vellei 1ad6b6f53d Feat Support tools and tools choice new fileds (#526)
* feat: support tools and tools choice new fileds

* fix: use value not pointers
2023-11-07 19:53:24 +04:00
Simone Vellei 3063e676bf Feat Implement assistants API (#535)
* chore: implement assistants API

* fix

* fix

* chore: add tests

* fix tests

* fix linting
2023-11-07 19:20:59 +04:00
Simone Vellei 6d9c3a6365 Feat Support chat completion response format and seed new fields (#525)
* feat: support chat completion response format

* fix linting error

* fix

* fix linting

* Revert "fix linting"

This reverts commit 015c6ad62aad561218b693225f58670b5619dba8.

* Revert "fix"

This reverts commit 7b2ffe28c3e586b629d23479ec1728bf52f0c66f.

* Revert "fix linting error"

This reverts commit 29960423784e296cb6d22c5db8f8ccf00cac59fd.

* chore: add seed new parameter

* fix
2023-11-07 18:25:21 +04:00
Simone Vellei 8e165dc9aa Feat Add headers to openai responses (#506)
* feat: add headers to http response

* chore: add test

* fix: rename to httpHeader
2023-10-09 19:41:54 +04:00
Simone Vellei 533935e4fc fix: use any for n_epochs (#499)
* fix: use custom marshaler for n_epochs

* chore: use any for n_epochs
2023-10-06 13:32:21 +04:00
Simone Vellei 8e4b7963a3 Chore Support base64 embedding format (#485)
* chore: support base64 embedding format

* fix: add sizeOfFloat32

* chore: refactor base64 decoding

* chore: add tests

* fix linting

* fix test

* fix return error

* fix: use smaller slice for tests

* fix [skip ci]

* chore: refactor test to consider CreateEmbeddings response

* trigger build

* chore: remove named returns

* chore: refactor code to simplify the understanding

* chore: tests have been refactored to match the encoding format passed by request

* chore: fix tests

* fix

* fix
2023-09-11 17:44:46 +04:00
Simone Vellei 25da859c18 Chore Deprecate legacy fine tunes API (#484)
* chore: add deprecation message

* chore: use new fine tuning API in README example
2023-08-31 14:14:39 +04:00
Simone Vellei a2ca01bb6d feat: implement new fine tuning job API (#479)
* feat: implement new fine tuning job API

* fix: export ListFineTuningJobEventsParameter

* fix: lint errors

* fix: test errors

* fix: code test coverage

* fix: code test coverage

* fix: use any

* chore: use url.Values
2023-08-29 16:04:27 +04:00