yandex_gpt_rest_api 1.0.2 copy "yandex_gpt_rest_api: ^1.0.2" to clipboard
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 to GeneratingStatus.

0.5.0 #

  • Replaced the HTTP.Client with Dio.
  • Removed ApiCancelToken.
  • Supported get AsyncTextGeneration Operation status.
  • Converted YandexGptApi into its implementation YandexGptApiClient.
  • Replaced AuthToken.value with AuthToken.toString().
  • Removed generic constructor for Message.
  • Renamed ResultMessage into MessageHolder.
  • Renamed TextGenerationResponse into TextCompletion.

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 with AiModel 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 into DetailedApiError and ShortApiError.

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.
3
likes
140
points
72
downloads

Publisher

unverified uploader

Weekly Downloads

A library for using YandexGPT API, such as generating text and obtain embeddings.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT-0 (license)

Dependencies

dio

More

Packages that depend on yandex_gpt_rest_api