Releases: AI21Labs/ai21-python
v2.13.0-rc.2
v2.13.0-rc.1
v2.13.0-rc.1 (2024-08-20)
Documentation
Feature
-
feat: multiple tools example (
d95fc69) -
feat: revert TypedDict (
e5b6b48) -
feat: test TypedDict usage (
3952220) -
feat: more flow in the func calling example (
067ad50) -
feat: added models to all (
4ab26c2) -
feat: fix DocumentSchema (
98e4b4b) -
feat: simplify models (
c9e1b3a) -
feat: PR changes (
f5a1d5e) -
feat: unit tests (
6fb5c6e) -
feat: fix formatter (
a778c8e) -
feat: jamba 1.5 features - tools calls (function calling), documents, response_format (
5e186b9)
Fix
-
fix: replace jamba-instruct usage with jamba-1.5, add documentation (#201)
-
fix: replace jamba-instruct usage with jamba-1.5, add jamba-instruct to legacy models, log headers in http_client
-
fix: formatting
-
fix: model name change (
47f9668) -
fix: lint (
58e407d) -
fix: remove key (
9eb439f) -
fix: fix all unit tests and a fix (
b41b31a)
Unknown
- Merge pull request #202 from AI21Labs/chat-model-with-tools-docs-and-response-format
feat: Chat model with tools docs and response format (9f4ed9b)
-
Merge branch 'chat-model-with-tools-docs-and-response-format' of github.com:AI21Labs/ai21-python into chat-model-with-tools-docs-and-response-format (
c1fff86) -
Revert "feat: revert TypedDict"
v2.12.0
v2.11.0
v2.11.0 (2024-08-06)
Chore
- chore(deps): bump python-semantic-release/python-semantic-release (#190)
Bumps python-semantic-release/python-semantic-release from 9.8.5 to 9.8.6.
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]> (0c7622b)
Feature
-
feat: add stream support for Bedrock (#191)
-
feat: add stream support for bedrock
-
chore: fix error
-
chore: fix stream examples
-
fix: add fix for last chunk on bedrock, add tests
-
test: fix unittests
-
test: remove comments
-
test: fix integration test
-
chore: cr comments
-
refactor: cr comments
-
refactor: async stream example
-
refactor: cr comments
Co-authored-by: Asaf Joseph Gardin <[email protected]> (5392b52)
v2.10.1
v2.10.1 (2024-07-31)
Ci
Fix
-
fix: remove redundant dependency - dataclass json (#194)
-
fix: remove redundant dependency - dataclass json
-
chore: use j2 ultra in examples
-
test: use j2 ultra in completion tests
Co-authored-by: Asaf Joseph Gardin <[email protected]> (e8dcd27)
v2.10.0
v2.10.0 (2024-07-29)
Chore
- chore(deps-dev): bump setuptools from 69.5.1 to 70.0.0 (#186)
Bumps setuptools from 69.5.1 to 70.0.0.
updated-dependencies:
- dependency-name: setuptools
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]> (51b59f8)
- chore(deps): bump python-semantic-release/python-semantic-release (#179)
Bumps python-semantic-release/python-semantic-release from 9.8.3 to 9.8.5.
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]> (2175f81)
Documentation
Feature
-
feat: Pydantic Migration (#193)
-
feat: Pydantic migration (#189)
-
refactor: migrate from dataclass to pydantic for responses
-
fix: add backward compatability for to_json, from_json
-
fix: add missing by_alias, add from_json to penalty, add tests
-
ci: add pydantic matrix for unittests
-
ci: fix version mismatch
-
test: fix test
-
ci: add matrix to integration tests for pydantic version
-
ci: limit parallel run in integration tests
-
refactor: ci comments, use to_, and from_ funcs internally
-
refactor: ci comments, attach alias by field, create private functions for serialization, add deprecation warning
-
refactor: ci comments, attach alias by field, create private functions for serialization, add deprecation warning
-
test: fix tests
-
test: fix tests
-
test: fix tests
-
chore: ci comments, remove basemodel from not_given
-
chore(release): v2.10.0-rc.1 [skip ci]
-
chore: lower min pydantic version (#192)
Co-authored-by: semantic-release <semantic-release> (135ea43)
v2.10.0-rc.1
v2.10.0-rc.1 (2024-07-28)
Chore
- chore(deps-dev): bump setuptools from 69.5.1 to 70.0.0 (#186)
Bumps setuptools from 69.5.1 to 70.0.0.
updated-dependencies:
- dependency-name: setuptools
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]> (51b59f8)
- chore(deps): bump python-semantic-release/python-semantic-release (#179)
Bumps python-semantic-release/python-semantic-release from 9.8.3 to 9.8.5.
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]> (2175f81)
Documentation
Feature
-
feat: Pydantic migration (#189)
-
refactor: migrate from dataclass to pydantic for responses
-
fix: add backward compatability for to_json, from_json
-
fix: add missing by_alias, add from_json to penalty, add tests
-
ci: add pydantic matrix for unittests
-
ci: fix version mismatch
-
test: fix test
-
ci: add matrix to integration tests for pydantic version
-
ci: limit parallel run in integration tests
-
refactor: ci comments, use to_, and from_ funcs internally
-
refactor: ci comments, attach alias by field, create private functions for serialization, add deprecation warning
-
refactor: ci comments, attach alias by field, create private functions for serialization, add deprecation warning
-
test: fix tests
-
test: fix tests
-
test: fix tests
-
chore: ci comments, remove basemodel from not_given (
2591bc7)
v2.9.2
v2.9.1
v2.9.1 (2024-07-10)
Chore
- chore(deps-dev): bump zipp from 3.18.1 to 3.19.1 (#183)
Bumps zipp from 3.18.1 to 3.19.1.
updated-dependencies:
- dependency-name: zipp
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (1812ef5)
- chore(deps): bump certifi from 2024.2.2 to 2024.7.4 (#176)
Bumps certifi from 2024.2.2 to 2024.7.4.
updated-dependencies:
- dependency-name: certifi
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]> (f5e1814)
- chore(deps): bump amannn/action-semantic-pull-request (#154)
Bumps amannn/action-semantic-pull-request from 5.5.2 to 5.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] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <[email protected]> (e57d99a)
Fix
Unknown
- Securely use variables in labeler workflow. (#181)
Co-authored-by: Asaf Joseph Gardin <[email protected]> (5349992)
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...