Skip to content

Latest commit

 

History

History
2850 lines (1618 loc) · 84.5 KB

CHANGELOG.md

File metadata and controls

2850 lines (1618 loc) · 84.5 KB

CHANGELOG

v3.1.0 (2025-03-20)

Chores

  • Use correct model id name for usage examples (#280, a822f62)

  • deps-dev: Bump jinja2 from 3.1.5 to 3.1.6 (#275, 1572a9c)

Bumps jinja2 from 3.1.5 to 3.1.6. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Features

  • feat: ✨ introduce Maestro

  • ci: Added remove cache

  • chore: :refactor: use ChatMessage instead of Message pretty TypedDict :(

  • chore: 🚚 rename maestro/runs files to maestro/run

  • fix: ♻️ bug fixes and support for more params

  • update examples (async & sync) - support passing types in output_type - deprecate instruction
  • fix: 🔥 remove unsupported parameters

  • fix: 🐛 try saving the day

  • fix: 🐛 let's give it another go shall we

  • fix: 🔥 remove unused functions

  • test: ✅ tests

  • refactor: 🚚 rename messages and constraints

  • ci: 🧑‍💻 add git hooks to check for in commit content

  • chore: 🚚 move maestro under beta

  • docs: 📝 update examples

  • docs: 📝 update README

  • refactor: 🚚 rename maestro runs examples

  • chore: 🔧 add budget support


Co-authored-by: benshuk [email protected]

Co-authored-by: Josephasafg [email protected]

Refactoring

  • refactor: Removed j2 support

  • fix: Bad imports

  • fix: Extra test removal

v3.0.4 (2025-03-06)

Bug Fixes

  • fix: Added deprecation and removed model_id from bedrock

  • fix: Recursion func

  • fix: Changed model

  • fix: Another model name

  • fix: Model deprecation warning

  • fix: Rename model

Chores

  • release: V3.0.4 [skip ci] (557ab8e)

v3.0.3 (2025-02-27)

Bug Fixes

Chores

  • release: V3.0.3 [skip ci] (a2d5abf)

v3.0.2 (2025-02-19)

Bug Fixes

  • Changed service unavailable log to 503 (#270, ef064f4)

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3 (#240, 9890ade)

Bumps pypa/gh-action-pypi-publish from 1.12.2 to 1.12.3. - Release notes - Commits

--- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish 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>

  • deps: Bump python-semantic-release/python-semantic-release (#237, baac390)

Commits

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

  • deps: Bump python-semantic-release/python-semantic-release (#243, ec79523)

Commits

--- 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]

  • deps-dev: Bump jinja2 from 3.1.4 to 3.1.5 (#247, 2d36461)

Bumps jinja2 from 3.1.4 to 3.1.5. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: jinja2 dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • release: V3.0.2 [skip ci] (040c7bf)

Continuous Integration

Testing

  • test: Removed legacy j2 tests

  • fix: Failing test

  • docs: Removed print

v3.0.1 (2024-12-02)

Bug Fixes

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2 (#227, 4247632)

Bumps pypa/gh-action-pypi-publish from 1.10.3 to 1.12.2. - Release notes - Commits

--- 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]

  • deps: Bump python-semantic-release/python-semantic-release (#230, 276653e)

Commits

--- 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]

  • release: V3.0.1 [skip ci] (4d42360)

v3.0.0 (2024-11-11)

Chores

  • release: V2.16.0 [skip ci] (d8a6ecc)

  • release: V3.0.0 [skip ci] (7457c5b)

Features

feat!: Removed Legacy TSM Models

BREAKING CHANGES

  • Version v3.0.0 (#229)

v2.15.2 (2024-11-05)

Bug Fixes

  • Adding depracation warning to all TSMs, custom models and datasets (#223, 155c6a9)

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3 (#216, 5de5ae5)

Bumps pypa/gh-action-pypi-publish from 1.10.1 to 1.10.3. - Release notes - Commits

--- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish 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]

  • deps: Bump python-semantic-release/python-semantic-release (#218, cc4a26c)

Commits

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

  • release: V2.15.2 [skip ci] (b94594f)

v2.15.1 (2024-09-30)

Bug Fixes

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1 (#210, 6da18da)

Bumps pypa/gh-action-pypi-publish from 1.10.0 to 1.10.1. - Release notes - Commits

--- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish 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]

  • release: V2.15.1 [skip ci] (d31badb)

v2.15.0 (2024-09-24)

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0 (#208, 6bec329)

Bumps pypa/gh-action-pypi-publish from 1.9.0 to 1.10.0. - Release notes - Commits

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

  • deps: Bump python-semantic-release/python-semantic-release (#207, 37cfc24)

Commits

--- 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]

  • deps-dev: Bump cryptography from 42.0.7 to 43.0.1 (#209, e811d74)

Bumps cryptography from 42.0.7 to 43.0.1. - Changelog - Commits

--- updated-dependencies: - dependency-name: cryptography dependency-type: indirect

...

Signed-off-by: dependabot[bot] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

  • release: V2.15.0 [skip ci] (8835e75)

Features

  • Bedrock model id support for jamba-1.5 (#212, 2eda23f)
  • feat: Bedrock model id support for jamba-1.5

  • fix: Bedrock examples

v2.14.1 (2024-08-26)

Bug Fixes

  • Bug fixes - embed, streaming response, request retry rename (#206, 882de79)

Co-authored-by: Paz Shalev [email protected]

Chores

  • release: V2.14.1 [skip ci] (2816660)

v2.14.0 (2024-08-22)

Bug Fixes

Chores

  • release: V2.14.0 [skip ci] (307cfc6)

Features

v2.13.0 (2024-08-21)

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#204, 82d3abe)

Commits

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

  • release: V2.13.0 [skip ci] (5d350ea)

Documentation

  • docs: README for RAG

  • docs: Added link

Features

v2.12.0 (2024-08-07)

Chores

  • release: V2.12.0 [skip ci] (38430ad)

Features

v2.11.0 (2024-08-06)

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#190, 0c7622b)

Commits

--- 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]

  • release: V2.11.0 [skip ci] (62ddebf)

Features

  • 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


Co-authored-by: Asaf Joseph Gardin [email protected]

v2.10.1 (2024-07-31)

Bug Fixes

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

Chores

  • release: V2.10.1 [skip ci] (c0050f4)

Continuous Integration

  • ci: Added quotes

  • ci: Read from env

v2.10.0 (2024-07-29)

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#179, 2175f81)

Commits

--- 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]

  • deps-dev: Bump setuptools from 69.5.1 to 70.0.0 (#186, 51b59f8)

Bumps setuptools from 69.5.1 to 70.0.0. - Release notes - Changelog - Commits

--- 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]

  • release: V2.10.0 [skip ci] (4b85505)

Documentation

Features

  • 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

  • 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

v2.9.2 (2024-07-15)

Bug Fixes

  • Fix default for require_api_key in http client and other clients (#185, e6b305e)
  • fix: fix default for require_api_key in http client and other clients

  • test: fix unittests

  • test: add ai21 azure client

Chores

  • release: V2.9.2 [skip ci] (30d9947)

v2.9.1 (2024-07-10)

Bug Fixes

  • Remove httpx logger on log level info (#184, 06d0226)

Chores

  • deps: Bump amannn/action-semantic-pull-request (#154, e57d99a)

Bumps amannn/action-semantic-pull-request from 5.5.2 to 5.5.3. - Release notes - Changelog - Commits

--- 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]

  • deps: Bump certifi from 2024.2.2 to 2024.7.4 (#176, f5e1814)

Bumps certifi from 2024.2.2 to 2024.7.4. - Commits

--- 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]

  • deps-dev: Bump zipp from 3.18.1 to 3.19.1 (#183, 1812ef5)

Bumps zipp from 3.18.1 to 3.19.1. - Release notes - Changelog - Commits

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

  • release: V2.9.1 [skip ci] (5ed7f07)

v2.9.0 (2024-07-07)

Bug Fixes

Chores

  • Add status report to integration workflow (#161, 0a3a1e0)
  • chore: add status report to integration workflow

  • chore: add status report to integration workflow lint

  • chore: export lint to separate workflow

  • Integration-tests.yaml update checkout to specific commit (#158, 1c01663)

  • Integration-tests.yaml update inputs (#159, f61c905)

  • Integration-tests.yaml update inputs (#160, b3f7728)

  • Semantic pr - allow running on external prs (#164, 032fd5d)

  • Update testing workflows (#156, 4c170b8)

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

  • chore: integration-tests.yaml - add trigger for push on main

  • deps: Bump actions/github-script from 6 to 7 (#169, de4b1af)

Bumps actions/github-script from 6 to 7. - Release notes - Commits

--- 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]

  • release: V2.9.0 [skip ci] (f4b4d36)

Continuous Integration

  • Remove explicit permissions from semantic-pr.yml (#167, 3674efc)

  • Update size label When PR size changes (#171) (#172, 6dd535a)

  • ci: Update size label

  • test: File to test label

  • fix: Remove file

Features

  • 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

  • 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. - Release notes - Changelog - Commits

--- 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. - Release notes - Commits

--- 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 [email protected]

v2.8.0 (2024-06-26)

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#143, 718baaa)

Commits

--- 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]

  • deps: Bump urllib3 from 1.26.18 to 1.26.19 (#140, dccf911)

Bumps urllib3 from 1.26.18 to 1.26.19. - Release notes - Changelog - Commits

--- 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]

  • release: V2.8.0 [skip ci] (c5087cf)

Continuous Integration

Documentation

minor fix

Co-authored-by: Asaf Joseph Gardin [email protected]

Features

  • Adding Jamaba-Instruct-V1(chat_completions) to AWS Bedrock (#153, 7fae5c6)
  • 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]

v2.7.0 (2024-06-21)

Bug Fixes

  • fix: Added azure api version in the url

  • fix: Added _create_base_url

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.8.14 to 1.9.0 (#138, c509b7e)

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

--- 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]

  • deps-dev: Bump authlib from 1.3.0 to 1.3.1 (#131, 5eeaf52)

Bumps authlib from 1.3.0 to 1.3.1. - Release notes - Changelog - Commits

--- 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]

  • release: V2.7.0 [skip ci] (054459e)

Continuous Integration

  • 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

Documentation

Features

  • Add async tokenizer, add detokenize method (#144, f2d06fc)
  • feat: add detokenize method, add async tokenizer

  • chore: update pyproject and poetry.lock

  • fix: fix tokenizer name in examples and readme, add example

v2.6.0 (2024-06-13)

Chores

  • release: V2.6.0 [skip ci] (3a6de49)

Features

v2.5.2 (2024-06-13)

Bug Fixes

Chores

  • release: V2.5.2 [skip ci] (3eae31e)

v2.5.1 (2024-06-13)

Bug Fixes

  • fix: Chain /studio/v1

  • fix: Async Client

  • fix: Support urls

  • fix: Extra line

  • fix: Moved to external function

Chores

  • release: V2.5.1 [skip ci] (e2a43b8)

v2.5.0 (2024-06-10)

Bug Fixes

  • fix: Support base urls

  • fix: tests

Chores

  • release: V2.5.0 [skip ci] (f829c8f)

Features

  • 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 library test

  • fix: cr comments

v2.4.2 (2024-06-06)

Bug Fixes

Chores

  • release: V2.4.2 [skip ci] (15109d6)

v2.4.1 (2024-06-03)

Bug Fixes

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#121, c8ade60)

Commits

--- 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]

  • release: V2.4.1 [skip ci] (f708889)

Continuous Integration

v2.4.0 (2024-05-28)

Bug Fixes

feat: adding new field: order to library-search api response

Co-authored-by: Asaf Joseph Gardin [email protected]

Chores

  • release: V2.4.0 [skip ci] (b4062d2)

Features

v2.3.1 (2024-05-22)

Bug Fixes

Chores

Bumps idna from 3.6 to 3.7. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: idna 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]

  • release: V2.3.1 [skip ci] (b6d3186)

Documentation

  • docs: Updated docs with table of contents

  • fix: docs

  • fix: more docs stuff

  • fix: emoji

  • fix: cloud emoji

v2.3.0 (2024-05-20)

Bug Fixes

Chores

  • deps: Bump amannn/action-semantic-pull-request (#103, 5dd95ac)

Bumps amannn/action-semantic-pull-request from 5.4.0 to 5.5.2. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: amannn/action-semantic-pull-request 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]

  • deps: Bump python-semantic-release/python-semantic-release (#115, 2ff5912)

Commits

--- 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]

  • release: V2.3.0 [skip ci] (d2d416a)

Features

  • feat: Add httpx support (#111)

  • feat: Added httpx to pyproject

  • feat: httpx instead of requests

  • feat: Removed requests

  • fix: not given

  • fix: setup

  • feat: Added tenacity for retry

  • fix: conftest

  • test: Added tests

  • fix: Rename

  • fix: Modified test

  • fix: CR

  • fix: request

  • feat: Stream support jamba (#114)

  • feat: stream support (unfinished)

  • fix: single request creation

  • feat: Support stream_cls

  • fix: passed response_cls

  • fix: Removed unnecessary json_to_response

  • fix: imports

  • fix: tests

  • fix: reponse parse

  • fix: Added two examples to tests

  • fix: sagemaker tests

  • test: Added stream tests

  • fix: comment out failing test

  • fix: Removed code

  • docs: Added readme for streaming

  • fix: condition

  • docs: readme

  • test: Added integration test for streaming

  • fix: Added enter and close to stream

  • fix: Uncomment chat completions test

  • fix: poetry.lock

  • fix: Uncomment test case

  • fix: Removed unused json_to_response

v2.2.5 (2024-05-14)

Bug Fixes

  • Upgrade ai21-tokenizer to latest version with less restrictive deps (#113, 022d60c)
  • fix: upgrade ai21-tokenizer with latest version which has less restrictive deps

  • fix: upgrade deps in general

Chores

  • release: V2.2.5 [skip ci] (6d1502f)

v2.2.4 (2024-05-09)

Bug Fixes

  • feat: pass kwargs to endpoints

  • fix: test when passing kwargs

Chores

  • release: V2.2.4 [skip ci] (aa2e8e2)

v2.2.3 (2024-04-25)

Bug Fixes

  • fix: num_retries method

  • fix: Added 408 for retries

Chores

  • release: V2.2.3 [skip ci] (58c0166)

v2.2.2 (2024-04-24)

Bug Fixes

  • Added raise error on wrong use of chat message (#102, 4efbea6)

Chores

  • release: V2.2.2 [skip ci] (f3daeba)

v2.2.1 (2024-04-22)

Bug Fixes

  • Add support for n param to chat completion in studio (#98, 5459323)
  • fix: add n param support

  • test: add integration test

  • revert: wrong file

  • fix: add n param support, add integration test

Chores

v2.2.0 (2024-04-10)

Chores

  • release: V2.2.0 [skip ci] (52a0fa3)

Features

v2.1.3 (2024-03-27)

Bug Fixes

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

  • fix: Fixed main link in our readme

  • docs: Examples section

Chores

  • deps: Bump pypa/gh-action-pypi-publish from 1.8.11 to 1.8.14 (#77, 7f3ea4a)

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

--- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish 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 Gardin [email protected]

  • deps: Bump python-semantic-release/python-semantic-release (#81, c94966b)

Commits

--- 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] [email protected]

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Asaf Gardin [email protected]

  • deps: Bump python-semantic-release/python-semantic-release (#85, aea5963)

Commits

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

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

Bumps black from 22.12.0 to 24.3.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: black dependency-type: direct:development

...

Signed-off-by: dependabot[bot] [email protected]

  • refactor: lint fixes

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

Co-authored-by: Asaf Gardin [email protected]

Co-authored-by: Asaf Gardin [email protected]

  • release: V2.1.3 [skip ci] (a2b783c)

Testing

  • fix: integration test for file

  • refactor: Simplified

  • fix: chat tests

v2.1.2 (2024-02-27)

Bug Fixes

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

Chores

  • release: V2.1.2 [skip ci] (9551776)

v2.1.1 (2024-02-25)

Bug Fixes

  • Add logit bias to studio, sagemaker (#70, b0b5bc1)
  • 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: remove logit bias from bedrock

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

  • fix: update code with new not_giving approach

Chores

  • release: V2.1.1 [skip ci] (69dc136)

v2.1.0 (2024-02-25)

Bug Fixes

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

  • fix: Added validation for model_id

  • Pass model id in Bedrock client init (#71, 409e818)
  • feat: Moved model_id in bedrock to init

  • test: Added tests to check model id

  • fix: bedrock example

  • refactor: rename test params

Chores

  • release: V2.1.0 [skip ci] (5e9a768)

Features

  • 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 [email protected]

v2.0.5 (2024-02-21)

Bug Fixes

  • Penalties in Sagemaker and Bedrock (#67, d7c912f)
  • 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 [email protected]

Chores

  • release: V2.0.5 [skip ci] (8965828)

v2.0.4 (2024-02-18)

Bug Fixes

  • fix: Added model names in readme

  • fix: Added header

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

  • test: Fixed test

Chores

  • release: V2.0.4 [skip ci] (8b0f217)

Documentation

v2.0.3 (2024-02-07)

Bug Fixes

  • Skip passing API key to ARN endpoint (#60, 8fd72f0)

Chores

  • release: V2.0.3 [skip ci] (d0ccc5d)

Documentation

  • add code snippet notebook

  • docs: add code snippet notebook


Co-authored-by: Joshua Broyde [email protected]

Co-authored-by: asafgardin [email protected]

v2.0.2 (2024-02-04)

Bug Fixes

Chores

  • deps: Bump python-semantic-release/python-semantic-release (#49, aac9932)

Commits

--- 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: asafgardin [email protected]

  • release: V2.0.2 [skip ci] (2db1816)

v2.0.1 (2024-02-01)

Bug Fixes

Chores

  • release: V2.0.1 [skip ci] (2af2f2b)

Documentation

  • docs: updated migration

  • fix: example

v2.0.0 (2024-01-31)

Chores

  • release: V2.0.0 [skip ci] (2a65f23)

Features

BREAKING CHANGE: 2.0.0 to SDK

BREAKING CHANGES

  • 2.0.0 to SDK

v1.0.0 (2024-01-31)

Chores

  • release: V1.0.0 [skip ci] (34efede)

  • release: V1.0.0 [skip ci] (66a0086)

Features

  • ci: Change main proj name (#22)

  • ci: precommit

  • fix: version name

  • ci: Added rc pipeline for semantic release

  • ci: pypi api keys

  • fix: readme

  • chore(release): v2.0.0-rc.4 [skip ci]

  • docs: README.md (#23)

  • ci: updated precommit hooks

  • docs: more readme updates

  • docs: removed extra lines

  • fix: rename

  • docs: readme

  • docs: full readme

  • docs: badges

  • ci: commitizen version

  • revert: via

  • docs: Readme migration (#24)

  • docs: instance text

  • docs: client instance explanation

  • ci: Remove python 3_7 support (#25)

  • ci: python 3.8 >= support

  • ci: unittests

  • test: dummy test

  • docs: Readme additions (#27)

  • fix: removed unnecessary url env var

  • fix: README.md CR

  • test: Unittests for 2.0.0 (#28)

  • test: get_tokenizer tests

  • fix: cases

  • test: Added some unittests to resources

  • fix: rename var

  • test: Added ai21 studio client tsts

  • fix: rename files

  • fix: Added types

  • test: added test to http

  • fix: removed unnecessary auth param

  • test: Added tests

  • test: Added sagemaker

  • test: Created a single session per instance

  • ci: removed unnecessary action

  • fix: Feedback fixes (#29)

  • fix: errors

  • fix: error renames

  • fix: rename upload

  • fix: rename type

  • fix: rename variable

  • fix: removed experimental

  • test: fixed

  • chore(release): v2.0.0-rc.5 [skip ci]

  • refactor: Add enums (#30)

  • refactor: answer enum

  • refactor: answer - mode enum

  • refactor: moved imports

  • refactor: Added enums to chat requests/response

  • refactor: Added enums to completion requests/response

  • fix: imports

  • refactor: Added embed types enum

  • refactor: Added correction type enum

  • refactor: Added improvement type enum

  • refactor: Added enums to paraphrase and library answer

  • refactor: Added enums to segmentation

  • refactor: Added enums to summary

  • refactor: Added enums to summary by segment

  • fix: test

  • fix: bump version

  • chore(release): v2.0.0-rc.6 [skip ci]

  • fix: Restructure packages (#31)

  • refactor: moved classes to models package

  • refactor: moved responses = to models package

  • refactor: moved resources to common package

  • refactor: chat message rename

  • refactor: init

  • refactor: added more to imports

  • chore(release): v2.0.0-rc.7 [skip ci]

  • fix: Added env config class to init (#32)

  • fix: Added py.typed (#33)

  • fix: Pass env config to client ctor (#34)

  • fix: removed application and organization

  • fix: tests

  • fix: env vars to http client in sagemaker (#35)

  • fix: env vars to http

  • chore(release): v2.0.0-rc.8 [skip ci]

  • fix: Removed name parameter from chat message (#36)

  • fix: removed name parameter from chat message

  • fix: imports in integration tests

  • chore(release): v2.0.0-rc.9 [skip ci]

  • fix: chat parameters (#39)

  • fix: parameters for chat create

  • chore(release): v2.0.0-rc.10 [skip ci]

  • fix: top_k_returns to top_k_return (#40)

  • chore(release): v2.0.0-rc.11 [skip ci]

  • fix: added user agent with more details (#42)

  • test: added user agent with more details

  • test: changed to capital

  • test: Removed class into single tests

  • ci: Add rc branch prefix trigger for integration tests (#43)

  • ci: rc branch trigger for integration test

  • fix: wrapped in quotes

  • fix: aws tests (#44)

  • fix: AWS tests

  • test: ci

  • fix: Removed testing pattern for tests

  • fix: Integration tests (#41)

  • fix: types

  • test: Added some integration tests

  • test: improvements

  • test: test_paraphrase.py

  • fix: doc

  • fix: removed unused comment

  • test: test_summarize.py

  • test: Added tests for test_summarize_by_segment.py

  • test: test_segmentation.py

  • fix: file id in library response

  • fix: example for library

  • docs: docstrings

  • fix: question

  • fix: CR

  • test: Added tests to segment type in embed

  • chore(deps-dev): bump jinja2 from 3.1.2 to 3.1.3 (#38)

Bumps jinja2 from 3.1.2 to 3.1.3. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: jinja2 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: asafgardin [email protected]

  • chore(deps-dev): bump gitpython from 3.1.40 to 3.1.41 (#37)

Bumps gitpython from 3.1.40 to 3.1.41. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: gitpython dependency-type: indirect

  • chore(deps): bump actions/upload-artifact from 3 to 4 (#21)

Bumps actions/upload-artifact from 3 to 4. - Release notes - Commits

--- updated-dependencies: - dependency-name: actions/upload-artifact dependency-type: direct:production

update-type: version-update:semver-major

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

Bumps pypa/gh-action-pypi-publish from 1.4.2 to 1.8.11. - Release notes - Commits

--- updated-dependencies: - dependency-name: pypa/gh-action-pypi-publish dependency-type: direct:production

update-type: version-update:semver-minor

  • chore(deps): bump actions/setup-python from 4 to 5 (#19)

Bumps actions/setup-python from 4 to 5. - Release notes - Commits

--- updated-dependencies: - dependency-name: actions/setup-python dependency-type: direct:production

  • chore(deps): bump amannn/action-semantic-pull-request (#2)

Bumps amannn/action-semantic-pull-request from 5.0.2 to 5.4.0. - Release notes - Changelog - Commits

--- updated-dependencies: - dependency-name: amannn/action-semantic-pull-request dependency-type: direct:production

  • test: Added tests for library (#45)

  • test: Added tests for library

  • chore(release): v2.0.0-rc.12 [skip ci]

  • fix: Removed unnecessary pre commit hook

  • fix: Removed autouse

  • docs: CONTRIBUTING.md

  • docs: LICENSE

  • fix: removed license

  • test: Added some more unittests


Co-authored-by: github-actions [email protected]

Co-authored-by: etang [email protected]

v2.0.0-rc.3 (2023-12-18)

Bug Fixes

  • Change main project name in setup (#17, 7c68b7f)
  • ci: precommit

  • fix: version name

Chores

  • release: V2.0.0-rc.3 [skip ci] (0a9ace7)

v2.0.0-rc.2 (2023-12-18)

Chores

  • release: V2.0.0-rc.2 [skip ci] (5b83506)

Features

  • feat: project name

  • fix: name

v1.0.0-rc.2 (2023-12-18)

Chores

  • release: V1.0.0-rc.2 [skip ci] (ea8b6a9)

Features

  • ci: new line remove

  • feat: new line

v1.0.0-rc.1 (2023-12-18)

Bug Fixes

Chores

  • release: V0.1.0-rc.1 [skip ci] (3d67c2c)

  • release: V0.1.0-rc.2 [skip ci] (46e8eae)

  • release: V0.1.0-rc.3 [skip ci] (71ee300)

  • release: V1.0.0-rc.1 [skip ci] (65e09a4)

  • release: V1.1.0-rc.1 [skip ci] (de5b2b5)

  • release: V1.1.0-rc.2 [skip ci] (d131bfc)

  • release: V1.1.0-rc.3 [skip ci] (25a4f85)

  • release: V1.1.0-rc.4 [skip ci] (f696102)

  • release: V1.10.0-rc.1 [skip ci] (331d142)

Continuous Integration

Features

  • Breaking CHANGE: pre release 2.0.0 (#9, b15d4c7)
  • fix: remove file

  • feat: bump 1.0.0 BREAKING CHANGE: pre release

  • docs: changelog

  • docs: added text

  • fix: verison

BREAKING CHANGE: New SDK version

  • fix: removed CHANGELOG.md

  • fix: removed version rc

  • feat: release candidate

  • fix: branch name

  • fix: imports

  • fix: push to test pypi

  • feat: Added code

  • feat: Added setup

  • feat: more sdk code

  • feat: poetry

  • feat: poetry setup

  • ci: actions

  • fix: removed unused example

  • feat: added boto3

  • feat: added dependencies

  • test: added pytest dependency

  • fix: python version

  • fix: update python version in lock

  • fix: format

  • fix: examples

  • test: removed example script for studio and added integration test instead

  • test: bedrock integration test

  • test: moved examples

  • ci: fixed inv

  • fix: lint

  • feat: version in init

  • fix: long content

  • fix: poetry version

  • fix: added all

  • fix: Added code to all

  • fix: prompt

  • fix: test action

  • fix: Added shebang

  • fix: long line

  • fix: loaded env for tests

  • fix: Added env

  • test: only 3.10

  • test: default region

  • test: Added 3.8

  • fix: subscriptable type

  • test: sagemaker tests

  • fix: used _http methods

  • fix: default values

  • ci: removed -vv flag

  • fix: imports

  • test: Added conditional skip

  • fix: CR fixes

  • fix: boto3 to pyproject.toml

  • fix: all-extras arg

  • fix: lint in action

  • feat: via param

  • fix: added all extras

  • fix: Added static type checker

  • feat: Moved body creationto function

  • feat: switched most responses to use dataclasses_json

  • feat: Added base mixin

  • fix: CR

  • fix: test path

  • feat: Added bedrock session

  • feat: Added SageMakerSession

  • fix: init of bedrock client

  • feat: More robust imports

  • fix: error message

  • fix: removed kwargs from request body

  • fix: Removed log_level from env

  • fix: logger calls

  • fix: Removed logger from init

  • feat: Added setup logger

  • ci: Added integration tests only on push to main

  • fix: removed unused import

  • feat: release candidate

  • ci: test pypi

  • fix: version