Aleph-alpha-client

Latest version: v9.1.0

Safety actively analyzes 698002 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 3 of 13

7.0.0

- Added `num_tokens_prompt_total` to `EvaluationResponse`
- HTTP API version 1.16.0 or higher is required.

6.0.0

- Added `num_tokens_prompt_total` to the types below.
This is a breaking change since `num_tokens_prompt_total` is mandatory.
- `EmbeddingResponse`
- `SemanticEmbeddingResponse`
- `BatchSemanticEmbeddingResponse`
- HTTP API version 1.15.0 or higher is required.

5.0.0

- Added `num_tokens_prompt_total` and `num_tokens_generated` to `CompletionResponse`. This is a
breaking change as these were introduced as mandatory parameters rather than optional ones.
- HTTP API version 1.14.0 or higher is required.

4.1.0

- Added `verify_ssl` flag, so you can disable SSL checking for your sessions.

4.0.0

- Turned all NamedTuples into Dataclasses. Even if this is technically a breaking change
probably not much source code is actually affected as constructing instances still behaves
the same.

3.5.1

- Fix failing serialization of Prompt-based Documents in QA requests.
Documents should also be constructible from actual Prompts and not only from sequences

Page 3 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.