alita-sdk 0.3.147__py3-none-any.whl → 0.3.148__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.
@@ -179,7 +179,9 @@ class BaseToolApiWrapper(BaseModel):
179
179
  # Re-raise with the user-friendly message while preserving the original exception
180
180
  raise ToolException(user_friendly_message) from e
181
181
  else:
182
- raise ValueError(f"Unknown mode: {mode}")
182
+ raise ValueError(f"Unknown mode: {mode}. "
183
+ f"Available modes: {', '.join([tool['name'] for tool in self.get_available_tools()])}. "
184
+ f"Review the tool's name in your request.")
183
185
 
184
186
 
185
187
  class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.147
3
+ Version: 0.3.148
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 <lifedjik@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -62,7 +62,7 @@ Requires-Dist: rlpycairo==0.3.0; extra == "runtime"
62
62
  Requires-Dist: cairocffi==1.7.1; extra == "runtime"
63
63
  Requires-Dist: docx2txt==0.8; extra == "runtime"
64
64
  Requires-Dist: mammoth==1.9.0; extra == "runtime"
65
- Requires-Dist: opentelemetry-exporter-otlp-proto-grpc; extra == "runtime"
65
+ Requires-Dist: opentelemetry-exporter-otlp-proto-grpc>1.11.1; extra == "runtime"
66
66
  Requires-Dist: sentence-transformers==2.7.0; extra == "runtime"
67
67
  Provides-Extra: tools
68
68
  Requires-Dist: dulwich==0.21.6; extra == "tools"
@@ -448,4 +448,7 @@ To test your toolkit, you can use the Streamlit application (`alita_local.py`) t
448
448
  - Choose your toolkit from the dropdown menu.
449
449
  - Adjust the configuration parameters as needed, and then test the tools by sending queries to them.
450
450
 
451
+ **NOTE**: use `function mode` for testing of required tool.
452
+
451
453
  ![custom_toolkit_config](docs/readme_imgs/custom_toolkit_config.png "custom_toolkit_config")
454
+ ![custom_toolkit_testing_interface](docs/readme_imgs/toolkit_testing_interface.png "custom_toolkit_testing_interface")
@@ -129,7 +129,7 @@ alita_sdk/runtime/utils/save_dataframe.py,sha256=tNwnaVCvN4_B0oi3F4Y3Z13elbIRtwK
129
129
  alita_sdk/runtime/utils/streamlit.py,sha256=z4J_bdxkA0zMROkvTB4u379YBRFCkKh-h7PD8RlnZWQ,85644
130
130
  alita_sdk/runtime/utils/utils.py,sha256=dM8whOJAuFJFe19qJ69-FLzrUp6d2G-G6L7d4ss2XqM,346
131
131
  alita_sdk/tools/__init__.py,sha256=rAfKAUM8htvFH-YBc75kIK1COhyMSbzP2ysnjS9fbKY,8614
132
- alita_sdk/tools/elitea_base.py,sha256=PdeslMciJ9lEaxI561FNASi4uIWI_Dn99odB8VjWn-A,20927
132
+ alita_sdk/tools/elitea_base.py,sha256=NQaIxPX6DVIerHCb18jwUR6maZxxk73NZaTsFHkBQWE,21119
133
133
  alita_sdk/tools/ado/__init__.py,sha256=mD6GHcYMTtffPJkJvFPe2rzvye_IRmXmWfI7xYuZhO4,912
134
134
  alita_sdk/tools/ado/utils.py,sha256=PTCludvaQmPLakF2EbCGy66Mro4-rjDtavVP-xcB2Wc,1252
135
135
  alita_sdk/tools/ado/repos/__init__.py,sha256=U8MA5VA3hDRomcbbZ2bS8zzwnGYnAfOlLN3jfIOdWMU,5217
@@ -312,8 +312,8 @@ alita_sdk/tools/zephyr_enterprise/api_wrapper.py,sha256=Ir3zHljhbZQJRJJQOBzS_GL5
312
312
  alita_sdk/tools/zephyr_enterprise/zephyr_enterprise.py,sha256=hV9LIrYfJT6oYp-ZfQR0YHflqBFPsUw2Oc55HwK0H48,6809
313
313
  alita_sdk/tools/zephyr_scale/__init__.py,sha256=2NTcdrfkx4GSegqyXhsPLsEpc4FlACuDy85b0fk6cAo,4572
314
314
  alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=UHVQUVqcBc3SZvDfO78HSuBzwAsRw2cCDQa-xMOzndE,68663
315
- alita_sdk-0.3.147.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
316
- alita_sdk-0.3.147.dist-info/METADATA,sha256=heNiiswu9vSjcZ3RiiOKYhgTyJLSUXYA0nW8dYeskWc,18231
317
- alita_sdk-0.3.147.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
318
- alita_sdk-0.3.147.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
319
- alita_sdk-0.3.147.dist-info/RECORD,,
315
+ alita_sdk-0.3.148.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
316
+ alita_sdk-0.3.148.dist-info/METADATA,sha256=4YPh627MjXCdFWepoidv1eLeFpD3iDrMBldXGeUJ-bE,18418
317
+ alita_sdk-0.3.148.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
318
+ alita_sdk-0.3.148.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
319
+ alita_sdk-0.3.148.dist-info/RECORD,,