alita-sdk 0.3.213__py3-none-any.whl → 0.3.215__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.
@@ -180,6 +180,7 @@ class AlitaClient:
180
180
  temperature=model_config.get("temperature"),
181
181
  max_retries=model_config.get("max_retries", 3),
182
182
  seed=model_config.get("seed", None),
183
+ openai_organization=str(self.project_id),
183
184
  )
184
185
 
185
186
 
@@ -76,8 +76,8 @@ def get_tools(tools_list: list, alita_client, llm, memory_store: BaseStore = Non
76
76
  # indexer settings
77
77
  connection_string=tool['settings'].get('connection_string', None),
78
78
  collection_name=f"{tool.get('toolkit_name')}_{str(tool['id'])}",
79
- embedding_model="HuggingFaceEmbeddings",
80
- embedding_model_params={"model_name": "sentence-transformers/all-MiniLM-L6-v2"},
79
+ embedding_model=tool['settings'].get('embedding_model', None),
80
+ embedding_model_params=tool['settings'].get('embedding_model_params', None),
81
81
  vectorstore_type="PGVector"
82
82
  ).get_tools())
83
83
  elif tool['type'] == 'vectorstore':
@@ -114,7 +114,7 @@ BaseIndexDataParams = create_model(
114
114
  description="Optional step size for progress reporting during indexing")),
115
115
  clean_index=(Optional[bool], Field(default=False,
116
116
  description="Optional flag to enforce clean existing index before indexing new data")),
117
- chunking_tool=(Literal['markdown', 'statistical', 'proposal'], Field(description="Name of chunking tool", default=None)),
117
+ chunking_tool=(Literal['','markdown', 'statistical', 'proposal'], Field(description="Name of chunking tool", default=None)),
118
118
  chunking_config=(Optional[dict], Field(description="Chunking tool configuration", default_factory=dict)),
119
119
  )
120
120
 
@@ -350,9 +350,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
350
350
  "alita_sdk_options": {
351
351
  "target_schema": collection_name,
352
352
  },
353
- # "connection_string": self.connection_string.get_secret_value()
354
- # 'postgresql+psycopg://project_23_user:Rxu4QtM2InLVNnm62GX7@pgvector:5432/project_23'
355
- "connection_string": 'postgresql+psycopg://postgres:yourpassword@localhost:5432/postgres'
353
+ "connection_string": self.connection_string.get_secret_value()
356
354
  }
357
355
  elif self.vectorstore_type == 'Chroma':
358
356
  vectorstore_params = {
@@ -26,7 +26,6 @@ def get_tools(tool):
26
26
  alita=tool['settings'].get('alita', None),
27
27
  connection_string=tool['settings'].get('connection_string', None),
28
28
  collection_name=f"{tool.get('toolkit_name')}_{str(tool['id'])}",
29
- doctype='code',
30
29
  embedding_model="HuggingFaceEmbeddings",
31
30
  embedding_model_params={"model_name": "sentence-transformers/all-MiniLM-L6-v2"},
32
31
  vectorstore_type="PGVector",
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.213
3
+ Version: 0.3.215
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>, Artem Dubrovskiy <ad13box@gmail.com>
6
6
  License-Expression: Apache-2.0
@@ -4,7 +4,7 @@ alita_sdk/community/utils.py,sha256=lvuCJaNqVPHOORJV6kIPcXJcdprVW_TJvERtYAEgpjM,
4
4
  alita_sdk/runtime/__init__.py,sha256=4W0UF-nl3QF2bvET5lnah4o24CoTwSoKXhuN0YnwvEE,828
5
5
  alita_sdk/runtime/clients/__init__.py,sha256=BdehU5GBztN1Qi1Wul0cqlU46FxUfMnI6Vq2Zd_oq1M,296
6
6
  alita_sdk/runtime/clients/artifact.py,sha256=H3pJAh5G-zWVyJ6YbqHGk4jA8U6HfacQduiTivpJZ3Y,3210
7
- alita_sdk/runtime/clients/client.py,sha256=hJfSzl8AkBvMJeB3TGZGtScSqR6kku-Q7J9qND0PSB0,41951
7
+ alita_sdk/runtime/clients/client.py,sha256=hbATwaA_H70ViTv5gHSYVu3MZ64YXY5ZyZ7TVsoI138,42005
8
8
  alita_sdk/runtime/clients/datasource.py,sha256=HAZovoQN9jBg0_-lIlGBQzb4FJdczPhkHehAiVG3Wx0,1020
9
9
  alita_sdk/runtime/clients/prompt.py,sha256=li1RG9eBwgNK_Qf0qUaZ8QNTmsncFrAL2pv3kbxZRZg,1447
10
10
  alita_sdk/runtime/langchain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
@@ -64,7 +64,7 @@ alita_sdk/runtime/toolkits/artifact.py,sha256=_vQOR4_xPeyOd3Gqcf5vDxTu2uLzViYt7i
64
64
  alita_sdk/runtime/toolkits/datasource.py,sha256=qk78OdPoReYPCWwahfkKLbKc4pfsu-061oXRryFLP6I,2498
65
65
  alita_sdk/runtime/toolkits/prompt.py,sha256=WIpTkkVYWqIqOWR_LlSWz3ug8uO9tm5jJ7aZYdiGRn0,1192
66
66
  alita_sdk/runtime/toolkits/subgraph.py,sha256=ZYqI4yVLbEPAjCR8dpXbjbL2ipX598Hk3fL6AgaqFD4,1758
67
- alita_sdk/runtime/toolkits/tools.py,sha256=mveqxu4L8PbOKwXMp_7l86lwRPU88xS4FHcuk1QFLcM,8034
67
+ alita_sdk/runtime/toolkits/tools.py,sha256=qSVGfVJXNMe_9x2bwWvlXPJe5Q89FtgJooqx5UPdlxM,8052
68
68
  alita_sdk/runtime/toolkits/vectorstore.py,sha256=BGppQADa1ZiLO17fC0uCACTTEvPHlodEDYEzUcBRbAA,2901
69
69
  alita_sdk/runtime/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
70
70
  alita_sdk/runtime/tools/agent.py,sha256=m98QxOHwnCRTT9j18Olbb5UPS8-ZGeQaGiUyZJSyFck,3162
@@ -94,7 +94,7 @@ alita_sdk/runtime/utils/toolkit_runtime.py,sha256=MU63Fpxj0b5_r1IUUc0Q3-PN9VwL7r
94
94
  alita_sdk/runtime/utils/toolkit_utils.py,sha256=I9QFqnaqfVgN26LUr6s3XlBlG6y0CoHURnCzG7XcwVs,5311
95
95
  alita_sdk/runtime/utils/utils.py,sha256=CpEl3LCeLbhzQySz08lkKPm7Auac6IiLF7WB8wmArMI,589
96
96
  alita_sdk/tools/__init__.py,sha256=kTw83lzfWf4HWlvGzfwwHhQlRhpPAbfCAhKkMWCzLFo,10324
97
- alita_sdk/tools/elitea_base.py,sha256=lXTMYO-QmaPAWOq5zfIR-M4KNz9xE1lQZFCK1ZKMq-k,29567
97
+ alita_sdk/tools/elitea_base.py,sha256=K5ejMrOZQ566y_D9nH0f2RRbXHctZaV8vOSc78d7jTs,29359
98
98
  alita_sdk/tools/ado/__init__.py,sha256=2NMQwt2pjIukSC9nSZ7CLocdGpK7002x7ixKr_wunxk,1313
99
99
  alita_sdk/tools/ado/utils.py,sha256=PTCludvaQmPLakF2EbCGy66Mro4-rjDtavVP-xcB2Wc,1252
100
100
  alita_sdk/tools/ado/repos/__init__.py,sha256=guYY95Gtyb0S4Jj0V1qO0x2jlRoH0H1cKjHXNwmShow,6388
@@ -218,7 +218,7 @@ alita_sdk/tools/google/bigquery/schemas.py,sha256=Gb8KQZSoRkmjXiz21dTC95c1MHEHFc
218
218
  alita_sdk/tools/google/bigquery/tool.py,sha256=Esf9Hsp8I0e7-5EdkFqQ-bid0cfrg-bfSoHoW_IIARo,1027
219
219
  alita_sdk/tools/google_places/__init__.py,sha256=mHKc7u9P2gqGDzqqJNQC9qiZYEm5gncnM_1XjtrM17o,3152
220
220
  alita_sdk/tools/google_places/api_wrapper.py,sha256=7nZly6nk4f4Tm7s2MVdnnwlb-1_WHRrDhyjDiqoyPjA,4674
221
- alita_sdk/tools/jira/__init__.py,sha256=njhqtVBjA9K6JfGn7nUfxAhy1egt043r3ideaWj1ers,6263
221
+ alita_sdk/tools/jira/__init__.py,sha256=siRFageS8tm9Ak67cWq8BgfnhUWcVrPK52zj4p60ZvI,6239
222
222
  alita_sdk/tools/jira/api_wrapper.py,sha256=gZXEtOZtWvINHipHPj8Dg6uNyYKZariLo4Bs3_wLJrA,75932
223
223
  alita_sdk/tools/keycloak/__init__.py,sha256=0WB9yXMUUAHQRni1ghDEmd7GYa7aJPsTVlZgMCM9cQ0,3050
224
224
  alita_sdk/tools/keycloak/api_wrapper.py,sha256=cOGr0f3S3-c6tRDBWI8wMnetjoNSxiV5rvC_0VHb8uw,3100
@@ -302,8 +302,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=kYYOJX15VLRcuEFpobpW2JHw_WND2
302
302
  alita_sdk/tools/zephyr_squad/__init__.py,sha256=0AI_j27xVO5Gk5HQMFrqPTd4uvuVTpiZUicBrdfEpKg,2796
303
303
  alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
304
304
  alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
305
- alita_sdk-0.3.213.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
306
- alita_sdk-0.3.213.dist-info/METADATA,sha256=OmC6Xr4jOan5dWj15Xzv2qQGEN2ivvV6-JdRnKTCNJ8,18917
307
- alita_sdk-0.3.213.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
308
- alita_sdk-0.3.213.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
309
- alita_sdk-0.3.213.dist-info/RECORD,,
305
+ alita_sdk-0.3.215.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
306
+ alita_sdk-0.3.215.dist-info/METADATA,sha256=ex-fUvLuk6WJYDqw9-7Iirp52FvANnetlFYCt51m7D0,18917
307
+ alita_sdk-0.3.215.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
308
+ alita_sdk-0.3.215.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
309
+ alita_sdk-0.3.215.dist-info/RECORD,,