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 12 of 13

2.2.1

Bugfix

- Restore original error handling of HTTP status codes to before 2.2.0
- Add dedicated exception BusyError for status code 503

2.2.0

New feature

- Retry failed HTTP requests via urllib for status codes 408, 429, 500, 502, 503, 504

2.1.0

New feature

- Add new parameters to control how repetition penalties are applied for completion requests (see [docs](https://docs.aleph-alpha.com/api/#/paths/~1complete/post) for more information):
- `penalty_bias`
- `penalty_exceptions`
- `penalty_exceptions_include_stop_sequences`

2.0.0

Breaking change

- Make hosting parameter optional in semantic_embed on client. Changed order of parameters `hosting` and `request`.
Should not be an issue if you're not using semantic_embed from the client directly or if you're using keyword args.

Experimental feature

- Add experimental penalty parameters for completion

1.7.1

- Improved handling of text-based Documents in Q&A

1.7.0

- Introduce `semantic_embed` endpoint on client and model.
- Introduce timeout on client

Page 12 of 13

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.