Ai21

Latest version: v2.6.0

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

Scan your dependencies

Page 4 of 10

2.1.0

Chore

* chore(release): v2.1.0 [skip ci] ([`5e9a768`](https://github.com/AI21Labs/ai21-python/commit/5e9a7681e4ab1ffcdcff1c07e0cb94452eb2632c))

Feature

* feat: support NOT_GIVEN type (69)

* feat: support NOT_GIVEN type

* fix: test when penalty is not passed

* fix: fix import, make more variants of penalty

* refactor: completion test refactor

* fix: rename endpoints

* fix: uncomment skip

---------

Co-authored-by: Asaf Gardin <asafgai21.com> ([`c7fd28a`](https://github.com/AI21Labs/ai21-python/commit/c7fd28a124c4971a9d9b85ad0d5fc5bd187535b0))

Fix

* fix: Pass default model_id in bedrock client (72)

* fix: Pass default model_id in bedrock client

* fix: Added validation for model_id

* fix: Added validation for model_id ([`e849d78`](https://github.com/AI21Labs/ai21-python/commit/e849d78dfa9990492dcd7836d2f5df3f1ade3451))

* fix: Pass model id in Bedrock client init (71)

* feat: Moved model_id in bedrock to init

* test: Added tests to check model id

* fix: bedrock example

* refactor: rename test params ([`409e818`](https://github.com/AI21Labs/ai21-python/commit/409e818b751c261b93befedad968d6533860296c))

2.0.5

Chore

* chore(release): v2.0.5 [skip ci] ([`8965828`](https://github.com/AI21Labs/ai21-python/commit/896582839dd298121210187572adc178351f8d58))

Fix

* fix: penalties in Sagemaker and Bedrock (67)

* fix: penalties in sagemaker

* fix: don&39;t pass None penalties to Bedrock

* fix: remove some default arge, and some unused args from bedrock model

* test: Added bedrock integration tests for penalties check

* ci: Integration tests on push

* fix: answer test

---------

Co-authored-by: etang <etangai21.com> ([`d7c912f`](https://github.com/AI21Labs/ai21-python/commit/d7c912f0ef86d8ca18a7225cdf8da6b79de8b415))

2.0.4

Chore

* chore(release): v2.0.4 [skip ci] ([`8b0f217`](https://github.com/AI21Labs/ai21-python/commit/8b0f217dd14aa820b5e404ed564e099d214d882f))

Documentation

* docs: fix error handling example (63) ([`fcd2746`](https://github.com/AI21Labs/ai21-python/commit/fcd2746ffd5839932628a10c0292fc766fef8963))

Fix

* fix: Removed answer_length and mode from answer (65)

* fix: Removed answer_length and mode from answer

* test: Fixed test ([`3814e57`](https://github.com/AI21Labs/ai21-python/commit/3814e57c7a90a026cfb4ee4f97b7edb0de937f16))

* fix: Add model types to docs (62)

* fix: Added model names in readme

* fix: Added header ([`ca5c3ca`](https://github.com/AI21Labs/ai21-python/commit/ca5c3ca4127fa3393c1d29f069120b3896da8beb))

2.0.3

Chore

* chore(release): v2.0.3 [skip ci] ([`d0ccc5d`](https://github.com/AI21Labs/ai21-python/commit/d0ccc5d9f3a14a61fca788496afc65e02d9dca4f))

Documentation

* docs: add code snippet notebook (58)

* add code snippet notebook

* docs: add code snippet notebook

---------

Co-authored-by: Joshua Broyde <joshuabroydeJoshua-Broyde-PMGQ73FQ16.local>
Co-authored-by: asafgardin <147075902+asafgardinusers.noreply.github.com> ([`139d05f`](https://github.com/AI21Labs/ai21-python/commit/139d05f919d7c89da031dd50bf7bc1f080dc2d31))

Fix

* fix: skip passing API key to ARN endpoint (60) ([`8fd72f0`](https://github.com/AI21Labs/ai21-python/commit/8fd72f0ebe23bc23244e8453744b46bd093bccb3))

2.0.2

Chore

* chore(release): v2.0.2 [skip ci] ([`2db1816`](https://github.com/AI21Labs/ai21-python/commit/2db1816a152a20d18cbd397183512f479d4fec90))

* chore(deps): bump python-semantic-release/python-semantic-release (49)

Bumps [python-semantic-release/python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) from 8.3.0 to 8.7.2.
- [Release notes](https://github.com/python-semantic-release/python-semantic-release/releases)
- [Changelog](https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-semantic-release/python-semantic-release/compare/v8.3.0...v8.7.2)

---
updated-dependencies:
- dependency-name: python-semantic-release/python-semantic-release
dependency-type: direct:production
update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: asafgardin <147075902+asafgardinusers.noreply.github.com> ([`aac9932`](https://github.com/AI21Labs/ai21-python/commit/aac993213edfe2ee889d5d12e899fe32e0ba702a))

Fix

* fix: Changed log level (56) ([`8db493c`](https://github.com/AI21Labs/ai21-python/commit/8db493c9ccd98e2421ff65a583e5e43773dc4bb1))

2.0.1

Chore

* chore(release): v2.0.1 [skip ci] ([`2af2f2b`](https://github.com/AI21Labs/ai21-python/commit/2af2f2b3153a486a8df33b4266f54cf28f0da049))

Documentation

* docs: updated migration (54)

* docs: updated migration

* fix: example ([`bca0424`](https://github.com/AI21Labs/ai21-python/commit/bca0424f44ffb2c5e5a3b9f292eb08649a844f53))

Fix

* fix: Added badges (55) ([`96d716d`](https://github.com/AI21Labs/ai21-python/commit/96d716de7a49868c20461bc2dc34c142da36070b))

Page 4 of 10

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.