Ai21

Latest version: v3.0.0

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

Scan your dependencies

Page 3 of 13

2.9.1

Chores

* chore(release): v2.9.1 [skip ci] ([`5ed7f07`](https://github.com/AI21Labs/ai21-python/commit/5ed7f07e677ce60eb960991f3c601869d4e2c68c))

* chore(deps-dev): bump zipp from 3.18.1 to 3.19.1 (183)

Bumps [zipp](https://github.com/jaraco/zipp) from 3.18.1 to 3.19.1.
- [Release notes](https://github.com/jaraco/zipp/releases)
- [Changelog](https://github.com/jaraco/zipp/blob/main/NEWS.rst)
- [Commits](https://github.com/jaraco/zipp/compare/v3.18.1...v3.19.1)

---
updated-dependencies:
- dependency-name: zipp
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com> ([`1812ef5`](https://github.com/AI21Labs/ai21-python/commit/1812ef50f3700bc994694c9b45a7c1cf51c45f87))

* chore(deps): bump certifi from 2024.2.2 to 2024.7.4 (176)

Bumps [certifi](https://github.com/certifi/python-certifi) from 2024.2.2 to 2024.7.4.
- [Commits](https://github.com/certifi/python-certifi/compare/2024.02.02...2024.07.04)

---
updated-dependencies:
- dependency-name: certifi
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`f5e1814`](https://github.com/AI21Labs/ai21-python/commit/f5e18140ffd289be8d3e5afa2e0c5352a0beb1cd))

* chore(deps): bump amannn/action-semantic-pull-request (154)

Bumps [amannn/action-semantic-pull-request](https://github.com/amannn/action-semantic-pull-request) from 5.5.2 to 5.5.3.
- [Release notes](https://github.com/amannn/action-semantic-pull-request/releases)
- [Changelog](https://github.com/amannn/action-semantic-pull-request/blob/main/CHANGELOG.md)
- [Commits](https://github.com/amannn/action-semantic-pull-request/compare/v5.5.2...v5.5.3)

---
updated-dependencies:
- dependency-name: amannn/action-semantic-pull-request
dependency-type: direct:production
update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`e57d99a`](https://github.com/AI21Labs/ai21-python/commit/e57d99a04ff4b6aa4a858a2fe87f8cc8c68bcfa0))

Fixes

* fix: remove httpx logger on log level info (184) ([`06d0226`](https://github.com/AI21Labs/ai21-python/commit/06d02261c187a4bda1b5d479855d17b5a1507a1d))

Unknown

* Securely use variables in labeler workflow. (181)

Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`5349992`](https://github.com/AI21Labs/ai21-python/commit/53499926753a1854a2da6c65f8175c33d0a79ae1))

2.9.0

Chores

* chore(release): v2.9.0 [skip ci] ([`f4b4d36`](https://github.com/AI21Labs/ai21-python/commit/f4b4d362b77ab94c970ae623f7f9185b94718181))

* chore(deps): bump actions/github-script from 6 to 7 (169)

Bumps [actions/github-script](https://github.com/actions/github-script) from 6 to 7.
- [Release notes](https://github.com/actions/github-script/releases)
- [Commits](https://github.com/actions/github-script/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/github-script
dependency-type: direct:production
update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`de4b1af`](https://github.com/AI21Labs/ai21-python/commit/de4b1af5654b30fbf01d7258a9174eb091362b1d))

* chore: semantic pr - allow running on external prs (164) ([`032fd5d`](https://github.com/AI21Labs/ai21-python/commit/032fd5d3a384f8dba26568c0b618e7c5f59a0431))

* chore: add status report to integration workflow (161)

* chore: add status report to integration workflow

* chore: add status report to integration workflow lint

* chore: export lint to separate workflow ([`0a3a1e0`](https://github.com/AI21Labs/ai21-python/commit/0a3a1e02a6e44ac6589ff18e19c03c8cf5d94c19))

* chore: integration-tests.yaml update inputs (160) ([`b3f7728`](https://github.com/AI21Labs/ai21-python/commit/b3f772859374303efc130083d0f0aba0b1743398))

* chore: integration-tests.yaml update inputs (159) ([`f61c905`](https://github.com/AI21Labs/ai21-python/commit/f61c9059ecb6cc8c4fafdec7f86205a768976f32))

* chore: integration-tests.yaml update checkout to specific commit (158) ([`1c01663`](https://github.com/AI21Labs/ai21-python/commit/1c016630428085c44a6b1437fa87831a6b684fcb))

* chore: Update testing workflows (156)

* chore: change triggers for workflows tests, integration-tests

* chore: integration-tests.yaml - add trigger for push on main ([`4c170b8`](https://github.com/AI21Labs/ai21-python/commit/4c170b8378e6bfe06a1bc342d612ad1711792fca))

Continuous Integration

* ci: Update size label When PR size changes (171) (172)

* ci: Update size label

* test: File to test label

* fix: Remove file ([`6dd535a`](https://github.com/AI21Labs/ai21-python/commit/6dd535a4da3959ea258a2d316be7c145961b6875))

* ci: remove explicit permissions from semantic-pr.yml (167) ([`3674efc`](https://github.com/AI21Labs/ai21-python/commit/3674efc106959f9b5b9b35c6eacc19db413c80cf))

Features

* feat: Async Support AWS (180)

* feat: Add bedrock async support (146)

* refactor: migrate from boto3 to custom http client

* refactor: create an aws http client, and switch bedrock client to use it

* test: rename test, add async tests

* feat: add async client, remove bedrock_session class

* docs: Azure README (139)

* feat: Add async tokenizer, add detokenize method (144)

* feat: add detokenize method, add async tokenizer

* chore: update pyproject and poetry.lock

* fix: fix tokenizer name in examples and readme, add example

* test: adjust unittest + add unittest for async

* chore: cache -> lru_cache to support python 3.8

* test: fix test_imports test

* chore: add env_config to bedrock client to avoid breaking changes

* refactor: export aws auth logic to new class

* refactor: remove aws_http_client, use http_client instead, add aws auth test

* test: fix tests

* refactor: remove aws_http_client

* chore(deps-dev): bump authlib from 1.3.0 to 1.3.1 (131)

Bumps [authlib](https://github.com/lepture/authlib) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lepture/authlib/releases)
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
- [Commits](https://github.com/lepture/authlib/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: authlib
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com>

* chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (138)

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/81e9d935c883d0b210363ab89cf05f3894778450...ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
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: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com>

* chore: rebase code

* refactor: chat + chat completions - migrate to new client

* refactor: cr comments

* chore: add async to new bedrock components

* refactor: rename aws folder

* chore: fix typo on file name bedrock_chat_completions

* fix: fix errors

* chore: fix typo

* fix: Added deprecation warning

* fix: Added deprecation warning to async

* chore: add log for ignoring stream

---------

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>

* Add sagemaker async support (155)

* refactor: migrate from boto3 to custom http client

* refactor: create an aws http client, and switch bedrock client to use it

* test: rename test, add async tests

* feat: add async client, remove bedrock_session class

* docs: Azure README (139)

* feat: Add async tokenizer, add detokenize method (144)

* feat: add detokenize method, add async tokenizer

* chore: update pyproject and poetry.lock

* fix: fix tokenizer name in examples and readme, add example

* test: adjust unittest + add unittest for async

* chore: cache -> lru_cache to support python 3.8

* test: fix test_imports test

* chore: add env_config to bedrock client to avoid breaking changes

* refactor: sagemaker client, boto->aws http client

* refactor: export aws auth logic to new class

* refactor: remove aws_http_client, use http_client instead, add aws auth test

* test: fix tests

* refactor: remove aws_http_client

* chore(deps-dev): bump authlib from 1.3.0 to 1.3.1 (131)

Bumps [authlib](https://github.com/lepture/authlib) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lepture/authlib/releases)
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
- [Commits](https://github.com/lepture/authlib/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: authlib
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com>

* chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (138)

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/81e9d935c883d0b210363ab89cf05f3894778450...ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
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: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com>

* chore: rebase code

* refactor: chat + chat completions - migrate to new client

* refactor: cr comments

* chore: add async to new bedrock components

* refactor: rename aws folder

* chore: refactor to use http client

* chore: fix typo on file name bedrock_chat_completions

* fix: fix errors

* chore: fix typo

* chore: add async to sm resources

* test: fix imports test

* fix: Added deprecation warning

* fix: Added deprecation warning to async

* chore: add log for ignoring stream

* chore: fix lint

* refactor: export get_aws_region, add async sm to readme, add async examples

* test: add async test files to test_sagemaker.py

* refactor: remove get_aws_region func

---------

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>

* feat: Use the same http client for all Clients (163)

* fix: Merge

* feat: AI21Client to inherit from AI21HTTPClient

* feat: Used RequestOptions class

* fix: api error

* fix: Rename update to replace

* fix: Tests

* test: Added bedrock tests

* fix: Added support for model and model_id for backwards compatibility

* fix: Deprecation warning message

* fix: Added ANY to dict

* fix: Removed redundant code

* fix: base_url

* fix: Added deprecation warning

* fix: Moved 'model' extract

* test: Added a tests to validate model_id and model cant be together

* fix: Test

* fix: Bedrock integration tests

---------

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: miri-bar <160584887+miri-barusers.noreply.github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com> ([`5248d96`](https://github.com/AI21Labs/ai21-python/commit/5248d96a783b5ffab7cb7c9f6de383a1eba4df11))

* feat: Added Log Verbosity (152)

* fix: Added logger to httpx

* feat: Added set_verbose

* feat: Added set_debug

* fix: api-key header

* fix: Removed unused function

* feat: Logged env variables

* fix: Changed call location

* fix: CR

* fix: Added amazon header to secrets ([`57b1ea9`](https://github.com/AI21Labs/ai21-python/commit/57b1ea9aa172fdef7723199fe77ca50a15d6427c))

Fixes

* fix: label parse (178) ([`1ea52f5`](https://github.com/AI21Labs/ai21-python/commit/1ea52f5b7b842edcb6f61e40edc9c8c58e49d9ac))

* fix: rest call (174) ([`24caf96`](https://github.com/AI21Labs/ai21-python/commit/24caf96a291a33b51df77a1ca1223eca639d741b))

* fix: Version of action and json parser (173) ([`8a270ec`](https://github.com/AI21Labs/ai21-python/commit/8a270ecfc3e8b5d312dbe49d2a47a41c31be9be3))

2.8.0

Chores

* chore(release): v2.8.0 [skip ci] ([`c5087cf`](https://github.com/AI21Labs/ai21-python/commit/c5087cf6f20accdeba57d7630e1cd780de36e435))

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

Bumps [python-semantic-release/python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) from 9.8.0 to 9.8.3.
- [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/v9.8.0...v9.8.3)

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

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`718baaa`](https://github.com/AI21Labs/ai21-python/commit/718baaacce4af67c39c6e875782948e2158f22d4))

* chore(deps): bump urllib3 from 1.26.18 to 1.26.19 (140)

Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.18 to 1.26.19.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/1.26.19/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.18...1.26.19)

---
updated-dependencies:
- dependency-name: urllib3
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`dccf911`](https://github.com/AI21Labs/ai21-python/commit/dccf9117a2b17a74f8e9c298de22a072b84c6994))

Continuous Integration

* ci: Update pull request action (151) ([`bf535c6`](https://github.com/AI21Labs/ai21-python/commit/bf535c64a71a17d257dadbdfbe7ef5c384b1268a))

Documentation

* docs: update README.md (149)

minor fix

Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`09798b1`](https://github.com/AI21Labs/ai21-python/commit/09798b1e730098d0f3d43695a39d416a75f5a17d))

* docs: Fix message pass (150) ([`8f41631`](https://github.com/AI21Labs/ai21-python/commit/8f41631025021f19b665c0b4836a664438957549))

Features

* feat: adding Jamaba-Instruct-V1(chat_completions) to AWS Bedrock (153)

* feat: adding Jamaba-Instruct-V1(chat_completions) to AWS Bedrock

* feat: adding integration tests to bedrock chat completions + update README.md

* fix: Semantics

* fix: README order of bullets

* docs: Updated README.md

* docs: Added -U

* fix: Handle error message

---------

Co-authored-by: Josephasafg <ajgard7gmail.com> ([`7fae5c6`](https://github.com/AI21Labs/ai21-python/commit/7fae5c6dd097ee491ed3a37c6c0b1b2e6f21502a))

2.7.0

Chores

* chore(release): v2.7.0 [skip ci] ([`054459e`](https://github.com/AI21Labs/ai21-python/commit/054459e1289efb1a82a81a37038c7ca32279f5ed))

* chore(deps): bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (138)

Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.8.14 to 1.9.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/81e9d935c883d0b210363ab89cf05f3894778450...ec4db0b4ddc65acdf4bff5fa45ac92d78b56bdf0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
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: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`c509b7e`](https://github.com/AI21Labs/ai21-python/commit/c509b7e59aa984cc9948db1362162eaa52eeb1d7))

* chore(deps-dev): bump authlib from 1.3.0 to 1.3.1 (131)

Bumps [authlib](https://github.com/lepture/authlib) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/lepture/authlib/releases)
- [Changelog](https://github.com/lepture/authlib/blob/master/docs/changelog.rst)
- [Commits](https://github.com/lepture/authlib/compare/v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: authlib
dependency-type: indirect
...

Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`5eeaf52`](https://github.com/AI21Labs/ai21-python/commit/5eeaf52af19eee54d19fb9430b6caadf972e5f9c))

Continuous Integration

* ci: Added parter labels (147) ([`737d98f`](https://github.com/AI21Labs/ai21-python/commit/737d98f0b28d6e335b747dbae44fc68929cf39d6))

* ci: Auto Label (142)

* ci: Auto lgtm

* fix: script

* fix: consts

* ci: Auto labeler action

* fix: on

* fix: Added more triggers

* fix: feat trigger

* ci: size labels

* fix: More tests

* docs: remove to add

* docs: Updated labeler

* fix: Added default

* fix: Removed line

* fix: labeler

* fix: prints

* fix: Script

* fix: scri[pt

* ci: Added prints

* ci: More prints

* ci: Added echo 0

* ci: Fixed condition

* fix: condition

* fix: Removed unused lines

* fix: Removed more prints

* ci: Lgtm

* fix: condition ([`b59407c`](https://github.com/AI21Labs/ai21-python/commit/b59407cb44e0f13ddc85cb07e721126df5acccfb))

Documentation

* docs: Azure README (139) ([`5b0eadb`](https://github.com/AI21Labs/ai21-python/commit/5b0eadbe88702e2ca28de608191d9a17b8c0b4b0))

Features

* feat: Add async tokenizer, add detokenize method (144)

* feat: add detokenize method, add async tokenizer

* chore: update pyproject and poetry.lock

* fix: fix tokenizer name in examples and readme, add example ([`f2d06fc`](https://github.com/AI21Labs/ai21-python/commit/f2d06fc7d2bc155beeaec72c0481f9a239656c07))

Fixes

* fix: Add default version to azure url (148)

* fix: Added azure api version in the url

* fix: Added _create_base_url ([`cbea1d1`](https://github.com/AI21Labs/ai21-python/commit/cbea1d19197bf48c26679f8f97d37013333994f6))

2.6.0

Chores

* chore(release): v2.6.0 [skip ci] ([`3a6de49`](https://github.com/AI21Labs/ai21-python/commit/3a6de495aa88dc98577b8b27fff94cb88d7662ba))

Features

* feat: Azure Client Support (135) ([`6115632`](https://github.com/AI21Labs/ai21-python/commit/611563279999168703e49dbbf288190ee0ae262d))

2.5.2

Chores

* chore(release): v2.5.2 [skip ci] ([`3eae31e`](https://github.com/AI21Labs/ai21-python/commit/3eae31e1f82cec6bcf208d1ed614daa0fd6ddad1))

Fixes

* fix: camel case (136) ([`e2b8466`](https://github.com/AI21Labs/ai21-python/commit/e2b846666bf5b2b8617cc26214fa5f36d65f5e35))

Page 3 of 13

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.