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
MessageHolderStatus
toGeneratingStatus
.
0.5.0 #
- Replaced the
HTTP.Client
withDio
. - Removed
ApiCancelToken
. - Supported get
AsyncTextGeneration
Operation status. - Converted
YandexGptApi
into its implementationYandexGptApiClient
. - Replaced
AuthToken.value
withAuthToken.toString()
. - Removed generic constructor for
Message
. - Renamed
ResultMessage
intoMessageHolder
. - Renamed
TextGenerationResponse
intoTextCompletion
.
0.4.0 #
- Removed HTTP errors handling.
- Removed HTTP errors models.
- Added ability to change
YandexGptApi
token. - 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
modelUri
param withAiModel
classes.
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
ContractApiError
intoDetailedApiError
andShortApiError
.
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.