Releases: AI21Labs/ai21-python
v2.9.0
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
-
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...
v2.8.0
v2.8.0 (2024-06-26)
Chore
- chore(deps): bump python-semantic-release/python-semantic-release (#143)
Bumps python-semantic-release/python-semantic-release from 9.8.0 to 9.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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]> (718baaa)
- chore(deps): bump urllib3 from 1.26.18 to 1.26.19 (#140)
Bumps urllib3 from 1.26.18 to 1.26.19.
updated-dependencies:
- dependency-name: urllib3
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]> (dccf911)
Ci
Documentation
- docs: update README.md (#149)
minor fix
Co-authored-by: Asaf Joseph Gardin <[email protected]> (09798b1)
Feature
-
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 <[email protected]> (7fae5c6)
v2.7.0
v2.7.0 (2024-06-21)
Chore
- 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]> (c509b7e)
- 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]> (5eeaf52)
Ci
-
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)
Documentation
Feature
-
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)
Fix
v2.6.0
v2.5.2
v2.5.1
v2.5.0
v2.5.0 (2024-06-10)
Feature
-
feat: add support for studio async client (#129)
-
feat: async support - stream, http, ai21 http
-
fix: commit changes
-
feat: studio resource, chat, chat completions, answer
-
feat: beta, dataset, completion, custom model
-
feat: embed, gec, improvements
-
feat: paraphrase, segmentation, summarize, by segment
-
feat: library
-
feat: client
-
refactor: sync and async http, ai21 http, ai21 client, resources
-
test: update imports, create tests for async
-
fix: base client
-
fix: add pytest marker asyncio
-
fix: add pytest asyncio to poetry
-
fix: add delete to lib files, add examples, test examples
-
fix: tests
-
fix: fix stream, add stream tests, add readme
-
fix: fix import on sm stub
-
feat: async support - stream, http, ai21 http
-
fix: commit changes
-
feat: studio resource, chat, chat completions, answer
-
feat: beta, dataset, completion, custom model
-
feat: embed, gec, improvements
-
feat: paraphrase, segmentation, summarize, by segment
-
feat: library
-
feat: client
-
refactor: sync and async http, ai21 http, ai21 client, resources
-
test: update imports, create tests for async
-
fix: base client
-
fix: add pytest marker asyncio
-
fix: add pytest asyncio to poetry
-
fix: add delete to lib files, add examples, test examples
-
fix: tests
-
fix: fix stream, add stream tests, add readme
-
fix: fix import on sm stub
-
fix: fix async http client, fix tests
-
fix: remove commented out code
-
fix: CR comments
-
fix: fix failing test
-
fix: fix failing test
-
fix: fix failing test
-
fix: fix library test
-
fix: cr comments (
d1933e4)
Fix
v2.4.2
v2.4.1
v2.4.1 (2024-06-03)
Chore
- chore(deps): bump python-semantic-release/python-semantic-release (#121)
Bumps python-semantic-release/python-semantic-release from 9.7.3 to 9.8.0.
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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]> (c8ade60)
Ci
Fix
Unknown
- --- (#118)
updated-dependencies:
- dependency-name: requests
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]> (30e1e58)