Aleph-alpha-client

Latest version: v7.1.0

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

Scan your dependencies

Page 10 of 11

2.2.3

Bugfix

- Remove `message` field from CompletionResult

2.2.2

Bugfix

- Document `hosting` parameter.
- The hosting parameter determines in which datacenters the request may be processed.
- Currently, we only support setting it to "aleph-alpha", which allows us to only process the request in our own datacenters.
- Not setting this value, or setting it to null, allows us to process the request in both our own as well as external datacenters.

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

Page 10 of 11

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.