usecortex-ai 0.3.2__py3-none-any.whl → 0.3.3__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.
- usecortex_ai/upload/client.py +10 -2
- usecortex_ai/upload/raw_client.py +10 -0
- {usecortex_ai-0.3.2.dist-info → usecortex_ai-0.3.3.dist-info}/METADATA +2 -2
- {usecortex_ai-0.3.2.dist-info → usecortex_ai-0.3.3.dist-info}/RECORD +7 -7
- {usecortex_ai-0.3.2.dist-info → usecortex_ai-0.3.3.dist-info}/licenses/LICENSE +1 -1
- {usecortex_ai-0.3.2.dist-info → usecortex_ai-0.3.3.dist-info}/WHEEL +0 -0
- {usecortex_ai-0.3.2.dist-info → usecortex_ai-0.3.3.dist-info}/top_level.txt +0 -0
usecortex_ai/upload/client.py
CHANGED
|
@@ -951,6 +951,7 @@ class UploadClient:
|
|
|
951
951
|
*,
|
|
952
952
|
file_id: str,
|
|
953
953
|
tenant_id: typing.Optional[str] = None,
|
|
954
|
+
sub_tenant_id: typing.Optional[str] = None,
|
|
954
955
|
request_options: typing.Optional[RequestOptions] = None,
|
|
955
956
|
) -> ProcessingStatus:
|
|
956
957
|
"""
|
|
@@ -968,6 +969,9 @@ class UploadClient:
|
|
|
968
969
|
tenant_id : typing.Optional[str]
|
|
969
970
|
Unique identifier for the tenant/organization
|
|
970
971
|
|
|
972
|
+
sub_tenant_id : typing.Optional[str]
|
|
973
|
+
Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.
|
|
974
|
+
|
|
971
975
|
request_options : typing.Optional[RequestOptions]
|
|
972
976
|
Request-specific configuration.
|
|
973
977
|
|
|
@@ -984,7 +988,7 @@ class UploadClient:
|
|
|
984
988
|
client.upload.verify_processing(file_id='CortexDoc1234', tenant_id='tenant_1234', )
|
|
985
989
|
"""
|
|
986
990
|
_response = self._raw_client.verify_processing(
|
|
987
|
-
file_id=file_id, tenant_id=tenant_id, request_options=request_options
|
|
991
|
+
file_id=file_id, tenant_id=tenant_id, sub_tenant_id=sub_tenant_id, request_options=request_options
|
|
988
992
|
)
|
|
989
993
|
return _response.data
|
|
990
994
|
|
|
@@ -1984,6 +1988,7 @@ class AsyncUploadClient:
|
|
|
1984
1988
|
*,
|
|
1985
1989
|
file_id: str,
|
|
1986
1990
|
tenant_id: typing.Optional[str] = None,
|
|
1991
|
+
sub_tenant_id: typing.Optional[str] = None,
|
|
1987
1992
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1988
1993
|
) -> ProcessingStatus:
|
|
1989
1994
|
"""
|
|
@@ -2001,6 +2006,9 @@ class AsyncUploadClient:
|
|
|
2001
2006
|
tenant_id : typing.Optional[str]
|
|
2002
2007
|
Unique identifier for the tenant/organization
|
|
2003
2008
|
|
|
2009
|
+
sub_tenant_id : typing.Optional[str]
|
|
2010
|
+
Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.
|
|
2011
|
+
|
|
2004
2012
|
request_options : typing.Optional[RequestOptions]
|
|
2005
2013
|
Request-specific configuration.
|
|
2006
2014
|
|
|
@@ -2021,6 +2029,6 @@ class AsyncUploadClient:
|
|
|
2021
2029
|
asyncio.run(main())
|
|
2022
2030
|
"""
|
|
2023
2031
|
_response = await self._raw_client.verify_processing(
|
|
2024
|
-
file_id=file_id, tenant_id=tenant_id, request_options=request_options
|
|
2032
|
+
file_id=file_id, tenant_id=tenant_id, sub_tenant_id=sub_tenant_id, request_options=request_options
|
|
2025
2033
|
)
|
|
2026
2034
|
return _response.data
|
|
@@ -2225,6 +2225,7 @@ class RawUploadClient:
|
|
|
2225
2225
|
*,
|
|
2226
2226
|
file_id: str,
|
|
2227
2227
|
tenant_id: typing.Optional[str] = None,
|
|
2228
|
+
sub_tenant_id: typing.Optional[str] = None,
|
|
2228
2229
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2229
2230
|
) -> HttpResponse[ProcessingStatus]:
|
|
2230
2231
|
"""
|
|
@@ -2242,6 +2243,9 @@ class RawUploadClient:
|
|
|
2242
2243
|
tenant_id : typing.Optional[str]
|
|
2243
2244
|
Unique identifier for the tenant/organization
|
|
2244
2245
|
|
|
2246
|
+
sub_tenant_id : typing.Optional[str]
|
|
2247
|
+
Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.
|
|
2248
|
+
|
|
2245
2249
|
request_options : typing.Optional[RequestOptions]
|
|
2246
2250
|
Request-specific configuration.
|
|
2247
2251
|
|
|
@@ -2256,6 +2260,7 @@ class RawUploadClient:
|
|
|
2256
2260
|
params={
|
|
2257
2261
|
"file_id": file_id,
|
|
2258
2262
|
"tenant_id": tenant_id,
|
|
2263
|
+
"sub_tenant_id": sub_tenant_id,
|
|
2259
2264
|
},
|
|
2260
2265
|
request_options=request_options,
|
|
2261
2266
|
)
|
|
@@ -4549,6 +4554,7 @@ class AsyncRawUploadClient:
|
|
|
4549
4554
|
*,
|
|
4550
4555
|
file_id: str,
|
|
4551
4556
|
tenant_id: typing.Optional[str] = None,
|
|
4557
|
+
sub_tenant_id: typing.Optional[str] = None,
|
|
4552
4558
|
request_options: typing.Optional[RequestOptions] = None,
|
|
4553
4559
|
) -> AsyncHttpResponse[ProcessingStatus]:
|
|
4554
4560
|
"""
|
|
@@ -4566,6 +4572,9 @@ class AsyncRawUploadClient:
|
|
|
4566
4572
|
tenant_id : typing.Optional[str]
|
|
4567
4573
|
Unique identifier for the tenant/organization
|
|
4568
4574
|
|
|
4575
|
+
sub_tenant_id : typing.Optional[str]
|
|
4576
|
+
Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used.
|
|
4577
|
+
|
|
4569
4578
|
request_options : typing.Optional[RequestOptions]
|
|
4570
4579
|
Request-specific configuration.
|
|
4571
4580
|
|
|
@@ -4580,6 +4589,7 @@ class AsyncRawUploadClient:
|
|
|
4580
4589
|
params={
|
|
4581
4590
|
"file_id": file_id,
|
|
4582
4591
|
"tenant_id": tenant_id,
|
|
4592
|
+
"sub_tenant_id": sub_tenant_id,
|
|
4583
4593
|
},
|
|
4584
4594
|
request_options=request_options,
|
|
4585
4595
|
)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: usecortex-ai
|
|
3
|
-
Version: 0.3.
|
|
3
|
+
Version: 0.3.3
|
|
4
4
|
Summary: The official Python SDK for the Cortex AI platform.
|
|
5
5
|
Author-email: Nishkarsh Shrivastava <nishkarsh@usecortex.ai>
|
|
6
6
|
License: Copyright (c) 2024 Cortex AI
|
|
@@ -10,7 +10,7 @@ License: Copyright (c) 2024 Cortex AI
|
|
|
10
10
|
PROPRIETARY AND CONFIDENTIAL
|
|
11
11
|
|
|
12
12
|
This software is the proprietary and confidential property of Cortex AI ("the Company").
|
|
13
|
-
Permission is hereby granted to
|
|
13
|
+
Permission is hereby granted to users to install and use this software as part of the Cortex AI service, subject to the terms and conditions of the service agreement entered into with the Company.
|
|
14
14
|
|
|
15
15
|
You may not, without the express written permission of the Company:
|
|
16
16
|
|
|
@@ -86,16 +86,16 @@ usecortex_ai/types/user_memory.py,sha256=_lAM0qXL5cAwfLeeWs4_m8VZ2BtkFrGBYk5dip7
|
|
|
86
86
|
usecortex_ai/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
87
87
|
usecortex_ai/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
88
88
|
usecortex_ai/upload/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
89
|
-
usecortex_ai/upload/client.py,sha256=
|
|
90
|
-
usecortex_ai/upload/raw_client.py,sha256=
|
|
89
|
+
usecortex_ai/upload/client.py,sha256=EXT2oc8BfEu5nCPoCwPK0q4Rzho2Z-Qic89QJAwdszE,80449
|
|
90
|
+
usecortex_ai/upload/raw_client.py,sha256=FKeiUPArV7XwxhHhuepiuWJ78hlzYErQLSa5eYjxlEQ,194625
|
|
91
91
|
usecortex_ai/user/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
92
92
|
usecortex_ai/user/client.py,sha256=w11KTvMzLB862OY46FgoRhVde5SvcaXLbEmnxxryk80,4802
|
|
93
93
|
usecortex_ai/user/raw_client.py,sha256=RnloKJVojvAknaylQknMUY9kS0HwP6_QjcmMuFvviAs,12740
|
|
94
94
|
usecortex_ai/user_memory/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
95
95
|
usecortex_ai/user_memory/client.py,sha256=tvRx5U_x8VtE7hUN52AMlMMVsWOgUcEK4rzXrVUNHXM,21299
|
|
96
96
|
usecortex_ai/user_memory/raw_client.py,sha256=XVsgzClh57SQWtUXc2ikaywbYRME6zA25PSIu7-9m4M,59521
|
|
97
|
-
usecortex_ai-0.3.
|
|
98
|
-
usecortex_ai-0.3.
|
|
99
|
-
usecortex_ai-0.3.
|
|
100
|
-
usecortex_ai-0.3.
|
|
101
|
-
usecortex_ai-0.3.
|
|
97
|
+
usecortex_ai-0.3.3.dist-info/licenses/LICENSE,sha256=Y4M0dr3NLw8mFQQ2MBdnC0YsrmcJ93WZ7-DgCliupK8,1245
|
|
98
|
+
usecortex_ai-0.3.3.dist-info/METADATA,sha256=CGyPMoCOMpKK61WhxX5Z5I_Rs-YzmLzGcsoH-7MOdWk,7950
|
|
99
|
+
usecortex_ai-0.3.3.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
100
|
+
usecortex_ai-0.3.3.dist-info/top_level.txt,sha256=TQ77el6hL0CvN7BTXJVFTqZ5ot1_kHKo2ZnEcOvZsjo,13
|
|
101
|
+
usecortex_ai-0.3.3.dist-info/RECORD,,
|
|
@@ -5,7 +5,7 @@ All Rights Reserved.
|
|
|
5
5
|
PROPRIETARY AND CONFIDENTIAL
|
|
6
6
|
|
|
7
7
|
This software is the proprietary and confidential property of Cortex AI ("the Company").
|
|
8
|
-
Permission is hereby granted to
|
|
8
|
+
Permission is hereby granted to users to install and use this software as part of the Cortex AI service, subject to the terms and conditions of the service agreement entered into with the Company.
|
|
9
9
|
|
|
10
10
|
You may not, without the express written permission of the Company:
|
|
11
11
|
|
|
File without changes
|
|
File without changes
|