Chores
* chore(release): v2.10.0 [skip ci] ([`4b85505`](https://github.com/AI21Labs/ai21-python/commit/4b85505e5c1830e145ecd04dc249a4df5c44ac60))
* chore(deps-dev): bump setuptools from 69.5.1 to 70.0.0 (186)
Bumps [setuptools](https://github.com/pypa/setuptools) from 69.5.1 to 70.0.0.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v69.5.1...v70.0.0)
---
updated-dependencies:
- dependency-name: setuptools
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`51b59f8`](https://github.com/AI21Labs/ai21-python/commit/51b59f8eb166be299076d23fe646a292aa151f51))
* chore(deps): bump python-semantic-release/python-semantic-release (179)
Bumps [python-semantic-release/python-semantic-release](https://github.com/python-semantic-release/python-semantic-release) from 9.8.3 to 9.8.5.
- [Release notes](https://github.com/python-semantic-release/python-semantic-release/releases)
- [Changelog](https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.md)
- [Commits](https://github.com/python-semantic-release/python-semantic-release/compare/v9.8.3...v9.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] <supportgithub.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]users.noreply.github.com>
Co-authored-by: Asaf Joseph Gardin <39553475+Josephasafgusers.noreply.github.com> ([`2175f81`](https://github.com/AI21Labs/ai21-python/commit/2175f81c29e8fcaac8ff2dfb67af2b4f0aceead7))
Documentation
* docs: fix base url for azure (188) ([`bb84d35`](https://github.com/AI21Labs/ai21-python/commit/bb84d351fdda13b57617a6fc3fc5a12bce2d9528))
Features
* 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`](https://github.com/AI21Labs/ai21-python/commit/135ea43e75f3692f966c2263c25b4b9c7c343b81))