alita-sdk 0.3.383__py3-none-any.whl → 0.3.384__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.
Potentially problematic release.
This version of alita-sdk might be problematic. Click here for more details.
- alita_sdk/runtime/langchain/document_loaders/constants.py +18 -2
- {alita_sdk-0.3.383.dist-info → alita_sdk-0.3.384.dist-info}/METADATA +1 -1
- {alita_sdk-0.3.383.dist-info → alita_sdk-0.3.384.dist-info}/RECORD +6 -6
- {alita_sdk-0.3.383.dist-info → alita_sdk-0.3.384.dist-info}/WHEEL +0 -0
- {alita_sdk-0.3.383.dist-info → alita_sdk-0.3.384.dist-info}/licenses/LICENSE +0 -0
- {alita_sdk-0.3.383.dist-info → alita_sdk-0.3.384.dist-info}/top_level.txt +0 -0
|
@@ -43,7 +43,7 @@ DEFAULT_ALLOWED_WITH_LLM = {
|
|
|
43
43
|
LoaderProperties.PROMPT.value: "",
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
# Image file loaders mapping
|
|
46
|
+
# Image file loaders mapping - directly supported by LLM with image_url
|
|
47
47
|
image_loaders_map = {
|
|
48
48
|
'.png': {
|
|
49
49
|
'class': AlitaImageLoader,
|
|
@@ -73,6 +73,17 @@ image_loaders_map = {
|
|
|
73
73
|
'kwargs': {},
|
|
74
74
|
'allowed_to_override': DEFAULT_ALLOWED_WITH_LLM
|
|
75
75
|
},
|
|
76
|
+
'.webp': {
|
|
77
|
+
'class': AlitaImageLoader,
|
|
78
|
+
'mime_type': 'image/webp',
|
|
79
|
+
'is_multimodal_processing': True,
|
|
80
|
+
'kwargs': {},
|
|
81
|
+
'allowed_to_override': DEFAULT_ALLOWED_WITH_LLM
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
# Image file loaders mapping - require conversion before sending to LLM
|
|
86
|
+
image_loaders_map_converted = {
|
|
76
87
|
'.bmp': {
|
|
77
88
|
'class': AlitaImageLoader,
|
|
78
89
|
'mime_type': 'image/bmp',
|
|
@@ -292,7 +303,12 @@ default_loader_config = {
|
|
|
292
303
|
code_loaders_map = {ext: default_loader_config for ext in code_extensions}
|
|
293
304
|
|
|
294
305
|
# Combined mapping for backward compatibility
|
|
295
|
-
loaders_map = {
|
|
306
|
+
loaders_map = {
|
|
307
|
+
**image_loaders_map,
|
|
308
|
+
**image_loaders_map_converted,
|
|
309
|
+
**document_loaders_map,
|
|
310
|
+
**code_loaders_map
|
|
311
|
+
}
|
|
296
312
|
|
|
297
313
|
loaders_allowed_to_override = {
|
|
298
314
|
extension: config.get('allowed_to_override')
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alita_sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.384
|
|
4
4
|
Summary: SDK for building langchain agents using resources from Alita
|
|
5
5
|
Author-email: Artem Rozumenko <artyom.rozumenko@gmail.com>, Mikalai Biazruchka <mikalai_biazruchka@epam.com>, Roman Mitusov <roman_mitusov@epam.com>, Ivan Krakhmaliuk <lifedj27@gmail.com>, Artem Dubrovskiy <ad13box@gmail.com>
|
|
6
6
|
License-Expression: Apache-2.0
|
|
@@ -71,7 +71,7 @@ alita_sdk/runtime/langchain/document_loaders/AlitaTableLoader.py,sha256=EO1nJDRP
|
|
|
71
71
|
alita_sdk/runtime/langchain/document_loaders/AlitaTextLoader.py,sha256=EiCIAF_OxSrbuwgOFk2IpxRMvFbctITt2jAI0g_atpk,3586
|
|
72
72
|
alita_sdk/runtime/langchain/document_loaders/ImageParser.py,sha256=RQ4zGdSw42ec8c6Eb48uFadayWuiT4FbwhGVwhSw60s,1065
|
|
73
73
|
alita_sdk/runtime/langchain/document_loaders/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
74
|
-
alita_sdk/runtime/langchain/document_loaders/constants.py,sha256=
|
|
74
|
+
alita_sdk/runtime/langchain/document_loaders/constants.py,sha256=eA3bbKPLOIsc58C5qvncom4Y9P2g_A8OWxcU106sZe8,9417
|
|
75
75
|
alita_sdk/runtime/langchain/document_loaders/utils.py,sha256=9xghESf3axBbwxATyVuS0Yu-TWe8zWZnXgCD1ZVyNW0,2414
|
|
76
76
|
alita_sdk/runtime/langchain/interfaces/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
77
77
|
alita_sdk/runtime/langchain/interfaces/kwextractor.py,sha256=kSJA9L8g8UArmHu7Bd9dIO0Rrq86JPUb8RYNlnN68FQ,3072
|
|
@@ -353,8 +353,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=kT0TbmMvuKhDUZc0i7KO18O38JM9S
|
|
|
353
353
|
alita_sdk/tools/zephyr_squad/__init__.py,sha256=0ne8XLJEQSLOWfzd2HdnqOYmQlUliKHbBED5kW_Vias,2895
|
|
354
354
|
alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
|
|
355
355
|
alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
|
|
356
|
-
alita_sdk-0.3.
|
|
357
|
-
alita_sdk-0.3.
|
|
358
|
-
alita_sdk-0.3.
|
|
359
|
-
alita_sdk-0.3.
|
|
360
|
-
alita_sdk-0.3.
|
|
356
|
+
alita_sdk-0.3.384.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
357
|
+
alita_sdk-0.3.384.dist-info/METADATA,sha256=VHvMgn5EUQrT30RhfiBunsMUli43ewLbCo8PrCvvvTY,19071
|
|
358
|
+
alita_sdk-0.3.384.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
359
|
+
alita_sdk-0.3.384.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
|
|
360
|
+
alita_sdk-0.3.384.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|