22
33
44
5+ ## v2.2.0-rc.2 (2024-04-10)
6+
7+ ### Chore
8+
9+ * chore(release): v2.2.0-rc.1 [ skip ci] ([ ` 8be7ddb ` ] ( https://github.com/AI21Labs/ai21-python/commit/8be7ddb79049ddbfa78b238a899b0cfd2385b60a ) )
10+
11+ * chore(release): v2.1.3 [ skip ci] ([ ` 94a9ca6 ` ] ( https://github.com/AI21Labs/ai21-python/commit/94a9ca6c4dbea7deccd2437dccc6a5e8d309c740 ) )
12+
13+ * chore(release): v2.2.0-rc.1 [ skip ci] ([ ` 7916e41 ` ] ( https://github.com/AI21Labs/ai21-python/commit/7916e414032b728fa1e4120d0c00a04ca3951d49 ) )
14+
15+ * chore(release): v2.2.0-rc.1 [ skip ci] ([ ` ce35924 ` ] ( https://github.com/AI21Labs/ai21-python/commit/ce35924cb2ede05f02a3f0867e1b2df4aa4f857e ) )
16+
17+ * chore(release): v2.1.3 [ skip ci] ([ ` e5ef7c1 ` ] ( https://github.com/AI21Labs/ai21-python/commit/e5ef7c1f13fa2f0e92cb7cac2f5fbfb9a52f2737 ) )
18+
19+ * chore(deps-dev): bump black from 22.12.0 to 24.3.0 (#80 )
20+
21+ * chore(deps-dev): bump black from 22.12.0 to 24.3.0
22+
23+ Bumps [ black] ( https://github.com/psf/black ) from 22.12.0 to 24.3.0.
24+ - [ Release notes] ( https://github.com/psf/black/releases )
25+ - [ Changelog] ( https://github.com/psf/black/blob/main/CHANGES.md )
26+ - [ Commits] ( https://github.com/psf/black/compare/22.12.0...24.3.0 )
27+
28+ ---
29+ updated-dependencies:
30+ - dependency-name: black
31+ dependency-type: direct: development
32+ ...
33+
34+ Signed-off-by: dependabot[ bot] < ; support@github.com > ;
35+
36+ * refactor: lint fixes
37+
38+ ---------
39+
40+ Signed-off-by: dependabot[ bot] < ; support@github.com > ;
41+ Co-authored-by: dependabot[ bot] < ; 49699333+dependabot[ bot] @users .noreply.github.com> ;
42+ Co-authored-by: Asaf Gardin < ; 147075902+asafgardin@users.noreply.github.com > ;
43+ Co-authored-by: Asaf Gardin < ; asafg@ai21.com > ; ([ ` 6681b4c ` ] ( https://github.com/AI21Labs/ai21-python/commit/6681b4c0bbd1f561496c7fce78a4b66a69cb3348 ) )
44+
45+ * chore(deps): bump python-semantic-release/python-semantic-release (#85 )
46+
47+ Bumps [ python-semantic-release/python-semantic-release] ( https://github.com/python-semantic-release/python-semantic-release ) from 9.3.0 to 9.3.1.
48+ - [ Release notes] ( https://github.com/python-semantic-release/python-semantic-release/releases )
49+ - [ Changelog] ( https://github.com/python-semantic-release/python-semantic-release/blob/master/CHANGELOG.md )
50+ - [ Commits] ( https://github.com/python-semantic-release/python-semantic-release/compare/v9.3.0...v9.3.1 )
51+
52+ ---
53+ updated-dependencies:
54+ - dependency-name: python-semantic-release/python-semantic-release
55+ dependency-type: direct: production
56+ update-type: version-update: semver-patch
57+ ...
58+
59+ Signed-off-by: dependabot[ bot] < ; support@github.com > ;
60+ Co-authored-by: dependabot[ bot] < ; 49699333+dependabot[ bot] @users .noreply.github.com> ; ([ ` 107d2a9 ` ] ( https://github.com/AI21Labs/ai21-python/commit/107d2a9150e867f07450e806f227be19695112c7 ) )
61+
62+ ### Documentation
63+
64+ * docs: Updated todo ([ ` f60277d ` ] ( https://github.com/AI21Labs/ai21-python/commit/f60277df50534c006da25ddb745c7536dbbafaa3 ) )
65+
66+ ### Feature
67+
68+ * feat: Jamba tokenizer support (#86 )
69+
70+ * feat: support get_tokenizer by tokenizer name
71+
72+ * fix: Added deprecation warning to count_tokens in ai21 client
73+
74+ * bump: ai21-tokenizer to 0.9.0
75+
76+ * test: Added tests for new tokenizer
77+
78+ * fix: model name in tests
79+
80+ * fix: test model name for chat
81+
82+ * fix: Added kwargs
83+
84+ * fix: type
85+
86+ * fix: doc
87+
88+ * docs: Count Tokens README
89+
90+ * fix: tokenizer example
91+
92+ ---------
93+
94+ Co-authored-by: asafg < ; asafg@ai21.com > ; ([ ` f902e25 ` ] ( https://github.com/AI21Labs/ai21-python/commit/f902e25573cad349d08bc1226dbaee9d24b7ce85 ) )
95+
96+ * feat: Jamba tokenizer support (#86 )
97+
98+ * feat: support get_tokenizer by tokenizer name
99+
100+ * fix: Added deprecation warning to count_tokens in ai21 client
101+
102+ * bump: ai21-tokenizer to 0.9.0
103+
104+ * test: Added tests for new tokenizer
105+
106+ * fix: model name in tests
107+
108+ * fix: test model name for chat
109+
110+ * fix: Added kwargs
111+
112+ * fix: type
113+
114+ * fix: doc
115+
116+ * docs: Count Tokens README
117+
118+ * fix: tokenizer example
119+
120+ ---------
121+
122+ Co-authored-by: asafg < ; asafg@ai21.com > ; ([ ` 7f63697 ` ] ( https://github.com/AI21Labs/ai21-python/commit/7f63697af92021159df511a8a5d51a356799000b ) )
123+
124+ * feat: support chat completion in studio SDK ([ ` 89ad7d0 ` ] ( https://github.com/AI21Labs/ai21-python/commit/89ad7d08c2091c4ea066da82b4cd9daa8a1466ba ) )
125+
126+ * feat: Jamba tokenizer support (#86 )
127+
128+ * feat: support get_tokenizer by tokenizer name
129+
130+ * fix: Added deprecation warning to count_tokens in ai21 client
131+
132+ * bump: ai21-tokenizer to 0.9.0
133+
134+ * test: Added tests for new tokenizer
135+
136+ * fix: model name in tests
137+
138+ * fix: test model name for chat
139+
140+ * fix: Added kwargs
141+
142+ * fix: type
143+
144+ * fix: doc
145+
146+ * docs: Count Tokens README
147+
148+ * fix: tokenizer example
149+
150+ ---------
151+
152+ Co-authored-by: asafg < ; asafg@ai21.com > ; ([ ` 6a7c56a ` ] ( https://github.com/AI21Labs/ai21-python/commit/6a7c56a194644d73d36ed889f5541a854c5af5d3 ) )
153+
154+ * feat: Jamba tokenizer support (#86 )
155+
156+ * feat: support get_tokenizer by tokenizer name
157+
158+ * fix: Added deprecation warning to count_tokens in ai21 client
159+
160+ * bump: ai21-tokenizer to 0.9.0
161+
162+ * test: Added tests for new tokenizer
163+
164+ * fix: model name in tests
165+
166+ * fix: test model name for chat
167+
168+ * fix: Added kwargs
169+
170+ * fix: type
171+
172+ * fix: doc
173+
174+ * docs: Count Tokens README
175+
176+ * fix: tokenizer example
177+
178+ ---------
179+
180+ Co-authored-by: asafg < ; asafg@ai21.com > ; ([ ` d1d89d1 ` ] ( https://github.com/AI21Labs/ai21-python/commit/d1d89d1cd93b238bf130028e8650f0f97d4e5d64 ) )
181+
182+ ### Fix
183+
184+ * fix: enable integration test ([ ` f9a9f1a ` ] ( https://github.com/AI21Labs/ai21-python/commit/f9a9f1a7d1548f7b0699c6ac12fcec7f96456b5d ) )
185+
186+ * fix: import from exported package in test ([ ` f694e5b ` ] ( https://github.com/AI21Labs/ai21-python/commit/f694e5b35fa3737b478babc8769ef84622edbbb6 ) )
187+
188+ * fix: revert completion message to dataclass (#94 )
189+
190+ * fix: revert completion message to dataclass ([ ` 432ab6f ` ] ( https://github.com/AI21Labs/ai21-python/commit/432ab6fdb1ffae42a3f01c85f23c9450d4da7e89 ) )
191+
192+ * fix: Remove params from chat completions (#92 ) ([ ` 97490f6 ` ] ( https://github.com/AI21Labs/ai21-python/commit/97490f6f515d754f16996ff4bfbb2399f0f858f9 ) )
193+
194+ * fix: Chat completions migration readme (#90 )
195+
196+ * docs: Updated README
197+
198+ * refactor: ChatMessage typed dict
199+
200+ * refactor: role to be literal
201+
202+ * fix: Removed Literal
203+
204+ * fix: model ame
205+
206+ * fix: tests
207+
208+ * fix: typing
209+
210+ * fix: module_name
211+
212+ * fix: test ([ ` ba6d31a ` ] ( https://github.com/AI21Labs/ai21-python/commit/ba6d31a06455bb1ebe4da5ff4fb8a7ea9a3769cb ) )
213+
214+ * fix: all import ([ ` f951393 ` ] ( https://github.com/AI21Labs/ai21-python/commit/f951393399ac33d31681ee14dcaa0ab41f3aa6ed ) )
215+
216+ * fix: circualr imports ([ ` 30f4dce ` ] ( https://github.com/AI21Labs/ai21-python/commit/30f4dce15fde554999f8209fa027fb1c3a57f483 ) )
217+
218+ * fix: alias ([ ` ac9e265 ` ] ( https://github.com/AI21Labs/ai21-python/commit/ac9e265fef87bd1bc34d48acad681ee95f29f2f1 ) )
219+
220+ * fix: model name ([ ` 946009d ` ] ( https://github.com/AI21Labs/ai21-python/commit/946009d37bd8024e52bd7012916debed47c478c7 ) )
221+
222+ * fix: CR ([ ` 9c69bba ` ] ( https://github.com/AI21Labs/ai21-python/commit/9c69bbac34519bf443573592a663fb91792bfa1c ) )
223+
224+ * fix: CR ([ ` de06908 ` ] ( https://github.com/AI21Labs/ai21-python/commit/de069087869ba9c5fe2f629f12797541f8c4febf ) )
225+
226+ * fix: Added deprecation warning ([ ` e47446d ` ] ( https://github.com/AI21Labs/ai21-python/commit/e47446db3867b018cf9d0f33efa06f8d254b8687 ) )
227+
228+ * fix: imports ([ ` ca1a975 ` ] ( https://github.com/AI21Labs/ai21-python/commit/ca1a975e238d7be0ac4f8dae1f2dede5eafb677b ) )
229+
230+ * fix: Added __ all__ ([ ` 1604e1b ` ] ( https://github.com/AI21Labs/ai21-python/commit/1604e1ba3f76d7bcb76fb41ea2f7bb2cd21dc96b ) )
231+
232+ * fix: Chat completions migration readme (#90 )
233+
234+ * docs: Updated README
235+
236+ * refactor: ChatMessage typed dict
237+
238+ * refactor: role to be literal
239+
240+ * fix: Removed Literal
241+
242+ * fix: model ame
243+
244+ * fix: tests
245+
246+ * fix: typing
247+
248+ * fix: module_name
249+
250+ * fix: test ([ ` 25cf1fc ` ] ( https://github.com/AI21Labs/ai21-python/commit/25cf1fc69cf70aec8048301cb2136c66104ba166 ) )
251+
252+ * fix: Fix readme gaps (#87 )
253+
254+ * docs: Added contextual answers examples and shared a link to our examples folder
255+
256+ * fix: Fixed main link in our readme
257+
258+ * docs: Examples section ([ ` bd72c4c ` ] ( https://github.com/AI21Labs/ai21-python/commit/bd72c4c9ad721b92b33bd3c36a8dd0ceea2a9580 ) )
259+
260+ ### Refactor
261+
262+ * refactor: imports and file structure ([ ` 8168820 ` ] ( https://github.com/AI21Labs/ai21-python/commit/8168820c542e71b3a78a180303fa462ba0839678 ) )
263+
264+ * refactor: Moved chat message to different packages ([ ` 0ed63ae ` ] ( https://github.com/AI21Labs/ai21-python/commit/0ed63ae12218d4fdcdf5211a385992869728744e ) )
265+
266+ ### Test
267+
268+ * test: Added a unittest ([ ` 9601c3c ` ] ( https://github.com/AI21Labs/ai21-python/commit/9601c3cf50dabe810e91a7905ffb2a22ffaa2c84 ) )
269+
270+ ### Unknown
271+
272+ * bump: rc.2 ([ ` c413e97 ` ] ( https://github.com/AI21Labs/ai21-python/commit/c413e975bfaa4fcf2c13be9c0e4ed0a283bc33b6 ) )
273+
274+ * Merge remote-tracking branch ' ; origin/rc_sdk_alignments' ; into rc_sdk_alignments ([ ` 080101d ` ] ( https://github.com/AI21Labs/ai21-python/commit/080101d2493bcf8ff8a962b4f4d6b87e69d94a39 ) )
275+
276+ * revert: ruff ([ ` eccc9fc ` ] ( https://github.com/AI21Labs/ai21-python/commit/eccc9fcad7ec56d15eaf88c831663c95fad1423f ) )
277+
278+
5279## v2.1.3 (2024-03-27)
6280
7281### Chore
8282
283+ * chore(release): v2.1.3 [ skip ci] ([ ` a2b783c ` ] ( https://github.com/AI21Labs/ai21-python/commit/a2b783c6e1d7a095f69fc6cc3be86460e12949af ) )
284+
285+ ### Fix
286+
287+ * fix: Fix readme gaps (#87 )
288+
289+ * docs: Added contextual answers examples and shared a link to our examples folder
290+
291+ * fix: Fixed main link in our readme
292+
293+ * docs: Examples section ([ ` da3afed ` ] ( https://github.com/AI21Labs/ai21-python/commit/da3afed67b806a35638ad804172183f8029619ea ) )
294+
295+
296+ ## v2.2.0-rc.1 (2024-03-27)
297+
298+ ### Chore
299+
300+ * chore(release): v2.2.0-rc.1 [ skip ci] ([ ` 888a55f ` ] ( https://github.com/AI21Labs/ai21-python/commit/888a55f596ae0ad60149bd2c3f763bfea02df24d ) )
301+
9302* chore(deps-dev): bump black from 22.12.0 to 24.3.0 (#80 )
10303
11304* chore(deps-dev): bump black from 22.12.0 to 24.3.0
@@ -84,18 +377,48 @@ Signed-off-by: dependabot[bot] <support@github.com>
84377Co-authored-by: dependabot[ bot] < ; 49699333+dependabot[ bot] @users .noreply.github.com> ;
85378Co-authored-by: Asaf Gardin < ; 147075902+asafgardin@users.noreply.github.com > ; ([ ` 7f3ea4a ` ] ( https://github.com/AI21Labs/ai21-python/commit/7f3ea4ab5ff87f92312e6fd873a17cbab010ed4e ) )
86379
380+ ### Documentation
381+
382+ * docs: Updated todo ([ ` 05e4f67 ` ] ( https://github.com/AI21Labs/ai21-python/commit/05e4f67be3fad8ba27adcb7b2e3ec62006d402c5 ) )
383+
384+ ### Feature
385+
386+ * feat: Merge pull request #84 from AI21Labs/feat_chat_completion_support
387+
388+ feat: support chat completion in studio SDK ([ ` 428ad98 ` ] ( https://github.com/AI21Labs/ai21-python/commit/428ad9899abe9fd7461781c675e256736c74eb2e ) )
389+
390+ * feat: support chat completion in studio SDK ([ ` debb61a ` ] ( https://github.com/AI21Labs/ai21-python/commit/debb61ab02b0a5d2590aff5a6f43910504776e88 ) )
391+
87392### Fix
88393
89- * fix: Fix readme gaps ( # 87 )
394+ * fix: all import ( [ ` d200d0e ` ] ( https://github.com/AI21Labs/ai21-python/commit/d200d0edff8d3d441829c45f534b25927dbd7a4f ) )
90395
91- * docs: Added contextual answers examples and shared a link to our examples folder
92-
93- * fix: Fixed main link in our readme
94-
95- * docs: Examples section ([ ` da3afed ` ] ( https://github.com/AI21Labs/ai21-python/commit/da3afed67b806a35638ad804172183f8029619ea ) )
396+ * fix: circualr imports ([ ` debe0de ` ] ( https://github.com/AI21Labs/ai21-python/commit/debe0de4a088cbb9d8f14c677cad5088440486c4 ) )
397+
398+ * fix: alias ([ ` e7aac37 ` ] ( https://github.com/AI21Labs/ai21-python/commit/e7aac373422ebe79608d7f08f1f31372747ef4f8 ) )
399+
400+ * fix: model name ([ ` ad2e205 ` ] ( https://github.com/AI21Labs/ai21-python/commit/ad2e20509c7d8e1b226d7855fdf43f95c8c7e744 ) )
401+
402+ * fix: CR ([ ` 2a2e1d3 ` ] ( https://github.com/AI21Labs/ai21-python/commit/2a2e1d31f1d04e5e760284a2a7e321bab8413f75 ) )
403+
404+ * fix: CR ([ ` 2e7b836 ` ] ( https://github.com/AI21Labs/ai21-python/commit/2e7b83633872e396ed53de78b70f2cf8b1cc2e04 ) )
405+
406+ * fix: Added deprecation warning ([ ` 21d3da8 ` ] ( https://github.com/AI21Labs/ai21-python/commit/21d3da8a191916651b9789929b5ab9571b07bde0 ) )
407+
408+ * fix: imports ([ ` 4f4a291 ` ] ( https://github.com/AI21Labs/ai21-python/commit/4f4a291ea6a87781f7b5ace51f6f53968026097a ) )
409+
410+ * fix: Added __ all__ ([ ` 76d2fad ` ] ( https://github.com/AI21Labs/ai21-python/commit/76d2fadf1983766f22505eec514f4fc34fab26b6 ) )
411+
412+ ### Refactor
413+
414+ * refactor: imports and file structure ([ ` a59e503 ` ] ( https://github.com/AI21Labs/ai21-python/commit/a59e503e551a3a816db45935f6206ee7aa95946b ) )
415+
416+ * refactor: Moved chat message to different packages ([ ` ca5499f ` ] ( https://github.com/AI21Labs/ai21-python/commit/ca5499f4addd0497f7380fa36085509c257f0f03 ) )
96417
97418### Test
98419
420+ * test: Added a unittest ([ ` 4bf975e ` ] ( https://github.com/AI21Labs/ai21-python/commit/4bf975e869d019e55ef573aefd74fbbfdad3aa76 ) )
421+
99422* test: integration test for library files (#83 )
100423
101424* fix: integration test for file
@@ -106,6 +429,10 @@ Co-authored-by: Asaf Gardin <147075902+asafgardin@users.noreply.github.com>
106429
107430* test: check imports (#76 ) ([ ` a72e23b ` ] ( https://github.com/AI21Labs/ai21-python/commit/a72e23b063ad3c1db076ced932bf0f4e6703c576 ) )
108431
432+ ### Unknown
433+
434+ * revert: ruff ([ ` 27911dd ` ] ( https://github.com/AI21Labs/ai21-python/commit/27911dd505f0f60a4f860e533779de96ebfb7852 ) )
435+
109436
110437## v2.1.2 (2024-02-27)
111438
0 commit comments