alita-sdk 0.3.267__py3-none-any.whl → 0.3.268__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.
@@ -110,8 +110,8 @@ class BaseIndexerToolkit(VectorStoreWrapperBase):
110
110
  connection_string = conn.get_secret_value() if isinstance(conn, SecretStr) else conn
111
111
  collection_name = kwargs.get('collection_name')
112
112
 
113
- if 'embedding_model' not in kwargs:
114
- kwargs['embedding_model'] = 'HuggingFaceEmbeddings'
113
+ if not kwargs.get('embedding_model'):
114
+ kwargs['embedding_model'] = 'text-embedding-ada-002'
115
115
  if 'vectorstore_type' not in kwargs:
116
116
  kwargs['vectorstore_type'] = 'PGVector'
117
117
  vectorstore_type = kwargs.get('vectorstore_type')
@@ -58,8 +58,8 @@ BaseSearchParams = create_model(
58
58
  default={},
59
59
  examples=["{\"key\": \"value\"}", "{\"status\": \"active\"}"]
60
60
  )),
61
- cut_off=(Optional[float], Field(description="Cut-off score for search results", default=0.5)),
62
- search_top=(Optional[int], Field(description="Number of top results to return", default=10)),
61
+ cut_off=(Optional[float], Field(description="Cut-off score for search results", default=0.5, ge=0, le=1)),
62
+ search_top=(Optional[int], Field(description="Number of top results to return", default=10, ge=0)),
63
63
  full_text_search=(Optional[Dict[str, Any]], Field(
64
64
  description="Full text search parameters. Can be a dictionary with search options.",
65
65
  default=None
@@ -88,8 +88,8 @@ BaseStepbackSearchParams = create_model(
88
88
  default={},
89
89
  examples=["{\"key\": \"value\"}", "{\"status\": \"active\"}"]
90
90
  )),
91
- cut_off=(Optional[float], Field(description="Cut-off score for search results", default=0.5)),
92
- search_top=(Optional[int], Field(description="Number of top results to return", default=10)),
91
+ cut_off=(Optional[float], Field(description="Cut-off score for search results", default=0.5, ge=0, le=1)),
92
+ search_top=(Optional[int], Field(description="Number of top results to return", default=10, ge=0)),
93
93
  reranker=(Optional[dict], Field(
94
94
  description="Reranker configuration. Can be a dictionary with reranking parameters.",
95
95
  default={}
@@ -106,18 +106,6 @@ class GitLabAPIWrapper(BaseCodeToolApiWrapper):
106
106
  _repo_instance: Any = PrivateAttr()
107
107
  _active_branch: Any = PrivateAttr()
108
108
 
109
- llm: Optional[Any] = None
110
- # Alita instance
111
- alita: Optional[Any] = None
112
-
113
- # Vector store configuration
114
- connection_string: Optional[SecretStr] = None
115
- collection_name: Optional[str] = None
116
- doctype: Optional[str] = 'code'
117
- embedding_model: Optional[str] = "HuggingFaceEmbeddings"
118
- embedding_model_params: Optional[Dict[str, Any]] = {"model_name": "sentence-transformers/all-MiniLM-L6-v2"}
119
- vectorstore_type: Optional[str] = "PGVector"
120
-
121
109
  @model_validator(mode='before')
122
110
  @classmethod
123
111
  def validate_toolkit(cls, values: Dict) -> Dict:
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: alita_sdk
3
- Version: 0.3.267
3
+ Version: 0.3.268
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
@@ -120,8 +120,8 @@ alita_sdk/runtime/utils/toolkit_runtime.py,sha256=MU63Fpxj0b5_r1IUUc0Q3-PN9VwL7r
120
120
  alita_sdk/runtime/utils/toolkit_utils.py,sha256=I9QFqnaqfVgN26LUr6s3XlBlG6y0CoHURnCzG7XcwVs,5311
121
121
  alita_sdk/runtime/utils/utils.py,sha256=VXNLsdeTmf6snn9EtUyobv4yL-xzLhUcH8P_ORMifYc,675
122
122
  alita_sdk/tools/__init__.py,sha256=ko5TToGYZFmBrho26DRAVvrkHWxQ2sfs8gVAASinYp8,10611
123
- alita_sdk/tools/base_indexer_toolkit.py,sha256=17v9AIMGLO0OBUWS6A_-1xvHMArqTwK84mfkpTrwPwM,18434
124
- alita_sdk/tools/elitea_base.py,sha256=PfelIUb5YFTjDN_1jNYT9tJbjfYr11PAUrPQHyW2d5I,32830
123
+ alita_sdk/tools/base_indexer_toolkit.py,sha256=JcjsN-xdZfwNJ7qy_TUgv6F1dIZhsQnguxsWsnsmj14,18437
124
+ alita_sdk/tools/elitea_base.py,sha256=zx0ai3aN0re-Uc7_AKJjbTPeJ_K4OpFfK0jsaGvdMMU,32866
125
125
  alita_sdk/tools/non_code_indexer_toolkit.py,sha256=v9uq1POE1fQKCd152mbqDtF-HSe0qoDj83k4E5LAkMI,1080
126
126
  alita_sdk/tools/ado/__init__.py,sha256=u2tdDgufGuDb-7lIgKKQlqgStL9Wd1gzNmRNYems2c0,1267
127
127
  alita_sdk/tools/ado/utils.py,sha256=PTCludvaQmPLakF2EbCGy66Mro4-rjDtavVP-xcB2Wc,1252
@@ -231,7 +231,7 @@ alita_sdk/tools/github/schemas.py,sha256=yFsqivfjCPRk9GxFJrL8sTz6nnjFCZ0j5DIfPtG
231
231
  alita_sdk/tools/github/tool.py,sha256=Jnnv5lenV5ds8AAdyo2m8hSzyJ117HZBjzHC6T1ck-M,1037
232
232
  alita_sdk/tools/github/tool_prompts.py,sha256=y6ZW_FpUCE87Uop3WuQAZVRnzxO5t7xjBOI5bCqiluw,30194
233
233
  alita_sdk/tools/gitlab/__init__.py,sha256=wLTgBEeX44A3YkPkyUoPe4GVkDwHgLUpNEIBwJvaGUY,4488
234
- alita_sdk/tools/gitlab/api_wrapper.py,sha256=KYCRO2pF8EPTLhWuEj64XsHPCYSucsf8S3R_ofJttrA,22301
234
+ alita_sdk/tools/gitlab/api_wrapper.py,sha256=x2AdR4CkqnMPxVOWwIAgxXuQuzel58drz8m2jyf2R0M,21833
235
235
  alita_sdk/tools/gitlab/tools.py,sha256=vOGTlSaGaFmWn6LS6YFP-FuTqUPun9vnv1VrUcUHAZQ,16500
236
236
  alita_sdk/tools/gitlab/utils.py,sha256=Z2XiqIg54ouqqt1to-geFybmkCb1I6bpE91wfnINH1I,2320
237
237
  alita_sdk/tools/gitlab_org/__init__.py,sha256=k8ECZzeGCmgKJ9UaVmPPlFxf-h1E6taC2SnPVrxPpHY,3775
@@ -336,8 +336,8 @@ alita_sdk/tools/zephyr_scale/api_wrapper.py,sha256=HOt9ShtJI_1tVPcwd3Rwk-VS0SMLq
336
336
  alita_sdk/tools/zephyr_squad/__init__.py,sha256=0AI_j27xVO5Gk5HQMFrqPTd4uvuVTpiZUicBrdfEpKg,2796
337
337
  alita_sdk/tools/zephyr_squad/api_wrapper.py,sha256=kmw_xol8YIYFplBLWTqP_VKPRhL_1ItDD0_vXTe_UuI,14906
338
338
  alita_sdk/tools/zephyr_squad/zephyr_squad_cloud_client.py,sha256=R371waHsms4sllHCbijKYs90C-9Yu0sSR3N4SUfQOgU,5066
339
- alita_sdk-0.3.267.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
340
- alita_sdk-0.3.267.dist-info/METADATA,sha256=Iew_1rOLkmDqmW7OI53GCnR87M1LMIpVP43W5ELV3cs,18897
341
- alita_sdk-0.3.267.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
342
- alita_sdk-0.3.267.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
343
- alita_sdk-0.3.267.dist-info/RECORD,,
339
+ alita_sdk-0.3.268.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
340
+ alita_sdk-0.3.268.dist-info/METADATA,sha256=PSq9ld7E0116iWPhcL1hXxmgvIDs-p4zrEaF2eoHEx8,18897
341
+ alita_sdk-0.3.268.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
342
+ alita_sdk-0.3.268.dist-info/top_level.txt,sha256=0vJYy5p_jK6AwVb1aqXr7Kgqgk3WDtQ6t5C-XI9zkmg,10
343
+ alita_sdk-0.3.268.dist-info/RECORD,,