alita-sdk 0.3.307__py3-none-any.whl → 0.3.308__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.
@@ -16,7 +16,6 @@ name = "confluence"
16
16
  def get_tools(tool):
17
17
  return ConfluenceToolkit().get_toolkit(
18
18
  selected_tools=tool['settings'].get('selected_tools', []),
19
- base_url=tool['settings']['base_url'],
20
19
  space=tool['settings'].get('space', None),
21
20
  cloud=tool['settings'].get('cloud', True),
22
21
  confluence_configuration=tool['settings']['confluence_configuration'],
@@ -82,7 +81,7 @@ class ConfluenceToolkit(BaseToolkit):
82
81
  min_retry_seconds=(int, Field(description="Min retry, sec", default=10)),
83
82
  max_retry_seconds=(int, Field(description="Max retry, sec", default=60)),
84
83
  # optional field for custom headers as dictionary
85
- custom_headers=(Optional[dict], Field(description="Custom headers for API requests", default=None)),
84
+ custom_headers=(Optional[dict], Field(description="Custom headers for API requests", default={})),
86
85
  confluence_configuration=(ConfluenceConfiguration, Field(description="Confluence Configuration", json_schema_extra={'configuration_types': ['confluence']})),
87
86
  pgvector_configuration=(Optional[PgVectorConfiguration], Field(default = None,
88
87
  description="PgVector Configuration",
@@ -193,15 +193,6 @@ class ConfluenceAPIWrapper(BaseVectorStoreToolApiWrapper):
193
193
  keep_markdown_format: Optional[bool] = True
194
194
  ocr_languages: Optional[str] = None
195
195
  keep_newlines: Optional[bool] = True
196
- llm: Any = None
197
- # indexer related
198
- connection_string: Optional[SecretStr] = None
199
- collection_name: Optional[str] = None
200
- doctype: Optional[str] = 'doc'
201
- embedding_model: Optional[str] = "HuggingFaceEmbeddings"
202
- embedding_model_params: Optional[Dict[str, Any]] = {"model_name": "sentence-transformers/all-MiniLM-L6-v2"}
203
- vectorstore_type: Optional[str] = "PGVector"
204
-
205
196
  _image_cache: ImageDescriptionCache = PrivateAttr(default_factory=ImageDescriptionCache)
206
197
 
207
198
  @model_validator(mode='before')
@@ -233,7 +224,7 @@ class ConfluenceAPIWrapper(BaseVectorStoreToolApiWrapper):
233
224
  client_instance = Confluence(url=url, username=username, password=api_key, cloud=cloud)
234
225
 
235
226
  custom_headers = values.get('custom_headers', {})
236
- logger.info(f"Jira tool: custom headers length: {len(custom_headers)}")
227
+ logger.info(f"Confluence tool: custom headers length: {len(custom_headers)}")
237
228
  for header, value in custom_headers.items():
238
229
  client_instance._update_header(header, value)
239
230
 
@@ -75,7 +75,7 @@ class JiraToolkit(BaseToolkit):
75
75
  examples="alita,elitea;another-label"
76
76
  )),
77
77
  # optional field for custom headers as dictionary
78
- custom_headers=(Optional[dict], Field(description="Custom headers for API requests", default=None)),
78
+ custom_headers=(Optional[dict], Field(description="Custom headers for API requests", default={})),
79
79
  verify_ssl=(bool, Field(description="Verify SSL", default=True)),
80
80
  additional_fields=(Optional[str], Field(description="Additional fields", default="")),
81
81
  jira_configuration=(JiraConfiguration, Field(description="Jira Configuration", json_schema_extra={'configuration_types': ['jira']})),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.307
3
+ Version: 0.3.308
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
@@ -226,8 +226,8 @@ alita_sdk/tools/code/linter/api_wrapper.py,sha256=wylpwhAw02Jt8L18CqBq2He5PbwIkx
226
226
  alita_sdk/tools/code/loaders/codesearcher.py,sha256=XoXXZtIQZhvjIwZlnl_4wVGHC-3saYzFo5oDR_Zh3EY,529
227
227
  alita_sdk/tools/code/sonar/__init__.py,sha256=iPqj2PnUY4-btJjaDeWIPdn-c9L_uCr_qOoP_uwRoXw,3360
228
228
  alita_sdk/tools/code/sonar/api_wrapper.py,sha256=nNqxcWN_6W8c0ckj-Er9HkNuAdgQLoWBXh5UyzNutis,2653
229
- alita_sdk/tools/confluence/__init__.py,sha256=9XmoKkfNepxRsjwEQ_hQIVFMK3c6_ZgXFLJbob4hfHY,6894
230
- alita_sdk/tools/confluence/api_wrapper.py,sha256=-wQduJUk2wwfBQGQHSWuCnrt35gfp195nSKUFVSPS1s,85218
229
+ alita_sdk/tools/confluence/__init__.py,sha256=zRnPBM1c7VTRTS955HNc7AEGV5t8ACc2f9wBXmmeXao,6845
230
+ alita_sdk/tools/confluence/api_wrapper.py,sha256=CVsdV7uEmiAPrdWU-2YQTzr4mYZr-IM4TB7VYa2d7Lk,84832
231
231
  alita_sdk/tools/confluence/loader.py,sha256=4bf5qrJMEiJzuZp2NlxO2XObLD1w7fxss_WyMUpe8sg,9290
232
232
  alita_sdk/tools/confluence/utils.py,sha256=Lxo6dBD0OlvM4o0JuK6qeB_4LV9BptiwJA9e1vqNcDw,435
233
233
  alita_sdk/tools/custom_open_api/__init__.py,sha256=9aT5SPNPWcJC6jMZEM-3rUCXVULj_3-qJLQKmnreKNo,2537
@@ -259,7 +259,7 @@ alita_sdk/tools/google/bigquery/schemas.py,sha256=Gb8KQZSoRkmjXiz21dTC95c1MHEHFc
259
259
  alita_sdk/tools/google/bigquery/tool.py,sha256=Esf9Hsp8I0e7-5EdkFqQ-bid0cfrg-bfSoHoW_IIARo,1027
260
260
  alita_sdk/tools/google_places/__init__.py,sha256=QtmBCI0bHDK79u4hsCSWFcUihu-h4EmPSh9Yll7zz3w,3590
261
261
  alita_sdk/tools/google_places/api_wrapper.py,sha256=7nZly6nk4f4Tm7s2MVdnnwlb-1_WHRrDhyjDiqoyPjA,4674
262
- alita_sdk/tools/jira/__init__.py,sha256=bwn8MADeHshi2fue6MUs6JUTbp6ytdDWtiSxTliVve4,6341
262
+ alita_sdk/tools/jira/__init__.py,sha256=G-9qnOYKFWM_adG0QFexh5-2pj_WaxIxxZanB3ARFqI,6339
263
263
  alita_sdk/tools/jira/api_wrapper.py,sha256=htEqFLhiRHHJhq0kmmF0eSFRvk4p1gwG0A_ENnT_hRQ,79264
264
264
  alita_sdk/tools/keycloak/__init__.py,sha256=0WB9yXMUUAHQRni1ghDEmd7GYa7aJPsTVlZgMCM9cQ0,3050
265
265
  alita_sdk/tools/keycloak/api_wrapper.py,sha256=cOGr0f3S3-c6tRDBWI8wMnetjoNSxiV5rvC_0VHb8uw,3100
@@ -349,8 +349,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=A6CUEKjENt3mZlPU9lai88WV9esCD
349
349
  alita_sdk/tools/zephyr_squad/__init__.py,sha256=0ne8XLJEQSLOWfzd2HdnqOYmQlUliKHbBED5kW_Vias,2895
350
350
  alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
351
351
  alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
352
- alita_sdk-0.3.307.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
353
- alita_sdk-0.3.307.dist-info/METADATA,sha256=mXVh3_HSDdhS4zFiP3yeFCIt-Q-2FUiOLAoP0UEz8Yk,18897
354
- alita_sdk-0.3.307.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
355
- alita_sdk-0.3.307.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
356
- alita_sdk-0.3.307.dist-info/RECORD,,
352
+ alita_sdk-0.3.308.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
353
+ alita_sdk-0.3.308.dist-info/METADATA,sha256=BaPlZtBEaS9qA5Ew9gRuwtuByDIMKxNNaSQ0Hwyrrsc,18897
354
+ alita_sdk-0.3.308.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
355
+ alita_sdk-0.3.308.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
356
+ alita_sdk-0.3.308.dist-info/RECORD,,