uipath 2.0.68__py3-none-any.whl → 2.0.69__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 uipath might be problematic. Click here for more details.

@@ -56,6 +56,7 @@ class ContextGroundingService(FolderContext, BaseService):
56
56
  source_path: Optional[str] = None,
57
57
  folder_key: Optional[str] = None,
58
58
  folder_path: Optional[str] = None,
59
+ ingest_data: bool = True,
59
60
  ) -> None:
60
61
  """Add content to the index.
61
62
 
@@ -67,6 +68,7 @@ class ContextGroundingService(FolderContext, BaseService):
67
68
  source_path (Optional[str]): The source path of the content if it is being uploaded from a file.
68
69
  folder_key (Optional[str]): The key of the folder where the index resides.
69
70
  folder_path (Optional[str]): The path of the folder where the index resides.
71
+ ingest_data (bool): Whether to ingest data in the index after content is uploaded. Defaults to True.
70
72
 
71
73
  Raises:
72
74
  ValueError: If neither content nor source_path is provided, or if both are provided.
@@ -94,7 +96,9 @@ class ContextGroundingService(FolderContext, BaseService):
94
96
  folder_path=bucket_folder_path,
95
97
  content_type=content_type,
96
98
  )
97
- self.ingest_data(index, folder_key=folder_key, folder_path=folder_path)
99
+
100
+ if ingest_data:
101
+ self.ingest_data(index, folder_key=folder_key, folder_path=folder_path)
98
102
 
99
103
  @traced(name="add_to_index", run_type="uipath")
100
104
  @infer_bindings(resource_type="index")
@@ -107,6 +111,7 @@ class ContextGroundingService(FolderContext, BaseService):
107
111
  source_path: Optional[str] = None,
108
112
  folder_key: Optional[str] = None,
109
113
  folder_path: Optional[str] = None,
114
+ ingest_data: bool = True,
110
115
  ) -> None:
111
116
  """Asynchronously add content to the index.
112
117
 
@@ -118,6 +123,7 @@ class ContextGroundingService(FolderContext, BaseService):
118
123
  source_path (Optional[str]): The source path of the content if it is being uploaded from a file.
119
124
  folder_key (Optional[str]): The key of the folder where the index resides.
120
125
  folder_path (Optional[str]): The path of the folder where the index resides.
126
+ ingest_data (bool): Whether to ingest data in the index after content is uploaded. Defaults to True.
121
127
 
122
128
  Raises:
123
129
  ValueError: If neither content nor source_path is provided, or if both are provided.
@@ -148,9 +154,10 @@ class ContextGroundingService(FolderContext, BaseService):
148
154
  content_type=content_type,
149
155
  )
150
156
 
151
- await self.ingest_data_async(
152
- index, folder_key=folder_key, folder_path=folder_path
153
- )
157
+ if ingest_data:
158
+ await self.ingest_data_async(
159
+ index, folder_key=folder_key, folder_path=folder_path
160
+ )
154
161
 
155
162
  @traced(name="contextgrounding_retrieve", run_type="uipath")
156
163
  @infer_bindings(resource_type="index")
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: uipath
3
- Version: 2.0.68
3
+ Version: 2.0.69
4
4
  Summary: Python SDK and CLI for UiPath Platform, enabling programmatic interaction with automation services, process management, and deployment tools.
5
5
  Project-URL: Homepage, https://uipath.com
6
6
  Project-URL: Repository, https://github.com/UiPath/uipath-python
@@ -52,7 +52,7 @@ uipath/_services/assets_service.py,sha256=acqWogfhZiSO1eeVYqFxmqWGSTmrW46QxI1J0b
52
52
  uipath/_services/attachments_service.py,sha256=FwnagLtgpn_IpQMvo9uj5mmA_rlyTTiRd4IduB6FpaQ,26458
53
53
  uipath/_services/buckets_service.py,sha256=Ikqt1Cgs_o2-2kuzcogcaBkNceSQDXLEe63kzkHzWqk,17374
54
54
  uipath/_services/connections_service.py,sha256=qh-HNL_GJsyPUD0wSJZRF8ZdrTE9l4HrIilmXGK6dDk,4581
55
- uipath/_services/context_grounding_service.py,sha256=XHtaL-b3PnbmfTj_na9F-aimW_BmSMThXqKm27fCM10,24438
55
+ uipath/_services/context_grounding_service.py,sha256=l_UQSgyBBAfnbjWlihUV8Tvl1TP4THC86nqJMIGM6mI,24797
56
56
  uipath/_services/folder_service.py,sha256=9JqgjKhWD-G_KUnfUTP2BADxL6OK9QNZsBsWZHAULdE,2749
57
57
  uipath/_services/jobs_service.py,sha256=CnDd7BM4AMqcMIR1qqu5ohhxf9m0AF4dnGoF4EX38kw,30872
58
58
  uipath/_services/llm_gateway_service.py,sha256=ySg3sflIoXmY9K7txlSm7bkuI2qzBT0kAKmGlFBk5KA,12032
@@ -91,8 +91,8 @@ uipath/tracing/__init__.py,sha256=GKRINyWdHVrDsI-8mrZDLdf0oey6GHGlNZTOADK-kgc,22
91
91
  uipath/tracing/_otel_exporters.py,sha256=x0PDPmDKJcxashsuehVsSsqBCzRr6WsNFaq_3_HS5F0,3014
92
92
  uipath/tracing/_traced.py,sha256=qeVDrds2OUnpdUIA0RhtF0kg2dlAZhyC1RRkI-qivTM,18528
93
93
  uipath/tracing/_utils.py,sha256=ZeensQexnw69jVcsVrGyED7mPlAU-L1agDGm6_1A3oc,10388
94
- uipath-2.0.68.dist-info/METADATA,sha256=x9iUaU04C7BnYcPgeEWLiue2uYQCrieXe2J32GtKX-s,6304
95
- uipath-2.0.68.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
96
- uipath-2.0.68.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
97
- uipath-2.0.68.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
98
- uipath-2.0.68.dist-info/RECORD,,
94
+ uipath-2.0.69.dist-info/METADATA,sha256=3SHNiA0KsQLEbhuQukxnblz5xzYdkmdUHBiVJPx4ghg,6304
95
+ uipath-2.0.69.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
96
+ uipath-2.0.69.dist-info/entry_points.txt,sha256=9C2_29U6Oq1ExFu7usihR-dnfIVNSKc-0EFbh0rskB4,43
97
+ uipath-2.0.69.dist-info/licenses/LICENSE,sha256=-KBavWXepyDjimmzH5fVAsi-6jNVpIKFc2kZs0Ri4ng,1058
98
+ uipath-2.0.69.dist-info/RECORD,,