alita-sdk 0.3.373__py3-none-any.whl → 0.3.375__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/clients/artifact.py +1 -1
- alita_sdk/runtime/clients/sandbox_client.py +365 -0
- alita_sdk/runtime/langchain/assistant.py +4 -2
- alita_sdk/runtime/langchain/langraph_agent.py +12 -0
- alita_sdk/runtime/tools/function.py +71 -0
- alita_sdk/runtime/tools/sandbox.py +16 -18
- alita_sdk/runtime/tools/vectorstore.py +20 -20
- alita_sdk/runtime/tools/vectorstore_base.py +14 -14
- alita_sdk/tools/base_indexer_toolkit.py +43 -43
- alita_sdk/tools/code_indexer_toolkit.py +2 -2
- alita_sdk/tools/confluence/api_wrapper.py +1 -1
- alita_sdk/tools/elitea_base.py +23 -23
- alita_sdk/tools/non_code_indexer_toolkit.py +2 -2
- alita_sdk/tools/vector_adapters/VectorStoreAdapter.py +22 -22
- {alita_sdk-0.3.373.dist-info → alita_sdk-0.3.375.dist-info}/METADATA +1 -1
- {alita_sdk-0.3.373.dist-info → alita_sdk-0.3.375.dist-info}/RECORD +19 -18
- {alita_sdk-0.3.373.dist-info → alita_sdk-0.3.375.dist-info}/WHEEL +0 -0
- {alita_sdk-0.3.373.dist-info → alita_sdk-0.3.375.dist-info}/licenses/LICENSE +0 -0
- {alita_sdk-0.3.373.dist-info → alita_sdk-0.3.375.dist-info}/top_level.txt +0 -0
alita_sdk/tools/elitea_base.py
CHANGED
|
@@ -33,12 +33,12 @@ LoaderSchema = create_model(
|
|
|
33
33
|
# Base Vector Store Schema Models
|
|
34
34
|
BaseIndexParams = create_model(
|
|
35
35
|
"BaseIndexParams",
|
|
36
|
-
|
|
36
|
+
index_name=(str, Field(description="Index name (max 7 characters)", min_length=1, max_length=7)),
|
|
37
37
|
)
|
|
38
38
|
|
|
39
39
|
BaseCodeIndexParams = create_model(
|
|
40
40
|
"BaseCodeIndexParams",
|
|
41
|
-
|
|
41
|
+
index_name=(str, Field(description="Index name (max 7 characters)", min_length=1, max_length=7)),
|
|
42
42
|
clean_index=(Optional[bool], Field(default=False, description="Optional flag to enforce clean existing index before indexing new data")),
|
|
43
43
|
progress_step=(Optional[int], Field(default=5, ge=0, le=100,
|
|
44
44
|
description="Optional step size for progress reporting during indexing")),
|
|
@@ -50,14 +50,14 @@ BaseCodeIndexParams = create_model(
|
|
|
50
50
|
|
|
51
51
|
RemoveIndexParams = create_model(
|
|
52
52
|
"RemoveIndexParams",
|
|
53
|
-
|
|
53
|
+
index_name=(Optional[str], Field(description="Optional index name (max 7 characters)", default="", max_length=7)),
|
|
54
54
|
)
|
|
55
55
|
|
|
56
56
|
BaseSearchParams = create_model(
|
|
57
57
|
"BaseSearchParams",
|
|
58
58
|
query=(str, Field(description="Query text to search in the index")),
|
|
59
|
-
|
|
60
|
-
description="Optional
|
|
59
|
+
index_name=(Optional[str], Field(
|
|
60
|
+
description="Optional index name (max 7 characters). Leave empty to search across all datasets",
|
|
61
61
|
default="", max_length=7)),
|
|
62
62
|
filter=(Optional[dict], Field(
|
|
63
63
|
description="Filter to apply to the search results. Can be a dictionary or a JSON string.",
|
|
@@ -87,7 +87,7 @@ BaseSearchParams = create_model(
|
|
|
87
87
|
BaseStepbackSearchParams = create_model(
|
|
88
88
|
"BaseStepbackSearchParams",
|
|
89
89
|
query=(str, Field(description="Query text to search in the index")),
|
|
90
|
-
|
|
90
|
+
index_name=(Optional[str], Field(description="Optional index name (max 7 characters)", default="", max_length=7)),
|
|
91
91
|
messages=(Optional[List], Field(description="Chat messages for stepback search context", default=[])),
|
|
92
92
|
filter=(Optional[dict], Field(
|
|
93
93
|
description="Filter to apply to the search results. Can be a dictionary or a JSON string.",
|
|
@@ -324,12 +324,12 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
324
324
|
#
|
|
325
325
|
docs = base_chunker(file_content_generator=docs, config=base_chunking_config)
|
|
326
326
|
#
|
|
327
|
-
|
|
327
|
+
index_name = kwargs.get("index_name")
|
|
328
328
|
progress_step = kwargs.get("progress_step")
|
|
329
329
|
clean_index = kwargs.get("clean_index")
|
|
330
330
|
vs = self._init_vector_store()
|
|
331
331
|
#
|
|
332
|
-
return vs.index_documents(docs,
|
|
332
|
+
return vs.index_documents(docs, index_name=index_name, progress_step=progress_step, clean_index=clean_index)
|
|
333
333
|
|
|
334
334
|
def _process_documents(self, documents: List[Document]) -> Generator[Document, None, None]:
|
|
335
335
|
"""
|
|
@@ -399,10 +399,10 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
399
399
|
)
|
|
400
400
|
return self._vector_store
|
|
401
401
|
|
|
402
|
-
def remove_index(self,
|
|
402
|
+
def remove_index(self, index_name: str = ""):
|
|
403
403
|
"""Cleans the indexed data in the collection."""
|
|
404
|
-
self._init_vector_store()._clean_collection(
|
|
405
|
-
return (f"Collection '{
|
|
404
|
+
self._init_vector_store()._clean_collection(index_name=index_name)
|
|
405
|
+
return (f"Collection '{index_name}' has been removed from the vector store.\n"
|
|
406
406
|
f"Available collections: {self.list_collections()}")
|
|
407
407
|
|
|
408
408
|
def list_collections(self):
|
|
@@ -410,19 +410,19 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
410
410
|
vectorstore_wrapper = self._init_vector_store()
|
|
411
411
|
return vectorstore_wrapper.list_collections()
|
|
412
412
|
|
|
413
|
-
def _build_collection_filter(self, filter: dict | str,
|
|
413
|
+
def _build_collection_filter(self, filter: dict | str, index_name: str = "") -> dict:
|
|
414
414
|
"""Builds a filter for the collection based on the provided suffix."""
|
|
415
415
|
|
|
416
416
|
filter = filter if isinstance(filter, dict) else json.loads(filter)
|
|
417
|
-
if
|
|
417
|
+
if index_name:
|
|
418
418
|
filter.update({"collection": {
|
|
419
|
-
"$eq":
|
|
419
|
+
"$eq": index_name.strip()
|
|
420
420
|
}})
|
|
421
421
|
return filter
|
|
422
422
|
|
|
423
423
|
def search_index(self,
|
|
424
424
|
query: str,
|
|
425
|
-
|
|
425
|
+
index_name: str = "",
|
|
426
426
|
filter: dict | str = {}, cut_off: float = 0.5,
|
|
427
427
|
search_top: int = 10, reranker: dict = {},
|
|
428
428
|
full_text_search: Optional[Dict[str, Any]] = None,
|
|
@@ -431,7 +431,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
431
431
|
**kwargs):
|
|
432
432
|
""" Searches indexed documents in the vector store."""
|
|
433
433
|
vectorstore = self._init_vector_store()
|
|
434
|
-
filter = self._build_collection_filter(filter,
|
|
434
|
+
filter = self._build_collection_filter(filter, index_name)
|
|
435
435
|
found_docs = vectorstore.search_documents(
|
|
436
436
|
query,
|
|
437
437
|
doctype=self.doctype,
|
|
@@ -448,7 +448,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
448
448
|
def stepback_search_index(self,
|
|
449
449
|
query: str,
|
|
450
450
|
messages: List[Dict[str, Any]] = [],
|
|
451
|
-
|
|
451
|
+
index_name: str = "",
|
|
452
452
|
filter: dict | str = {}, cut_off: float = 0.5,
|
|
453
453
|
search_top: int = 10, reranker: dict = {},
|
|
454
454
|
full_text_search: Optional[Dict[str, Any]] = None,
|
|
@@ -457,7 +457,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
457
457
|
**kwargs):
|
|
458
458
|
""" Searches indexed documents in the vector store."""
|
|
459
459
|
|
|
460
|
-
filter = self._build_collection_filter(filter,
|
|
460
|
+
filter = self._build_collection_filter(filter, index_name)
|
|
461
461
|
vectorstore = self._init_vector_store()
|
|
462
462
|
found_docs = vectorstore.stepback_search(
|
|
463
463
|
query,
|
|
@@ -475,7 +475,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
475
475
|
def stepback_summary_index(self,
|
|
476
476
|
query: str,
|
|
477
477
|
messages: List[Dict[str, Any]] = [],
|
|
478
|
-
|
|
478
|
+
index_name: str = "",
|
|
479
479
|
filter: dict | str = {}, cut_off: float = 0.5,
|
|
480
480
|
search_top: int = 10, reranker: dict = {},
|
|
481
481
|
full_text_search: Optional[Dict[str, Any]] = None,
|
|
@@ -484,7 +484,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
484
484
|
**kwargs):
|
|
485
485
|
""" Generates a summary of indexed documents using stepback technique."""
|
|
486
486
|
vectorstore = self._init_vector_store()
|
|
487
|
-
filter = self._build_collection_filter(filter,
|
|
487
|
+
filter = self._build_collection_filter(filter, index_name)
|
|
488
488
|
|
|
489
489
|
found_docs = vectorstore.stepback_summary(
|
|
490
490
|
query,
|
|
@@ -537,7 +537,7 @@ class BaseVectorStoreToolApiWrapper(BaseToolApiWrapper):
|
|
|
537
537
|
"args_schema": RemoveIndexParams
|
|
538
538
|
},
|
|
539
539
|
{
|
|
540
|
-
"name": "
|
|
540
|
+
"name": "list_indexes",
|
|
541
541
|
"mode": "list_collections",
|
|
542
542
|
"ref": self.list_collections,
|
|
543
543
|
"description": self.list_collections.__doc__,
|
|
@@ -655,7 +655,7 @@ class BaseCodeToolApiWrapper(BaseVectorStoreToolApiWrapper):
|
|
|
655
655
|
return parse_code_files_for_db(file_content_generator())
|
|
656
656
|
|
|
657
657
|
def index_data(self,
|
|
658
|
-
|
|
658
|
+
index_name: str,
|
|
659
659
|
branch: Optional[str] = None,
|
|
660
660
|
whitelist: Optional[List[str]] = None,
|
|
661
661
|
blacklist: Optional[List[str]] = None,
|
|
@@ -669,7 +669,7 @@ class BaseCodeToolApiWrapper(BaseVectorStoreToolApiWrapper):
|
|
|
669
669
|
)
|
|
670
670
|
vectorstore = self._init_vector_store()
|
|
671
671
|
clean_index = kwargs.get('clean_index', False)
|
|
672
|
-
return vectorstore.index_documents(documents,
|
|
672
|
+
return vectorstore.index_documents(documents, index_name=index_name,
|
|
673
673
|
clean_index=clean_index, is_code=True,
|
|
674
674
|
progress_step=kwargs.get('progress_step', 5))
|
|
675
675
|
|
|
@@ -6,11 +6,11 @@ from alita_sdk.tools.base_indexer_toolkit import BaseIndexerToolkit
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
class NonCodeIndexerToolkit(BaseIndexerToolkit):
|
|
9
|
-
def _get_indexed_data(self,
|
|
9
|
+
def _get_indexed_data(self, index_name: str):
|
|
10
10
|
if not self.vector_adapter:
|
|
11
11
|
raise ToolException("Vector adapter is not initialized. "
|
|
12
12
|
"Check your configuration: embedding_model and vectorstore_type.")
|
|
13
|
-
return self.vector_adapter.get_indexed_data(self,
|
|
13
|
+
return self.vector_adapter.get_indexed_data(self, index_name)
|
|
14
14
|
|
|
15
15
|
def key_fn(self, document: Document):
|
|
16
16
|
return document.metadata.get('id')
|
|
@@ -26,12 +26,12 @@ class VectorStoreAdapter(ABC):
|
|
|
26
26
|
pass
|
|
27
27
|
|
|
28
28
|
@abstractmethod
|
|
29
|
-
def get_indexed_ids(self, vectorstore_wrapper,
|
|
29
|
+
def get_indexed_ids(self, vectorstore_wrapper, index_name: Optional[str] = '') -> List[str]:
|
|
30
30
|
"""Get all indexed document IDs from vectorstore"""
|
|
31
31
|
pass
|
|
32
32
|
|
|
33
33
|
@abstractmethod
|
|
34
|
-
def clean_collection(self, vectorstore_wrapper,
|
|
34
|
+
def clean_collection(self, vectorstore_wrapper, index_name: str = ''):
|
|
35
35
|
"""Clean the vectorstore collection by deleting all indexed data."""
|
|
36
36
|
pass
|
|
37
37
|
|
|
@@ -41,7 +41,7 @@ class VectorStoreAdapter(ABC):
|
|
|
41
41
|
pass
|
|
42
42
|
|
|
43
43
|
@abstractmethod
|
|
44
|
-
def get_code_indexed_data(self, vectorstore_wrapper,
|
|
44
|
+
def get_code_indexed_data(self, vectorstore_wrapper, index_name) -> Dict[str, Dict[str, Any]]:
|
|
45
45
|
"""Get all indexed data from vectorstore for code content"""
|
|
46
46
|
pass
|
|
47
47
|
|
|
@@ -51,7 +51,7 @@ class VectorStoreAdapter(ABC):
|
|
|
51
51
|
pass
|
|
52
52
|
|
|
53
53
|
@abstractmethod
|
|
54
|
-
def get_index_meta(self, vectorstore_wrapper,
|
|
54
|
+
def get_index_meta(self, vectorstore_wrapper, index_name: str) -> List[Dict[str, Any]]:
|
|
55
55
|
"""Get all index_meta entries from the vector store."""
|
|
56
56
|
pass
|
|
57
57
|
|
|
@@ -106,7 +106,7 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
106
106
|
session.commit()
|
|
107
107
|
logger.info(f"Schema '{schema_name}' has been dropped.")
|
|
108
108
|
|
|
109
|
-
def get_indexed_ids(self, vectorstore_wrapper,
|
|
109
|
+
def get_indexed_ids(self, vectorstore_wrapper, index_name: Optional[str] = '') -> List[str]:
|
|
110
110
|
"""Get all indexed document IDs from PGVector"""
|
|
111
111
|
from sqlalchemy.orm import Session
|
|
112
112
|
from sqlalchemy import func
|
|
@@ -116,10 +116,10 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
116
116
|
with Session(store.session_maker.bind) as session:
|
|
117
117
|
# Start building the query
|
|
118
118
|
query = session.query(store.EmbeddingStore.id)
|
|
119
|
-
# Apply filter only if
|
|
120
|
-
if
|
|
119
|
+
# Apply filter only if index_name is provided
|
|
120
|
+
if index_name:
|
|
121
121
|
query = query.filter(
|
|
122
|
-
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') ==
|
|
122
|
+
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') == index_name
|
|
123
123
|
)
|
|
124
124
|
ids = query.all()
|
|
125
125
|
return [str(id_tuple[0]) for id_tuple in ids]
|
|
@@ -127,18 +127,18 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
127
127
|
logger.error(f"Failed to get indexed IDs from PGVector: {str(e)}")
|
|
128
128
|
return []
|
|
129
129
|
|
|
130
|
-
def clean_collection(self, vectorstore_wrapper,
|
|
130
|
+
def clean_collection(self, vectorstore_wrapper, index_name: str = ''):
|
|
131
131
|
"""Clean the vectorstore collection by deleting all indexed data."""
|
|
132
132
|
# This logic deletes all data from the vectorstore collection without removal of collection.
|
|
133
133
|
# Collection itself remains available for future indexing.
|
|
134
|
-
vectorstore_wrapper.vectorstore.delete(ids=self.get_indexed_ids(vectorstore_wrapper,
|
|
134
|
+
vectorstore_wrapper.vectorstore.delete(ids=self.get_indexed_ids(vectorstore_wrapper, index_name))
|
|
135
135
|
|
|
136
136
|
def is_vectorstore_type(self, vectorstore) -> bool:
|
|
137
137
|
"""Check if the vectorstore is a PGVector store."""
|
|
138
138
|
return hasattr(vectorstore, 'session_maker') and hasattr(vectorstore, 'EmbeddingStore')
|
|
139
139
|
|
|
140
|
-
def get_indexed_data(self, vectorstore_wrapper,
|
|
141
|
-
"""Get all indexed data from PGVector for non-code content per
|
|
140
|
+
def get_indexed_data(self, vectorstore_wrapper, index_name: str)-> Dict[str, Dict[str, Any]]:
|
|
141
|
+
"""Get all indexed data from PGVector for non-code content per index_name."""
|
|
142
142
|
from sqlalchemy.orm import Session
|
|
143
143
|
from sqlalchemy import func
|
|
144
144
|
from ...runtime.utils.utils import IndexerKeywords
|
|
@@ -154,7 +154,7 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
154
154
|
store.EmbeddingStore.document,
|
|
155
155
|
store.EmbeddingStore.cmetadata
|
|
156
156
|
).filter(
|
|
157
|
-
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') ==
|
|
157
|
+
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') == index_name
|
|
158
158
|
).all()
|
|
159
159
|
|
|
160
160
|
# Process the retrieved data
|
|
@@ -187,7 +187,7 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
187
187
|
|
|
188
188
|
return result
|
|
189
189
|
|
|
190
|
-
def get_code_indexed_data(self, vectorstore_wrapper,
|
|
190
|
+
def get_code_indexed_data(self, vectorstore_wrapper, index_name: str) -> Dict[str, Dict[str, Any]]:
|
|
191
191
|
"""Get all indexed code data from PGVector per collection suffix."""
|
|
192
192
|
from sqlalchemy.orm import Session
|
|
193
193
|
from sqlalchemy import func
|
|
@@ -202,7 +202,7 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
202
202
|
store.EmbeddingStore.id,
|
|
203
203
|
store.EmbeddingStore.cmetadata
|
|
204
204
|
).filter(
|
|
205
|
-
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') ==
|
|
205
|
+
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') == index_name
|
|
206
206
|
).all()
|
|
207
207
|
|
|
208
208
|
for db_id, meta in docs:
|
|
@@ -272,7 +272,7 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
272
272
|
except Exception as e:
|
|
273
273
|
logger.error(f"Failed to update collection for entry ID {entry_id}: {str(e)}")
|
|
274
274
|
|
|
275
|
-
def get_index_meta(self, vectorstore_wrapper,
|
|
275
|
+
def get_index_meta(self, vectorstore_wrapper, index_name: str) -> List[Dict[str, Any]]:
|
|
276
276
|
from sqlalchemy.orm import Session
|
|
277
277
|
from sqlalchemy import func
|
|
278
278
|
|
|
@@ -285,7 +285,7 @@ class PGVectorAdapter(VectorStoreAdapter):
|
|
|
285
285
|
store.EmbeddingStore.cmetadata
|
|
286
286
|
).filter(
|
|
287
287
|
store.EmbeddingStore.cmetadata['type'].astext == IndexerKeywords.INDEX_META_TYPE.value,
|
|
288
|
-
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') ==
|
|
288
|
+
func.jsonb_extract_path_text(store.EmbeddingStore.cmetadata, 'collection') == index_name
|
|
289
289
|
).all()
|
|
290
290
|
result = []
|
|
291
291
|
for id, document, cmetadata in meta:
|
|
@@ -312,7 +312,7 @@ class ChromaAdapter(VectorStoreAdapter):
|
|
|
312
312
|
def remove_collection(self, vectorstore_wrapper, collection_name: str):
|
|
313
313
|
vectorstore_wrapper.vectorstore.delete_collection()
|
|
314
314
|
|
|
315
|
-
def get_indexed_ids(self, vectorstore_wrapper,
|
|
315
|
+
def get_indexed_ids(self, vectorstore_wrapper, index_name: Optional[str] = '') -> List[str]:
|
|
316
316
|
"""Get all indexed document IDs from Chroma"""
|
|
317
317
|
try:
|
|
318
318
|
data = vectorstore_wrapper.vectorstore.get(include=[]) # Only get IDs, no metadata
|
|
@@ -321,9 +321,9 @@ class ChromaAdapter(VectorStoreAdapter):
|
|
|
321
321
|
logger.error(f"Failed to get indexed IDs from Chroma: {str(e)}")
|
|
322
322
|
return []
|
|
323
323
|
|
|
324
|
-
def clean_collection(self, vectorstore_wrapper,
|
|
324
|
+
def clean_collection(self, vectorstore_wrapper, index_name: str = ''):
|
|
325
325
|
"""Clean the vectorstore collection by deleting all indexed data."""
|
|
326
|
-
vectorstore_wrapper.vectorstore.delete(ids=self.get_indexed_ids(vectorstore_wrapper,
|
|
326
|
+
vectorstore_wrapper.vectorstore.delete(ids=self.get_indexed_ids(vectorstore_wrapper, index_name))
|
|
327
327
|
|
|
328
328
|
def get_indexed_data(self, vectorstore_wrapper):
|
|
329
329
|
"""Get all indexed data from Chroma for non-code content"""
|
|
@@ -361,7 +361,7 @@ class ChromaAdapter(VectorStoreAdapter):
|
|
|
361
361
|
|
|
362
362
|
return result
|
|
363
363
|
|
|
364
|
-
def get_code_indexed_data(self, vectorstore_wrapper,
|
|
364
|
+
def get_code_indexed_data(self, vectorstore_wrapper, index_name) -> Dict[str, Dict[str, Any]]:
|
|
365
365
|
"""Get all indexed code data from Chroma."""
|
|
366
366
|
result = {}
|
|
367
367
|
try:
|
|
@@ -391,7 +391,7 @@ class ChromaAdapter(VectorStoreAdapter):
|
|
|
391
391
|
# This is a simplified implementation - in practice, you might need more complex logic
|
|
392
392
|
logger.warning("add_to_collection for Chroma is not fully implemented yet")
|
|
393
393
|
|
|
394
|
-
def get_index_meta(self, vectorstore_wrapper,
|
|
394
|
+
def get_index_meta(self, vectorstore_wrapper, index_name: str) -> List[Dict[str, Any]]:
|
|
395
395
|
logger.warning("get_index_meta for Chroma is not implemented yet")
|
|
396
396
|
|
|
397
397
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: alita_sdk
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.375
|
|
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
|
|
@@ -35,16 +35,17 @@ alita_sdk/configurations/zephyr_enterprise.py,sha256=UaBk3qWcT2-bCzko5HEPvgxArw1
|
|
|
35
35
|
alita_sdk/configurations/zephyr_essential.py,sha256=tUIrh-PRNvdrLBj6rJXqlF-h6oaMXUQI1wgit07kFBw,752
|
|
36
36
|
alita_sdk/runtime/__init__.py,sha256=4W0UF-nl3QF2bvET5lnah4o24CoTwSoKXhuN0YnwvEE,828
|
|
37
37
|
alita_sdk/runtime/clients/__init__.py,sha256=BdehU5GBztN1Qi1Wul0cqlU46FxUfMnI6Vq2Zd_oq1M,296
|
|
38
|
-
alita_sdk/runtime/clients/artifact.py,sha256=
|
|
38
|
+
alita_sdk/runtime/clients/artifact.py,sha256=b7hVuGRROt6qUcT11uAZqzJqslzmlgW-Y6oGsiwNmjI,4029
|
|
39
39
|
alita_sdk/runtime/clients/client.py,sha256=BIF6QSnhlTfsTQ_dQs-QZjeBJHZsOtSuv_q7_ABUUQg,45737
|
|
40
40
|
alita_sdk/runtime/clients/datasource.py,sha256=HAZovoQN9jBg0_-lIlGBQzb4FJdczPhkHehAiVG3Wx0,1020
|
|
41
41
|
alita_sdk/runtime/clients/prompt.py,sha256=li1RG9eBwgNK_Qf0qUaZ8QNTmsncFrAL2pv3kbxZRZg,1447
|
|
42
|
+
alita_sdk/runtime/clients/sandbox_client.py,sha256=OhEasE0MxBBDw4o76xkxVCpNpr3xJ8spQsrsVxMrjUA,16192
|
|
42
43
|
alita_sdk/runtime/langchain/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
43
|
-
alita_sdk/runtime/langchain/assistant.py,sha256=
|
|
44
|
+
alita_sdk/runtime/langchain/assistant.py,sha256=YsxYNoaEidV02VlPwccdHP7PKeRRPp9M3tvUiYIDQ-I,15514
|
|
44
45
|
alita_sdk/runtime/langchain/chat_message_template.py,sha256=kPz8W2BG6IMyITFDA5oeb5BxVRkHEVZhuiGl4MBZKdc,2176
|
|
45
46
|
alita_sdk/runtime/langchain/constants.py,sha256=eHVJ_beJNTf1WJo4yq7KMK64fxsRvs3lKc34QCXSbpk,3319
|
|
46
47
|
alita_sdk/runtime/langchain/indexer.py,sha256=0ENHy5EOhThnAiYFc7QAsaTNp9rr8hDV_hTK8ahbatk,37592
|
|
47
|
-
alita_sdk/runtime/langchain/langraph_agent.py,sha256=
|
|
48
|
+
alita_sdk/runtime/langchain/langraph_agent.py,sha256=R4h_m_7NUgays7lt-F9WvKEOnGr1Yz7OgrmLMiGxurQ,48530
|
|
48
49
|
alita_sdk/runtime/langchain/mixedAgentParser.py,sha256=M256lvtsL3YtYflBCEp-rWKrKtcY1dJIyRGVv7KW9ME,2611
|
|
49
50
|
alita_sdk/runtime/langchain/mixedAgentRenderes.py,sha256=asBtKqm88QhZRILditjYICwFVKF5KfO38hu2O-WrSWE,5964
|
|
50
51
|
alita_sdk/runtime/langchain/store_manager.py,sha256=i8Fl11IXJhrBXq1F1ukEVln57B1IBe-tqSUvfUmBV4A,2218
|
|
@@ -109,7 +110,7 @@ alita_sdk/runtime/tools/application.py,sha256=z3vLZODs-_xEEnZFmGF0fKz1j3VtNJxqsA
|
|
|
109
110
|
alita_sdk/runtime/tools/artifact.py,sha256=u3szFwZqguHrPZ3tZJ7S_TiZl7cxlT3oHYd6zbdpRDE,13842
|
|
110
111
|
alita_sdk/runtime/tools/datasource.py,sha256=pvbaSfI-ThQQnjHG-QhYNSTYRnZB0rYtZFpjCfpzxYI,2443
|
|
111
112
|
alita_sdk/runtime/tools/echo.py,sha256=spw9eCweXzixJqHnZofHE1yWiSUa04L4VKycf3KCEaM,486
|
|
112
|
-
alita_sdk/runtime/tools/function.py,sha256=
|
|
113
|
+
alita_sdk/runtime/tools/function.py,sha256=0JL9D9NP31uzZ1G5br4Dhfop77l1wiqjx-7L8PHK4PA,6349
|
|
113
114
|
alita_sdk/runtime/tools/graph.py,sha256=MbnZYqdmvZY7SGDp43lOVVIjUt5ARHSgj43mdtBjSjQ,3092
|
|
114
115
|
alita_sdk/runtime/tools/image_generation.py,sha256=8ZH4SoRrbS4EzmtF6cpNMRvuFephCYD2S8uqNC9KGE4,4274
|
|
115
116
|
alita_sdk/runtime/tools/indexer_tool.py,sha256=whSLPevB4WD6dhh2JDXEivDmTvbjiMV1MrPl9cz5eLA,4375
|
|
@@ -120,10 +121,10 @@ alita_sdk/runtime/tools/mcp_server_tool.py,sha256=MhLxZJ44LYrB_0GrojmkyqKoDRaqIH
|
|
|
120
121
|
alita_sdk/runtime/tools/pgvector_search.py,sha256=NN2BGAnq4SsDHIhUcFZ8d_dbEOM8QwB0UwpsWCYruXU,11692
|
|
121
122
|
alita_sdk/runtime/tools/prompt.py,sha256=nJafb_e5aOM1Rr3qGFCR-SKziU9uCsiP2okIMs9PppM,741
|
|
122
123
|
alita_sdk/runtime/tools/router.py,sha256=p7e0tX6YAWw2M2Nq0A_xqw1E2P-Xz1DaJvhUstfoZn4,1584
|
|
123
|
-
alita_sdk/runtime/tools/sandbox.py,sha256=
|
|
124
|
+
alita_sdk/runtime/tools/sandbox.py,sha256=0OjCNsDVO1N0cFNEFVr6GVICSaqGWesUzF6LcYg-Hn0,11349
|
|
124
125
|
alita_sdk/runtime/tools/tool.py,sha256=lE1hGi6qOAXG7qxtqxarD_XMQqTghdywf261DZawwno,5631
|
|
125
|
-
alita_sdk/runtime/tools/vectorstore.py,sha256=
|
|
126
|
-
alita_sdk/runtime/tools/vectorstore_base.py,sha256=
|
|
126
|
+
alita_sdk/runtime/tools/vectorstore.py,sha256=FsnxdnvMK5bUEFxz0eeSHeNpVOk2gxOeXjoSlvCo8rs,34327
|
|
127
|
+
alita_sdk/runtime/tools/vectorstore_base.py,sha256=lNz6bOMpHOY8JiHT7BkoDbyj3kLykcKlCx4zOu_IgPE,28252
|
|
127
128
|
alita_sdk/runtime/utils/AlitaCallback.py,sha256=E4LlSBuCHWiUq6W7IZExERHZY0qcmdjzc_rJlF2iQIw,7356
|
|
128
129
|
alita_sdk/runtime/utils/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
129
130
|
alita_sdk/runtime/utils/constants.py,sha256=Xntx1b_uxUzT4clwqHA_U6K8y5bBqf_4lSQwXdcWrp4,13586
|
|
@@ -135,10 +136,10 @@ alita_sdk/runtime/utils/toolkit_runtime.py,sha256=MU63Fpxj0b5_r1IUUc0Q3-PN9VwL7r
|
|
|
135
136
|
alita_sdk/runtime/utils/toolkit_utils.py,sha256=I9QFqnaqfVgN26LUr6s3XlBlG6y0CoHURnCzG7XcwVs,5311
|
|
136
137
|
alita_sdk/runtime/utils/utils.py,sha256=BVEVLkYiiotcUD0XsHyx-wACpHfALsQg7PLZpObqvK8,1008
|
|
137
138
|
alita_sdk/tools/__init__.py,sha256=jUj1ztC2FbkIUB-YYmiqaz_rqW7Il5kWzDPn1mJmj5w,10545
|
|
138
|
-
alita_sdk/tools/base_indexer_toolkit.py,sha256=
|
|
139
|
-
alita_sdk/tools/code_indexer_toolkit.py,sha256=
|
|
140
|
-
alita_sdk/tools/elitea_base.py,sha256=
|
|
141
|
-
alita_sdk/tools/non_code_indexer_toolkit.py,sha256=
|
|
139
|
+
alita_sdk/tools/base_indexer_toolkit.py,sha256=_Q8K5fVg5gBFlZ94wYvBrPWJ56VobnNrfr15Knyobu4,26632
|
|
140
|
+
alita_sdk/tools/code_indexer_toolkit.py,sha256=p3zVnCnQTUf7JUGra9Rl6GEK2W1-hvvz0Xsgz0v0muM,7292
|
|
141
|
+
alita_sdk/tools/elitea_base.py,sha256=nV4sNVctJGgLqWTrqkI2iMc07k69GQ6uF5hXrLmsshg,34413
|
|
142
|
+
alita_sdk/tools/non_code_indexer_toolkit.py,sha256=6Lrqor1VeSLbPLDHAfg_7UAUqKFy1r_n6bdsc4-ak98,1315
|
|
142
143
|
alita_sdk/tools/ado/__init__.py,sha256=NnNYpNFW0_N_v1td_iekYOoQRRB7PIunbpT2f9ZFJM4,1201
|
|
143
144
|
alita_sdk/tools/ado/utils.py,sha256=PTCludvaQmPLakF2EbCGy66Mro4-rjDtavVP-xcB2Wc,1252
|
|
144
145
|
alita_sdk/tools/ado/repos/__init__.py,sha256=rR-c40Pw_WpQeOXtEuS-COvgRUs1_cTkcJfHlK09N88,5339
|
|
@@ -230,7 +231,7 @@ alita_sdk/tools/code/loaders/codesearcher.py,sha256=XoXXZtIQZhvjIwZlnl_4wVGHC-3s
|
|
|
230
231
|
alita_sdk/tools/code/sonar/__init__.py,sha256=iPqj2PnUY4-btJjaDeWIPdn-c9L_uCr_qOoP_uwRoXw,3360
|
|
231
232
|
alita_sdk/tools/code/sonar/api_wrapper.py,sha256=nNqxcWN_6W8c0ckj-Er9HkNuAdgQLoWBXh5UyzNutis,2653
|
|
232
233
|
alita_sdk/tools/confluence/__init__.py,sha256=zRnPBM1c7VTRTS955HNc7AEGV5t8ACc2f9wBXmmeXao,6845
|
|
233
|
-
alita_sdk/tools/confluence/api_wrapper.py,sha256=
|
|
234
|
+
alita_sdk/tools/confluence/api_wrapper.py,sha256=1HZftLQFzpNwGSN-9LPp8RQr1X-0fsKzmFlc-WEadZU,89545
|
|
234
235
|
alita_sdk/tools/confluence/loader.py,sha256=4bf5qrJMEiJzuZp2NlxO2XObLD1w7fxss_WyMUpe8sg,9290
|
|
235
236
|
alita_sdk/tools/confluence/utils.py,sha256=Lxo6dBD0OlvM4o0JuK6qeB_4LV9BptiwJA9e1vqNcDw,435
|
|
236
237
|
alita_sdk/tools/custom_open_api/__init__.py,sha256=9aT5SPNPWcJC6jMZEM-3rUCXVULj_3-qJLQKmnreKNo,2537
|
|
@@ -331,7 +332,7 @@ alita_sdk/tools/testrail/api_wrapper.py,sha256=tQcGlFJmftvs5ZiO4tsP19fCo4CrJeq_U
|
|
|
331
332
|
alita_sdk/tools/utils/__init__.py,sha256=xB9OQgW65DftadrSpoAAitnEIbIXZKBOCji0NDe7FRM,3923
|
|
332
333
|
alita_sdk/tools/utils/available_tools_decorator.py,sha256=IbrdfeQkswxUFgvvN7-dyLMZMyXLiwvX7kgi3phciCk,273
|
|
333
334
|
alita_sdk/tools/utils/content_parser.py,sha256=7ohj8HeL_-rmc-Fv0TS8IpxIQC8tOpfuhyT3XlWx-gQ,15368
|
|
334
|
-
alita_sdk/tools/vector_adapters/VectorStoreAdapter.py,sha256=
|
|
335
|
+
alita_sdk/tools/vector_adapters/VectorStoreAdapter.py,sha256=eDezsk41b5ql3CISQ6Xk-qE3foO-PjY0VSWeZnVxHPE,19019
|
|
335
336
|
alita_sdk/tools/vector_adapters/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
336
337
|
alita_sdk/tools/xray/__init__.py,sha256=eOMWP8VamFbbJgt1xrGpGPqB9ByOTA0Cd3LCaETzGk4,4376
|
|
337
338
|
alita_sdk/tools/xray/api_wrapper.py,sha256=uj5kzUgPdo_Oct9WCNMOpkb6o_3L7J4LZrEGtrwYMmc,30157
|
|
@@ -352,8 +353,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=kT0TbmMvuKhDUZc0i7KO18O38JM9S
|
|
|
352
353
|
alita_sdk/tools/zephyr_squad/__init__.py,sha256=0ne8XLJEQSLOWfzd2HdnqOYmQlUliKHbBED5kW_Vias,2895
|
|
353
354
|
alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
|
|
354
355
|
alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
|
|
355
|
-
alita_sdk-0.3.
|
|
356
|
-
alita_sdk-0.3.
|
|
357
|
-
alita_sdk-0.3.
|
|
358
|
-
alita_sdk-0.3.
|
|
359
|
-
alita_sdk-0.3.
|
|
356
|
+
alita_sdk-0.3.375.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
357
|
+
alita_sdk-0.3.375.dist-info/METADATA,sha256=h4sLfds9uE3O5UTOZL6pzbssZ3EDLx9szzmV_y60L-Q,19071
|
|
358
|
+
alita_sdk-0.3.375.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
359
|
+
alita_sdk-0.3.375.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
|
|
360
|
+
alita_sdk-0.3.375.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|