([`f4b4d36`](https://github.com/AI21Labs/ai21-python/commit/f4b4d362b77ab94c970ae623f7f9185b94718181))
Continuous Integration
- Remove explicit permissions from semantic-pr.yml
([167](https://github.com/AI21Labs/ai21-python/pull/167),
[`3674efc`](https://github.com/AI21Labs/ai21-python/commit/3674efc106959f9b5b9b35c6eacc19db413c80cf))
- Update size label When PR size changes (171)
([172](https://github.com/AI21Labs/ai21-python/pull/172),
[`6dd535a`](https://github.com/AI21Labs/ai21-python/commit/6dd535a4da3959ea258a2d316be7c145961b6875))
* ci: Update size label
* test: File to test label
* fix: Remove file
Features
- Added Log Verbosity ([152](https://github.com/AI21Labs/ai21-python/pull/152),
[`57b1ea9`](https://github.com/AI21Labs/ai21-python/commit/57b1ea9aa172fdef7723199fe77ca50a15d6427c))
* 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
- Async Support AWS ([180](https://github.com/AI21Labs/ai21-python/pull/180),
[`5248d96`](https://github.com/AI21Labs/ai21-python/commit/5248d96a783b5ffab7cb7c9f6de383a1eba4df11))
* 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
* 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
---------
* Add sagemaker async support (155)
* refactor: sagemaker client, boto->aws http client
* chore: refactor to use http client
* chore: add async to sm resources
* test: fix imports test
* 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
* 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: Moved 'model' extract
* test: Added a tests to validate model_id and model cant be together
* fix: Test
* fix: Bedrock integration tests
Co-authored-by: miri-bar <160584887+miri-barusers.noreply.github.com>