yandex_gpt_rest_api 1.0.2
yandex_gpt_rest_api: ^1.0.2 copied to clipboard
A library for using YandexGPT API, such as generating text and obtain embeddings.
1.0.2 #
- Update docs.
- Update license.
1.0.0 #
- Stable version release.
0.5.2 #
- Docs improvements.
- Renamed
MessageHolderStatustoGeneratingStatus.
0.5.0 #
- Replaced the
HTTP.ClientwithDio. - Removed
ApiCancelToken. - Supported get
AsyncTextGenerationOperation status. - Converted
YandexGptApiinto its implementationYandexGptApiClient. - Replaced
AuthToken.valuewithAuthToken.toString(). - Removed generic constructor for
Message. - Renamed
ResultMessageintoMessageHolder. - Renamed
TextGenerationResponseintoTextCompletion.
0.4.0 #
- Removed HTTP errors handling.
- Removed HTTP errors models.
- Added ability to change
YandexGptApitoken. - Added support of IAM token and API key.
0.3.2 #
- Minor fixes.
0.3.1 #
- Fix GPT models URI.
0.3.0 #
- Added GPT models classes.
- Replaced in requests
modelUriparam withAiModelclasses.
0.2.6 #
- Add role constructors for
Message. - Change README.md docs.
0.2.5 #
- Change README.md
0.2.4 #
- Added tests for
TextGenerationAsync. - Increased test coverage to 100%.
0.2.3 #
- Fixed errors by closing requests with
ApiCancelToken. - Add tests for
ApiCancelToken.
0.2.2 #
- Add tests for
YandexGptApiClient- handling successful response and json conversion.
0.2.1 #
- Add tests for
YandexGptHttpClient- handling errors and successful response.
0.2.0 #
- Divided
ContractApiErrorintoDetailedApiErrorandShortApiError.
0.1.0 #
- Receiving data from the API.
- Asynchronous generation and receipt of normal error statuses does not work. The signature of the methods may change.