unique_toolkit 0.5.45__py3-none-any.whl → 0.5.46__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- unique_toolkit/language_model/infos.py +20 -4
- {unique_toolkit-0.5.45.dist-info → unique_toolkit-0.5.46.dist-info}/METADATA +5 -2
- {unique_toolkit-0.5.45.dist-info → unique_toolkit-0.5.46.dist-info}/RECORD +5 -5
- {unique_toolkit-0.5.45.dist-info → unique_toolkit-0.5.46.dist-info}/LICENSE +0 -0
- {unique_toolkit-0.5.45.dist-info → unique_toolkit-0.5.46.dist-info}/WHEEL +0 -0
@@ -11,6 +11,7 @@ class LanguageModelName(StrEnum):
|
|
11
11
|
AZURE_GPT_35_TURBO_0613 = "AZURE_GPT_35_TURBO_0613"
|
12
12
|
AZURE_GPT_35_TURBO = "AZURE_GPT_35_TURBO"
|
13
13
|
AZURE_GPT_35_TURBO_16K = "AZURE_GPT_35_TURBO_16K"
|
14
|
+
AZURE_GPT_35_TURBO_0125 = "AZURE_GPT_35_TURBO_0125"
|
14
15
|
AZURE_GPT_4_0613 = "AZURE_GPT_4_0613"
|
15
16
|
AZURE_GPT_4_TURBO_1106 = "AZURE_GPT_4_TURBO_1106"
|
16
17
|
AZURE_GPT_4_VISION_PREVIEW = "AZURE_GPT_4_VISION_PREVIEW"
|
@@ -33,6 +34,7 @@ def get_encoder_name(model_name: LanguageModelName) -> Optional[EncoderName]:
|
|
33
34
|
LMN.AZURE_GPT_35_TURBO
|
34
35
|
| LMN.AZURE_GPT_35_TURBO_16K
|
35
36
|
| LMN.AZURE_GPT_35_TURBO_0613
|
37
|
+
| LMN.AZURE_GPT_35_TURBO_0125
|
36
38
|
):
|
37
39
|
return EncoderName.CL100K_BASE
|
38
40
|
case (
|
@@ -278,7 +280,7 @@ AzureGpt35Turbo0613 = create_language_model(
|
|
278
280
|
token_limit=8192,
|
279
281
|
info_cutoff_at=date(2021, 9, 1),
|
280
282
|
published_at=date(2023, 6, 13),
|
281
|
-
retirement_at=date(
|
283
|
+
retirement_at=date(2025, 2, 13),
|
282
284
|
)
|
283
285
|
|
284
286
|
AzureGpt35Turbo = create_language_model(
|
@@ -289,6 +291,7 @@ AzureGpt35Turbo = create_language_model(
|
|
289
291
|
token_limit=4096,
|
290
292
|
info_cutoff_at=date(2021, 9, 1),
|
291
293
|
published_at=date(2023, 3, 1),
|
294
|
+
retirement_at=date(2025, 2, 13),
|
292
295
|
)
|
293
296
|
|
294
297
|
|
@@ -300,7 +303,20 @@ AzureGpt35Turbo16k = create_language_model(
|
|
300
303
|
token_limit=16382,
|
301
304
|
info_cutoff_at=date(2021, 9, 1),
|
302
305
|
published_at=date(2023, 6, 13),
|
303
|
-
retirement_at=date(
|
306
|
+
retirement_at=date(2025, 2, 13),
|
307
|
+
)
|
308
|
+
|
309
|
+
|
310
|
+
AzureGpt35Turbo0125 = create_language_model(
|
311
|
+
name=LanguageModelName.AZURE_GPT_35_TURBO_0125,
|
312
|
+
provider=LanguageModelProvider.AZURE,
|
313
|
+
version="0125",
|
314
|
+
encoder_name=get_encoder_name(LanguageModelName.AZURE_GPT_35_TURBO_0125),
|
315
|
+
token_limit_input=16385,
|
316
|
+
token_limit_output=4096,
|
317
|
+
info_cutoff_at=date(2021, 9, 1),
|
318
|
+
published_at=date(2023, 1, 25),
|
319
|
+
retirement_at=date(5, 3, 31),
|
304
320
|
)
|
305
321
|
|
306
322
|
|
@@ -313,7 +329,7 @@ AzureGpt40613 = create_language_model(
|
|
313
329
|
info_cutoff_at=date(2021, 9, 1),
|
314
330
|
published_at=date(2023, 6, 13),
|
315
331
|
deprecated_at=date(2024, 10, 1),
|
316
|
-
retirement_at=date(2025, 6,
|
332
|
+
retirement_at=date(2025, 6, 6),
|
317
333
|
)
|
318
334
|
|
319
335
|
|
@@ -349,7 +365,7 @@ AzureGpt432k0613 = create_language_model(
|
|
349
365
|
info_cutoff_at=date(2021, 9, 1),
|
350
366
|
published_at=date(2023, 6, 13),
|
351
367
|
deprecated_at=date(2024, 10, 1),
|
352
|
-
retirement_at=date(2025, 6,
|
368
|
+
retirement_at=date(2025, 6, 6),
|
353
369
|
)
|
354
370
|
|
355
371
|
AzureGpt4Turbo20240409 = create_language_model(
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: unique_toolkit
|
3
|
-
Version: 0.5.
|
3
|
+
Version: 0.5.46
|
4
4
|
Summary:
|
5
5
|
License: Proprietary
|
6
6
|
Author: Martin Fadler
|
@@ -79,7 +79,7 @@ The `unique_toolkit.embedding` module encompasses all embedding related function
|
|
79
79
|
The `unique_toolkit.language_model` module encompasses all language model related functionality and information on the different language models deployed through the
|
80
80
|
Unique platform.
|
81
81
|
|
82
|
-
- `infos.py` comprises the information on all language models deployed through the Unique platform. We recommend to use the LanguageModel class, initialized with the LanguageModelName, e.g., LanguageModel(LanguageModelName.
|
82
|
+
- `infos.py` comprises the information on all language models deployed through the Unique platform. We recommend to use the LanguageModel class, initialized with the LanguageModelName, e.g., LanguageModel(LanguageModelName.AZURE_GPT_35_TURBO_0125) to get the information on the specific language model like the name, version, token limits or retirement date.
|
83
83
|
- `service.py` comprises the LanguageModelService and provides an interface to interact with the language models, e.g., complete or stream_complete.
|
84
84
|
- `schemas.py` comprises all relevant schemas, e.g., LanguageModelResponse, used in the LanguageModelService.
|
85
85
|
- `utils.py` comprises utility functions to parse the output of the language model, e.g., convert_string_to_json finds and parses the last json object in a string.
|
@@ -100,6 +100,9 @@ All notable changes to this project will be documented in this file.
|
|
100
100
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
101
101
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
102
102
|
|
103
|
+
## [0.5.46] - 2025-01-07
|
104
|
+
- Added `AZURE_GPT_35_TURBO_0125` as new model into toolkit.
|
105
|
+
|
103
106
|
## [0.5.45] - 2025-01-03
|
104
107
|
- Added `ShortTermMemoryService` class to handle short term memory.
|
105
108
|
|
@@ -36,14 +36,14 @@ unique_toolkit/evaluators/hallucination/utils.py,sha256=507BsX1mFTEne1-LdRCNMgBj
|
|
36
36
|
unique_toolkit/evaluators/output_parser.py,sha256=eI72qkzK1dZyUvnfP2SOAQCGBj_-PwX5wy_aLPMsJMY,883
|
37
37
|
unique_toolkit/evaluators/schemas.py,sha256=Jaue6Uhx75X1CyHKWj8sT3RE1JZXTqoLtfLt2xQNCX8,2507
|
38
38
|
unique_toolkit/language_model/__init__.py,sha256=hgk5yiFF4SpIcE2QSoki9YknFxmcKnq2LCJ1cK9de9I,1830
|
39
|
-
unique_toolkit/language_model/infos.py,sha256=
|
39
|
+
unique_toolkit/language_model/infos.py,sha256=NgoV05ausVWMqrYqgH6i3s7tYG7mejupROIF_bwEGZo,13050
|
40
40
|
unique_toolkit/language_model/prompt.py,sha256=JSawaLjQg3VR-E2fK8engFyJnNdk21zaO8pPIodzN4Q,3991
|
41
41
|
unique_toolkit/language_model/schemas.py,sha256=MBwEAFnnCYjSpbZDUYLrqkCc-0bsarsepSQEj1v6YEY,6991
|
42
42
|
unique_toolkit/language_model/service.py,sha256=brNCPRA0XxgqHi2rI5i2lyFCkUiw4MNMe1VaR3UgWmY,15500
|
43
43
|
unique_toolkit/language_model/utils.py,sha256=bPQ4l6_YO71w-zaIPanUUmtbXC1_hCvLK0tAFc3VCRc,1902
|
44
44
|
unique_toolkit/short_term_memory/schemas.py,sha256=OhfcXyF6ACdwIXW45sKzjtZX_gkcJs8FEZXcgQTNenw,1406
|
45
45
|
unique_toolkit/short_term_memory/service.py,sha256=Jd9P72-VvJy7hnqNrjmrmB5BHmsKuOpTiT0Jr-dBbsQ,1682
|
46
|
-
unique_toolkit-0.5.
|
47
|
-
unique_toolkit-0.5.
|
48
|
-
unique_toolkit-0.5.
|
49
|
-
unique_toolkit-0.5.
|
46
|
+
unique_toolkit-0.5.46.dist-info/LICENSE,sha256=GlN8wHNdh53xwOPg44URnwag6TEolCjoq3YD_KrWgss,193
|
47
|
+
unique_toolkit-0.5.46.dist-info/METADATA,sha256=dOAcMwh7VpRNOedFNvGEA_AypsA-LCuuVqQknJxO_Sc,15336
|
48
|
+
unique_toolkit-0.5.46.dist-info/WHEEL,sha256=sP946D7jFCHeNz5Iq4fL4Lu-PrWrFsgfLXbbkciIZwg,88
|
49
|
+
unique_toolkit-0.5.46.dist-info/RECORD,,
|
File without changes
|
File without changes
|