-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #29 from Aleph-Alpha/release-please--branches--mai…
…n--components--aleph-alpha-client chore(main): release aleph-alpha-client 0.13.0
- Loading branch information
Showing
3 changed files
with
129 additions
and
120 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
{ | ||
".": "0.12.3" | ||
".": "0.13.0" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,118 +1,127 @@ | ||
# Changelog | ||
|
||
## Unreleased | ||
|
||
## 0.12.3 | ||
|
||
* Make `ChatOutput` public | ||
|
||
## 0.12.2 | ||
|
||
* Fix missing import in doc string | ||
|
||
## 0.12.1 | ||
|
||
* Add `Client::chat` method to send chat messages to a model | ||
|
||
## 0.12.0 | ||
|
||
* Add `Client::tokenizer_by_model` to fetch the Tokenizer for a given model name | ||
|
||
## 0.11.0 | ||
|
||
* Add `with_maximum_tokens` method to `Prompt` | ||
* Remove maximum tokens argument from `Prompt::from_text` | ||
* Make maximum tokens optional | ||
|
||
## 0.10.1 | ||
|
||
* Fix: Version number in Cargo.toml | ||
|
||
## 0.10.0 | ||
|
||
* Add the option to have authentication exclusively on a per request basis, without the need to specify a dummy token. | ||
* Rename `Client::new` to `Client::with_authentication`. | ||
|
||
## 0.9.0 | ||
|
||
* Add `How::api_token` to allow specifying API tokens for individual requests. | ||
|
||
## 0.8.0 | ||
|
||
* Add `Error::Unavailable` to decouple service unavailability from 'queue full' 503 responses. | ||
|
||
## 0.7.1 | ||
|
||
* Add `Client::tokenize` and `Client::detokenize`. Thanks to @andreaskoepf | ||
|
||
## 0.7.0 | ||
|
||
* Add `client_timeout` to `How` | ||
* Remove builder-methods from `How` as it introduced an unnecessary level of indirection | ||
|
||
## 0.6.1 | ||
|
||
* Add `explanation` to `Client` for submitting explanation requests to the API | ||
* Add `be_nice`-builder-method to `How` to make maintaining backwards compatibility easier | ||
|
||
## 0.6.0 | ||
|
||
* Add `start_with_one_of` option to `Sampling`, to force the model to start a completion with one of several options. | ||
|
||
## 0.5.7 | ||
|
||
* Add new `Prompt` method `join_consecutive_text_items` to make it easier to construct few shot prompts and other such use cases programmatically, without introducing strange tokenization side effects. | ||
|
||
## 0.5.6 | ||
|
||
* Allow for executing `TaskSemanticEmbedding` without specifying models. | ||
|
||
## 0.5.5 | ||
|
||
* Support for processing images already in memory via `Modality::from_image`. | ||
|
||
## 0.5.4 | ||
|
||
* `Modality::from_image_path` now works with string literals. | ||
|
||
## 0.5.3 | ||
|
||
* Fix version number | ||
|
||
## 0.5.2 | ||
|
||
* Preprocess image on client side | ||
|
||
## 0.5.1 | ||
|
||
* Minimal support for sending multimodal prompts | ||
|
||
## 0.5.0 | ||
|
||
* Removed deprecated function `Client::complete`. It has been replaced with `Client::execute`. | ||
* Introduced `how` parameter to `Client::execute` in order to control whether the request has the nice flag set, or not. | ||
|
||
## 0.4.1 | ||
|
||
* Allow for `Prompt::from_text` to be called with `String` or any other type which implement `Into<Cow<'_, str>>`. This enables prompts to take ownership of their values which is practical for use cases there you want to return prompts from functions, which are based on locally generated strings. | ||
|
||
## 0.4.0 | ||
|
||
* Support for stop sequences | ||
|
||
## 0.3.0 | ||
|
||
* Add `TaskSemanticEmbedding`. | ||
* `Completion` renamed to `CompletionOutput` | ||
|
||
## 0.2.0 | ||
|
||
* Add `Error::Busy` to conveniently handle busy models. | ||
|
||
## 0.1.1 | ||
|
||
* Fix: `Client::new` did not work due to a missing `https://` in the base URL. | ||
|
||
## 0.1.0 | ||
|
||
* Initial release allows for sending receiving simple (not all parameters of the HTTP API are supported) completion requests. | ||
# Changelog | ||
|
||
## [0.13.0](https://github.com/Aleph-Alpha/aleph-alpha-client-rs/compare/aleph-alpha-client-v0.12.3...aleph-alpha-client-v0.13.0) (2024-10-24) | ||
|
||
### ⚠ BREAKING CHANGES | ||
|
||
* do not hide role behind enum | ||
|
||
### Features | ||
|
||
* add with_messages method to construct TaskChat ([8fc5c10](https://github.com/Aleph-Alpha/aleph-alpha-client-rs/commit/8fc5c10e4b24c351c70c16d0d7405e2a5cc0f4f8)) | ||
* do not hide role behind enum ([6ef29c5](https://github.com/Aleph-Alpha/aleph-alpha-client-rs/commit/6ef29c5d74824b801850021d3c3be550f0502057)) | ||
|
||
## 0.12.3 | ||
|
||
* Make `ChatOutput` public | ||
|
||
## 0.12.2 | ||
|
||
* Fix missing import in doc string | ||
|
||
## 0.12.1 | ||
|
||
* Add `Client::chat` method to send chat messages to a model | ||
|
||
## 0.12.0 | ||
|
||
* Add `Client::tokenizer_by_model` to fetch the Tokenizer for a given model name | ||
|
||
## 0.11.0 | ||
|
||
* Add `with_maximum_tokens` method to `Prompt` | ||
* Remove maximum tokens argument from `Prompt::from_text` | ||
* Make maximum tokens optional | ||
|
||
## 0.10.1 | ||
|
||
* Fix: Version number in Cargo.toml | ||
|
||
## 0.10.0 | ||
|
||
* Add the option to have authentication exclusively on a per request basis, without the need to specify a dummy token. | ||
* Rename `Client::new` to `Client::with_authentication`. | ||
|
||
## 0.9.0 | ||
|
||
* Add `How::api_token` to allow specifying API tokens for individual requests. | ||
|
||
## 0.8.0 | ||
|
||
* Add `Error::Unavailable` to decouple service unavailability from 'queue full' 503 responses. | ||
|
||
## 0.7.1 | ||
|
||
* Add `Client::tokenize` and `Client::detokenize`. Thanks to @andreaskoepf | ||
|
||
## 0.7.0 | ||
|
||
* Add `client_timeout` to `How` | ||
* Remove builder-methods from `How` as it introduced an unnecessary level of indirection | ||
|
||
## 0.6.1 | ||
|
||
* Add `explanation` to `Client` for submitting explanation requests to the API | ||
* Add `be_nice`-builder-method to `How` to make maintaining backwards compatibility easier | ||
|
||
## 0.6.0 | ||
|
||
* Add `start_with_one_of` option to `Sampling`, to force the model to start a completion with one of several options. | ||
|
||
## 0.5.7 | ||
|
||
* Add new `Prompt` method `join_consecutive_text_items` to make it easier to construct few shot prompts and other such use cases programmatically, without introducing strange tokenization side effects. | ||
|
||
## 0.5.6 | ||
|
||
* Allow for executing `TaskSemanticEmbedding` without specifying models. | ||
|
||
## 0.5.5 | ||
|
||
* Support for processing images already in memory via `Modality::from_image`. | ||
|
||
## 0.5.4 | ||
|
||
* `Modality::from_image_path` now works with string literals. | ||
|
||
## 0.5.3 | ||
|
||
* Fix version number | ||
|
||
## 0.5.2 | ||
|
||
* Preprocess image on client side | ||
|
||
## 0.5.1 | ||
|
||
* Minimal support for sending multimodal prompts | ||
|
||
## 0.5.0 | ||
|
||
* Removed deprecated function `Client::complete`. It has been replaced with `Client::execute`. | ||
* Introduced `how` parameter to `Client::execute` in order to control whether the request has the nice flag set, or not. | ||
|
||
## 0.4.1 | ||
|
||
* Allow for `Prompt::from_text` to be called with `String` or any other type which implement `Into<Cow<'_, str>>`. This enables prompts to take ownership of their values which is practical for use cases there you want to return prompts from functions, which are based on locally generated strings. | ||
|
||
## 0.4.0 | ||
|
||
* Support for stop sequences | ||
|
||
## 0.3.0 | ||
|
||
* Add `TaskSemanticEmbedding`. | ||
* `Completion` renamed to `CompletionOutput` | ||
|
||
## 0.2.0 | ||
|
||
* Add `Error::Busy` to conveniently handle busy models. | ||
|
||
## 0.1.1 | ||
|
||
* Fix: `Client::new` did not work due to a missing `https://` in the base URL. | ||
|
||
## 0.1.0 | ||
|
||
* Initial release allows for sending receiving simple (not all parameters of the HTTP API are supported) completion requests. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters