Skip to content

Releases: AI21Labs/ai21-python

v2.2.0-rc.1

27 Mar 13:26

Choose a tag to compare

v2.2.0-rc.1 Pre-release
Pre-release

v2.2.0-rc.1 (2024-03-27)

Chore

  • chore(deps): bump python-semantic-release/python-semantic-release (#81)

Bumps python-semantic-release/python-semantic-release from 8.7.2 to 9.3.0.


updated-dependencies:

  • dependency-name: python-semantic-release/python-semantic-release
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Gardin <147075902+asafgardin@users.noreply.github.com> (c94966b)

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

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


updated-dependencies:

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Gardin <147075902+asafgardin@users.noreply.github.com> (7f3ea4a)

Documentation

Feature

  • feat: Merge pull request #84 from AI21Labs/feat_chat_completion_support

feat: support chat completion in studio SDK (428ad98)

  • feat: support chat completion in studio SDK (debb61a)

Fix

Refactor

  • refactor: imports and file structure (a59e503)

  • refactor: Moved chat message to different packages (ca5499f)

Test

  • test: Added a unittest (4bf975e)

  • test: integration test for library files (#83)

  • fix: integration test for file

  • refactor: Simplified

  • fix: chat tests (3a50669)

  • test: check imports (#76) (a72e23b)

Unknown

v2.1.3

27 Mar 14:08

Choose a tag to compare

v2.1.3 (2024-03-27)

Chore

  • chore(deps-dev): bump black from 22.12.0 to 24.3.0 (#80)

  • chore(deps-dev): bump black from 22.12.0 to 24.3.0

Bumps black from 22.12.0 to 24.3.0.


updated-dependencies:

  • dependency-name: black
    dependency-type: direct:development
    ...

Signed-off-by: dependabot[bot] <support@github.com>

  • refactor: lint fixes

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Gardin <147075902+asafgardin@users.noreply.github.com>
Co-authored-by: Asaf Gardin <asafg@ai21.com> (5986522)

  • chore(deps): bump python-semantic-release/python-semantic-release (#85)

Bumps python-semantic-release/python-semantic-release from 9.3.0 to 9.3.1.


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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> (aea5963)

  • chore(deps): bump python-semantic-release/python-semantic-release (#81)

Bumps python-semantic-release/python-semantic-release from 8.7.2 to 9.3.0.


updated-dependencies:

  • dependency-name: python-semantic-release/python-semantic-release
    dependency-type: direct:production
    update-type: version-update:semver-major
    ...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Gardin <147075902+asafgardin@users.noreply.github.com> (c94966b)

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

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


updated-dependencies:

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

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Asaf Gardin <147075902+asafgardin@users.noreply.github.com> (7f3ea4a)

Fix

  • fix: Fix readme gaps (#87)

  • docs: Added contextual answers examples and shared a link to our examples folder

  • fix: Fixed main link in our readme

  • docs: Examples section (da3afed)

Test

  • test: integration test for library files (#83)

  • fix: integration test for file

  • refactor: Simplified

  • fix: chat tests (3a50669)

  • test: check imports (#76) (a72e23b)

v2.1.2

27 Feb 14:42

Choose a tag to compare

v2.1.2 (2024-02-27)

Fix

  • fix: Added future type annotation to sagemaker (#74) (f561dd8)

v2.1.1

25 Feb 15:30

Choose a tag to compare

v2.1.1 (2024-02-25)

Fix

  • fix: add logit bias to studio, sagemaker (#70)

  • fix: add logit bias, fix studio completion

  • fix: adjust tests

  • fix: add logit bias integration test

  • fix: update studio completion example

  • fix: fix studio completion example

  • fix: fix studio completion example

  • fix: remove logit bias from bedrock

  • fix: add logit bias to sagemaker completion, add params string

  • fix: adjust tests

  • fix: add logit bias integration test

  • fix: update studio completion example

  • fix: fix studio completion example

  • fix: update code with new not_giving approach (b0b5bc1)

v2.1.0

25 Feb 12:44

Choose a tag to compare

v2.1.0 (2024-02-25)

Feature

  • feat: support NOT_GIVEN type (#69)

  • feat: support NOT_GIVEN type

  • fix: test when penalty is not passed

  • fix: fix import, make more variants of penalty

  • refactor: completion test refactor

  • fix: rename endpoints

  • fix: uncomment skip


Co-authored-by: Asaf Gardin <asafg@ai21.com> (c7fd28a)

Fix

  • fix: Pass default model_id in bedrock client (#72)

  • fix: Pass default model_id in bedrock client

  • fix: Added validation for model_id

  • fix: Added validation for model_id (e849d78)

  • fix: Pass model id in Bedrock client init (#71)

  • feat: Moved model_id in bedrock to init

  • test: Added tests to check model id

  • fix: bedrock example

  • refactor: rename test params (409e818)

v2.0.5

21 Feb 18:53

Choose a tag to compare

v2.0.5 (2024-02-21)

Fix

  • fix: penalties in Sagemaker and Bedrock (#67)

  • fix: penalties in sagemaker

  • fix: don't pass None penalties to Bedrock

  • fix: remove some default arge, and some unused args from bedrock model

  • test: Added bedrock integration tests for penalties check

  • ci: Integration tests on push

  • fix: answer test


Co-authored-by: etang <etang@ai21.com> (d7c912f)

v2.0.4

18 Feb 14:58

Choose a tag to compare

v2.0.4 (2024-02-18)

Documentation

  • docs: fix error handling example (#63) (fcd2746)

Fix

  • fix: Removed answer_length and mode from answer (#65)

  • fix: Removed answer_length and mode from answer

  • test: Fixed test (3814e57)

  • fix: Add model types to docs (#62)

  • fix: Added model names in readme

  • fix: Added header (ca5c3ca)

v2.0.3

07 Feb 16:34

Choose a tag to compare

v2.0.3 (2024-02-07)

Documentation

  • docs: add code snippet notebook (#58)

  • add code snippet notebook

  • docs: add code snippet notebook


Co-authored-by: Joshua Broyde <joshuabroyde@Joshua-Broyde-PMGQ73FQ16.local>
Co-authored-by: asafgardin <147075902+asafgardin@users.noreply.github.com> (139d05f)

Fix

  • fix: skip passing API key to ARN endpoint (#60) (8fd72f0)

v2.0.2

04 Feb 07:41

Choose a tag to compare

v2.0.2 (2024-02-04)

Chore

  • chore(deps): bump python-semantic-release/python-semantic-release (#49)

Bumps python-semantic-release/python-semantic-release from 8.3.0 to 8.7.2.


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] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: asafgardin <147075902+asafgardin@users.noreply.github.com> (aac9932)

Fix

v2.0.1

01 Feb 15:12

Choose a tag to compare

v2.0.1 (2024-02-01)

Documentation

  • docs: updated migration (#54)

  • docs: updated migration

  • fix: example (bca0424)

Fix