Skip to content

v2.9.0

Choose a tag to compare

@Josephasafg Josephasafg released this 07 Jul 11:16
· 114 commits to main since this release

v2.9.0 (2024-07-07)

Chore

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

Bumps actions/github-script from 6 to 7.


updated-dependencies:

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

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]> (de4b1af)

  • chore: semantic pr - allow running on external prs (#164) (032fd5d)

  • 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)

  • chore: integration-tests.yaml update inputs (#160) (b3f7728)

  • chore: integration-tests.yaml update inputs (#159) (f61c905)

  • chore: integration-tests.yaml update checkout to specific commit (#158) (1c01663)

  • chore: Update testing workflows (#156)

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

  • chore: integration-tests.yaml - add trigger for push on main (4c170b8)

Ci

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

  • ci: Update size label

  • test: File to test label

  • fix: Remove file (6dd535a)

  • ci: remove explicit permissions from semantic-pr.yml (#167) (3674efc)

Feature

  • 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 from 1.3.0 to 1.3.1.


updated-dependencies:

  • dependency-name: authlib
    dependency-type: indirect
    ...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]>

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

Bumps pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0.


updated-dependencies:

  • dependency-name: pypa/gh-action-pypi-publish
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]>

  • 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] <[email protected]>
Co-authored-by: Asaf Joseph Gardin <[email protected]>
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 from 1.3.0 to 1.3.1.


updated-dependencies:

  • dependency-name: authlib
    dependency-type: indirect
    ...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]>

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

Bumps pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0.


updated-dependencies:

  • dependency-name: pypa/gh-action-pypi-publish
    dependency-type: direct:production
    update-type: version-update:semver-minor
    ...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]>

  • 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] <[email protected]>
Co-authored-by: Asaf Joseph Gardin <[email protected]>
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] <[email protected]>
Co-authored-by: miri-bar <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (5248d96)

  • 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)

Fix