usecortex-ai 0.2.0__py3-none-any.whl → 0.2.1__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/__init__.py +2 -0
- usecortex_ai/embeddings/client.py +10 -12
- usecortex_ai/embeddings/raw_client.py +8 -10
- usecortex_ai/sources/client.py +83 -0
- usecortex_ai/sources/raw_client.py +259 -0
- usecortex_ai/types/__init__.py +2 -0
- usecortex_ai/types/app_sources_upload_data.py +1 -1
- usecortex_ai/types/batch_upload_data.py +1 -1
- usecortex_ai/types/embeddings_create_collection_data.py +2 -2
- usecortex_ai/types/embeddings_delete_data.py +2 -2
- usecortex_ai/types/embeddings_get_data.py +2 -2
- usecortex_ai/types/embeddings_search_data.py +2 -2
- usecortex_ai/types/fetch_content_data.py +2 -2
- usecortex_ai/types/list_sources_response.py +1 -1
- usecortex_ai/types/markdown_upload_request.py +2 -0
- usecortex_ai/types/processing_status.py +2 -2
- usecortex_ai/types/relations.py +2 -9
- usecortex_ai/types/search_chunk.py +5 -4
- usecortex_ai/types/single_upload_data.py +1 -1
- usecortex_ai/types/source.py +4 -3
- usecortex_ai/types/source_content.py +2 -2
- usecortex_ai/types/source_model.py +2 -0
- usecortex_ai/types/sub_tenant_ids_data.py +23 -0
- usecortex_ai/types/tenant_create_data.py +2 -2
- usecortex_ai/types/tenant_stats.py +3 -3
- usecortex_ai/upload/client.py +114 -53
- usecortex_ai/upload/raw_client.py +94 -49
- {usecortex_ai-0.2.0.dist-info → usecortex_ai-0.2.1.dist-info}/METADATA +1 -1
- {usecortex_ai-0.2.0.dist-info → usecortex_ai-0.2.1.dist-info}/RECORD +32 -31
- {usecortex_ai-0.2.0.dist-info → usecortex_ai-0.2.1.dist-info}/WHEEL +0 -0
- {usecortex_ai-0.2.0.dist-info → usecortex_ai-0.2.1.dist-info}/licenses/LICENSE +0 -0
- {usecortex_ai-0.2.0.dist-info → usecortex_ai-0.2.1.dist-info}/top_level.txt +0 -0
|
@@ -20,7 +20,6 @@ from ..errors.unprocessable_entity_error import UnprocessableEntityError
|
|
|
20
20
|
from ..types.actual_error_response import ActualErrorResponse
|
|
21
21
|
from ..types.app_sources_upload_data import AppSourcesUploadData
|
|
22
22
|
from ..types.batch_upload_data import BatchUploadData
|
|
23
|
-
from ..types.markdown_upload_request import MarkdownUploadRequest
|
|
24
23
|
from ..types.processing_status import ProcessingStatus
|
|
25
24
|
from ..types.relations import Relations
|
|
26
25
|
from ..types.single_upload_data import SingleUploadData
|
|
@@ -763,8 +762,10 @@ class RawUploadClient:
|
|
|
763
762
|
self,
|
|
764
763
|
*,
|
|
765
764
|
tenant_id: str,
|
|
766
|
-
|
|
765
|
+
content: str,
|
|
767
766
|
sub_tenant_id: typing.Optional[str] = None,
|
|
767
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
768
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
768
769
|
relations: typing.Optional[Relations] = OMIT,
|
|
769
770
|
request_options: typing.Optional[RequestOptions] = None,
|
|
770
771
|
) -> HttpResponse[SingleUploadData]:
|
|
@@ -776,10 +777,14 @@ class RawUploadClient:
|
|
|
776
777
|
----------
|
|
777
778
|
tenant_id : str
|
|
778
779
|
|
|
779
|
-
|
|
780
|
+
content : str
|
|
780
781
|
|
|
781
782
|
sub_tenant_id : typing.Optional[str]
|
|
782
783
|
|
|
784
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
785
|
+
|
|
786
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
787
|
+
|
|
783
788
|
relations : typing.Optional[Relations]
|
|
784
789
|
|
|
785
790
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -798,9 +803,9 @@ class RawUploadClient:
|
|
|
798
803
|
"sub_tenant_id": sub_tenant_id,
|
|
799
804
|
},
|
|
800
805
|
json={
|
|
801
|
-
"
|
|
802
|
-
|
|
803
|
-
|
|
806
|
+
"content": content,
|
|
807
|
+
"tenant_metadata": tenant_metadata,
|
|
808
|
+
"document_metadata": document_metadata,
|
|
804
809
|
"relations": convert_and_respect_annotation_metadata(
|
|
805
810
|
object_=relations, annotation=Relations, direction="write"
|
|
806
811
|
),
|
|
@@ -907,8 +912,10 @@ class RawUploadClient:
|
|
|
907
912
|
self,
|
|
908
913
|
*,
|
|
909
914
|
tenant_id: str,
|
|
910
|
-
|
|
915
|
+
content: str,
|
|
911
916
|
sub_tenant_id: typing.Optional[str] = None,
|
|
917
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
918
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
912
919
|
relations: typing.Optional[Relations] = OMIT,
|
|
913
920
|
request_options: typing.Optional[RequestOptions] = None,
|
|
914
921
|
) -> HttpResponse[SingleUploadData]:
|
|
@@ -920,10 +927,14 @@ class RawUploadClient:
|
|
|
920
927
|
----------
|
|
921
928
|
tenant_id : str
|
|
922
929
|
|
|
923
|
-
|
|
930
|
+
content : str
|
|
924
931
|
|
|
925
932
|
sub_tenant_id : typing.Optional[str]
|
|
926
933
|
|
|
934
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
935
|
+
|
|
936
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
937
|
+
|
|
927
938
|
relations : typing.Optional[Relations]
|
|
928
939
|
|
|
929
940
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -942,9 +953,9 @@ class RawUploadClient:
|
|
|
942
953
|
"sub_tenant_id": sub_tenant_id,
|
|
943
954
|
},
|
|
944
955
|
json={
|
|
945
|
-
"
|
|
946
|
-
|
|
947
|
-
|
|
956
|
+
"content": content,
|
|
957
|
+
"tenant_metadata": tenant_metadata,
|
|
958
|
+
"document_metadata": document_metadata,
|
|
948
959
|
"relations": convert_and_respect_annotation_metadata(
|
|
949
960
|
object_=relations, annotation=Relations, direction="write"
|
|
950
961
|
),
|
|
@@ -1052,8 +1063,10 @@ class RawUploadClient:
|
|
|
1052
1063
|
*,
|
|
1053
1064
|
source_id: str,
|
|
1054
1065
|
tenant_id: str,
|
|
1055
|
-
|
|
1066
|
+
content: str,
|
|
1056
1067
|
sub_tenant_id: typing.Optional[str] = None,
|
|
1068
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
1069
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
1057
1070
|
relations: typing.Optional[Relations] = OMIT,
|
|
1058
1071
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1059
1072
|
) -> HttpResponse[SingleUploadData]:
|
|
@@ -1064,10 +1077,14 @@ class RawUploadClient:
|
|
|
1064
1077
|
|
|
1065
1078
|
tenant_id : str
|
|
1066
1079
|
|
|
1067
|
-
|
|
1080
|
+
content : str
|
|
1068
1081
|
|
|
1069
1082
|
sub_tenant_id : typing.Optional[str]
|
|
1070
1083
|
|
|
1084
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
1085
|
+
|
|
1086
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
1087
|
+
|
|
1071
1088
|
relations : typing.Optional[Relations]
|
|
1072
1089
|
|
|
1073
1090
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -1087,9 +1104,9 @@ class RawUploadClient:
|
|
|
1087
1104
|
"sub_tenant_id": sub_tenant_id,
|
|
1088
1105
|
},
|
|
1089
1106
|
json={
|
|
1090
|
-
"
|
|
1091
|
-
|
|
1092
|
-
|
|
1107
|
+
"content": content,
|
|
1108
|
+
"tenant_metadata": tenant_metadata,
|
|
1109
|
+
"document_metadata": document_metadata,
|
|
1093
1110
|
"relations": convert_and_respect_annotation_metadata(
|
|
1094
1111
|
object_=relations, annotation=Relations, direction="write"
|
|
1095
1112
|
),
|
|
@@ -1197,8 +1214,10 @@ class RawUploadClient:
|
|
|
1197
1214
|
*,
|
|
1198
1215
|
source_id: str,
|
|
1199
1216
|
tenant_id: str,
|
|
1200
|
-
|
|
1217
|
+
content: str,
|
|
1201
1218
|
sub_tenant_id: typing.Optional[str] = None,
|
|
1219
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
1220
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
1202
1221
|
relations: typing.Optional[Relations] = OMIT,
|
|
1203
1222
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1204
1223
|
) -> HttpResponse[SingleUploadData]:
|
|
@@ -1209,10 +1228,14 @@ class RawUploadClient:
|
|
|
1209
1228
|
|
|
1210
1229
|
tenant_id : str
|
|
1211
1230
|
|
|
1212
|
-
|
|
1231
|
+
content : str
|
|
1213
1232
|
|
|
1214
1233
|
sub_tenant_id : typing.Optional[str]
|
|
1215
1234
|
|
|
1235
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
1236
|
+
|
|
1237
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
1238
|
+
|
|
1216
1239
|
relations : typing.Optional[Relations]
|
|
1217
1240
|
|
|
1218
1241
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -1232,9 +1255,9 @@ class RawUploadClient:
|
|
|
1232
1255
|
"sub_tenant_id": sub_tenant_id,
|
|
1233
1256
|
},
|
|
1234
1257
|
json={
|
|
1235
|
-
"
|
|
1236
|
-
|
|
1237
|
-
|
|
1258
|
+
"content": content,
|
|
1259
|
+
"tenant_metadata": tenant_metadata,
|
|
1260
|
+
"document_metadata": document_metadata,
|
|
1238
1261
|
"relations": convert_and_respect_annotation_metadata(
|
|
1239
1262
|
object_=relations, annotation=Relations, direction="write"
|
|
1240
1263
|
),
|
|
@@ -1478,8 +1501,8 @@ class RawUploadClient:
|
|
|
1478
1501
|
self,
|
|
1479
1502
|
*,
|
|
1480
1503
|
tenant_id: str,
|
|
1481
|
-
embeddings: typing.Dict[str, typing.Sequence[float]],
|
|
1482
1504
|
sub_tenant_id: typing.Optional[str] = None,
|
|
1505
|
+
embeddings: typing.Optional[typing.Dict[str, typing.Sequence[float]]] = OMIT,
|
|
1483
1506
|
request_options: typing.Optional[RequestOptions] = None,
|
|
1484
1507
|
) -> HttpResponse[SingleUploadData]:
|
|
1485
1508
|
"""
|
|
@@ -1487,11 +1510,10 @@ class RawUploadClient:
|
|
|
1487
1510
|
----------
|
|
1488
1511
|
tenant_id : str
|
|
1489
1512
|
|
|
1490
|
-
embeddings : typing.Dict[str, typing.Sequence[float]]
|
|
1491
|
-
Dictionary with chunk_id as key and embedding array as value
|
|
1492
|
-
|
|
1493
1513
|
sub_tenant_id : typing.Optional[str]
|
|
1494
1514
|
|
|
1515
|
+
embeddings : typing.Optional[typing.Dict[str, typing.Sequence[float]]]
|
|
1516
|
+
|
|
1495
1517
|
request_options : typing.Optional[RequestOptions]
|
|
1496
1518
|
Request-specific configuration.
|
|
1497
1519
|
|
|
@@ -2886,8 +2908,10 @@ class AsyncRawUploadClient:
|
|
|
2886
2908
|
self,
|
|
2887
2909
|
*,
|
|
2888
2910
|
tenant_id: str,
|
|
2889
|
-
|
|
2911
|
+
content: str,
|
|
2890
2912
|
sub_tenant_id: typing.Optional[str] = None,
|
|
2913
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
2914
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
2891
2915
|
relations: typing.Optional[Relations] = OMIT,
|
|
2892
2916
|
request_options: typing.Optional[RequestOptions] = None,
|
|
2893
2917
|
) -> AsyncHttpResponse[SingleUploadData]:
|
|
@@ -2899,10 +2923,14 @@ class AsyncRawUploadClient:
|
|
|
2899
2923
|
----------
|
|
2900
2924
|
tenant_id : str
|
|
2901
2925
|
|
|
2902
|
-
|
|
2926
|
+
content : str
|
|
2903
2927
|
|
|
2904
2928
|
sub_tenant_id : typing.Optional[str]
|
|
2905
2929
|
|
|
2930
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
2931
|
+
|
|
2932
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
2933
|
+
|
|
2906
2934
|
relations : typing.Optional[Relations]
|
|
2907
2935
|
|
|
2908
2936
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -2921,9 +2949,9 @@ class AsyncRawUploadClient:
|
|
|
2921
2949
|
"sub_tenant_id": sub_tenant_id,
|
|
2922
2950
|
},
|
|
2923
2951
|
json={
|
|
2924
|
-
"
|
|
2925
|
-
|
|
2926
|
-
|
|
2952
|
+
"content": content,
|
|
2953
|
+
"tenant_metadata": tenant_metadata,
|
|
2954
|
+
"document_metadata": document_metadata,
|
|
2927
2955
|
"relations": convert_and_respect_annotation_metadata(
|
|
2928
2956
|
object_=relations, annotation=Relations, direction="write"
|
|
2929
2957
|
),
|
|
@@ -3030,8 +3058,10 @@ class AsyncRawUploadClient:
|
|
|
3030
3058
|
self,
|
|
3031
3059
|
*,
|
|
3032
3060
|
tenant_id: str,
|
|
3033
|
-
|
|
3061
|
+
content: str,
|
|
3034
3062
|
sub_tenant_id: typing.Optional[str] = None,
|
|
3063
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
3064
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
3035
3065
|
relations: typing.Optional[Relations] = OMIT,
|
|
3036
3066
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3037
3067
|
) -> AsyncHttpResponse[SingleUploadData]:
|
|
@@ -3043,10 +3073,14 @@ class AsyncRawUploadClient:
|
|
|
3043
3073
|
----------
|
|
3044
3074
|
tenant_id : str
|
|
3045
3075
|
|
|
3046
|
-
|
|
3076
|
+
content : str
|
|
3047
3077
|
|
|
3048
3078
|
sub_tenant_id : typing.Optional[str]
|
|
3049
3079
|
|
|
3080
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
3081
|
+
|
|
3082
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
3083
|
+
|
|
3050
3084
|
relations : typing.Optional[Relations]
|
|
3051
3085
|
|
|
3052
3086
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -3065,9 +3099,9 @@ class AsyncRawUploadClient:
|
|
|
3065
3099
|
"sub_tenant_id": sub_tenant_id,
|
|
3066
3100
|
},
|
|
3067
3101
|
json={
|
|
3068
|
-
"
|
|
3069
|
-
|
|
3070
|
-
|
|
3102
|
+
"content": content,
|
|
3103
|
+
"tenant_metadata": tenant_metadata,
|
|
3104
|
+
"document_metadata": document_metadata,
|
|
3071
3105
|
"relations": convert_and_respect_annotation_metadata(
|
|
3072
3106
|
object_=relations, annotation=Relations, direction="write"
|
|
3073
3107
|
),
|
|
@@ -3175,8 +3209,10 @@ class AsyncRawUploadClient:
|
|
|
3175
3209
|
*,
|
|
3176
3210
|
source_id: str,
|
|
3177
3211
|
tenant_id: str,
|
|
3178
|
-
|
|
3212
|
+
content: str,
|
|
3179
3213
|
sub_tenant_id: typing.Optional[str] = None,
|
|
3214
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
3215
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
3180
3216
|
relations: typing.Optional[Relations] = OMIT,
|
|
3181
3217
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3182
3218
|
) -> AsyncHttpResponse[SingleUploadData]:
|
|
@@ -3187,10 +3223,14 @@ class AsyncRawUploadClient:
|
|
|
3187
3223
|
|
|
3188
3224
|
tenant_id : str
|
|
3189
3225
|
|
|
3190
|
-
|
|
3226
|
+
content : str
|
|
3191
3227
|
|
|
3192
3228
|
sub_tenant_id : typing.Optional[str]
|
|
3193
3229
|
|
|
3230
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
3231
|
+
|
|
3232
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
3233
|
+
|
|
3194
3234
|
relations : typing.Optional[Relations]
|
|
3195
3235
|
|
|
3196
3236
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -3210,9 +3250,9 @@ class AsyncRawUploadClient:
|
|
|
3210
3250
|
"sub_tenant_id": sub_tenant_id,
|
|
3211
3251
|
},
|
|
3212
3252
|
json={
|
|
3213
|
-
"
|
|
3214
|
-
|
|
3215
|
-
|
|
3253
|
+
"content": content,
|
|
3254
|
+
"tenant_metadata": tenant_metadata,
|
|
3255
|
+
"document_metadata": document_metadata,
|
|
3216
3256
|
"relations": convert_and_respect_annotation_metadata(
|
|
3217
3257
|
object_=relations, annotation=Relations, direction="write"
|
|
3218
3258
|
),
|
|
@@ -3320,8 +3360,10 @@ class AsyncRawUploadClient:
|
|
|
3320
3360
|
*,
|
|
3321
3361
|
source_id: str,
|
|
3322
3362
|
tenant_id: str,
|
|
3323
|
-
|
|
3363
|
+
content: str,
|
|
3324
3364
|
sub_tenant_id: typing.Optional[str] = None,
|
|
3365
|
+
tenant_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
3366
|
+
document_metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
|
|
3325
3367
|
relations: typing.Optional[Relations] = OMIT,
|
|
3326
3368
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3327
3369
|
) -> AsyncHttpResponse[SingleUploadData]:
|
|
@@ -3332,10 +3374,14 @@ class AsyncRawUploadClient:
|
|
|
3332
3374
|
|
|
3333
3375
|
tenant_id : str
|
|
3334
3376
|
|
|
3335
|
-
|
|
3377
|
+
content : str
|
|
3336
3378
|
|
|
3337
3379
|
sub_tenant_id : typing.Optional[str]
|
|
3338
3380
|
|
|
3381
|
+
tenant_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
3382
|
+
|
|
3383
|
+
document_metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
|
|
3384
|
+
|
|
3339
3385
|
relations : typing.Optional[Relations]
|
|
3340
3386
|
|
|
3341
3387
|
request_options : typing.Optional[RequestOptions]
|
|
@@ -3355,9 +3401,9 @@ class AsyncRawUploadClient:
|
|
|
3355
3401
|
"sub_tenant_id": sub_tenant_id,
|
|
3356
3402
|
},
|
|
3357
3403
|
json={
|
|
3358
|
-
"
|
|
3359
|
-
|
|
3360
|
-
|
|
3404
|
+
"content": content,
|
|
3405
|
+
"tenant_metadata": tenant_metadata,
|
|
3406
|
+
"document_metadata": document_metadata,
|
|
3361
3407
|
"relations": convert_and_respect_annotation_metadata(
|
|
3362
3408
|
object_=relations, annotation=Relations, direction="write"
|
|
3363
3409
|
),
|
|
@@ -3601,8 +3647,8 @@ class AsyncRawUploadClient:
|
|
|
3601
3647
|
self,
|
|
3602
3648
|
*,
|
|
3603
3649
|
tenant_id: str,
|
|
3604
|
-
embeddings: typing.Dict[str, typing.Sequence[float]],
|
|
3605
3650
|
sub_tenant_id: typing.Optional[str] = None,
|
|
3651
|
+
embeddings: typing.Optional[typing.Dict[str, typing.Sequence[float]]] = OMIT,
|
|
3606
3652
|
request_options: typing.Optional[RequestOptions] = None,
|
|
3607
3653
|
) -> AsyncHttpResponse[SingleUploadData]:
|
|
3608
3654
|
"""
|
|
@@ -3610,11 +3656,10 @@ class AsyncRawUploadClient:
|
|
|
3610
3656
|
----------
|
|
3611
3657
|
tenant_id : str
|
|
3612
3658
|
|
|
3613
|
-
embeddings : typing.Dict[str, typing.Sequence[float]]
|
|
3614
|
-
Dictionary with chunk_id as key and embedding array as value
|
|
3615
|
-
|
|
3616
3659
|
sub_tenant_id : typing.Optional[str]
|
|
3617
3660
|
|
|
3661
|
+
embeddings : typing.Optional[typing.Dict[str, typing.Sequence[float]]]
|
|
3662
|
+
|
|
3618
3663
|
request_options : typing.Optional[RequestOptions]
|
|
3619
3664
|
Request-specific configuration.
|
|
3620
3665
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
usecortex_ai/__init__.py,sha256=
|
|
1
|
+
usecortex_ai/__init__.py,sha256=ZOT7XsxwhwLa5GfFYe7V3r-SXUEhEM2LHm08yZNhwTo,2510
|
|
2
2
|
usecortex_ai/client.py,sha256=v7QxZaGTwNrfxXWnSMk90TYJuWh9RIzxqX8308bUBhc,9643
|
|
3
3
|
usecortex_ai/environment.py,sha256=IZ0X7CTz4V0TzNaMrw6E5GJklcTLxGJmrWEyH-LtYsc,162
|
|
4
4
|
usecortex_ai/raw_client.py,sha256=Z2zedJhFwHoO_Zmm2enC_s-gd8SM_itaWZOfL0rSobE,3532
|
|
@@ -17,8 +17,8 @@ usecortex_ai/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3V
|
|
|
17
17
|
usecortex_ai/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
18
18
|
usecortex_ai/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
|
|
19
19
|
usecortex_ai/embeddings/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
20
|
-
usecortex_ai/embeddings/client.py,sha256=
|
|
21
|
-
usecortex_ai/embeddings/raw_client.py,sha256=
|
|
20
|
+
usecortex_ai/embeddings/client.py,sha256=ex7J_ziOsH-GKSnfm8NVqPt-dQB-5y3gcBixnlatRz8,14311
|
|
21
|
+
usecortex_ai/embeddings/raw_client.py,sha256=zwmea1LluX0nQP8ZTV_kGO90w_0uyQcxz5kIOwUeKfI,45520
|
|
22
22
|
usecortex_ai/errors/__init__.py,sha256=PS842uUNhpA1vS6eb6QYEAPq3tbg4_pLujUebJu3dLk,648
|
|
23
23
|
usecortex_ai/errors/bad_request_error.py,sha256=VdKbyoKQhQoaKa0UvQz-9_xMvvI1wVgpghH975VS0Tk,392
|
|
24
24
|
usecortex_ai/errors/forbidden_error.py,sha256=OFKc3DYjz7Ybiu2MTHhGFfe6PRawyVqKV1qKWAf_iMI,391
|
|
@@ -36,55 +36,56 @@ usecortex_ai/search/raw_client.py,sha256=8zTzuYt0jygo511bIZ7bL5s9b0Bc1c1pLa8cQYl
|
|
|
36
36
|
usecortex_ai/search/types/__init__.py,sha256=T0zQrrDzfvgmw2Deo_iYanUoxcVhZ9jDO_fS3CpSU9M,131
|
|
37
37
|
usecortex_ai/search/types/alpha.py,sha256=afIpOT9uMdYdUZB_biXoggzRnZlnr00miVPDgxDRFIA,113
|
|
38
38
|
usecortex_ai/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
39
|
-
usecortex_ai/sources/client.py,sha256=
|
|
40
|
-
usecortex_ai/sources/raw_client.py,sha256=
|
|
39
|
+
usecortex_ai/sources/client.py,sha256=imJ1dJABdv0FB2JNwX5LJCyZAsySE6w6M76MmK5ZlWU,7899
|
|
40
|
+
usecortex_ai/sources/raw_client.py,sha256=HAXcXXcWG5Of1dCrkWLKdTgChLqeFgaV1vAaEXy8JNI,30957
|
|
41
41
|
usecortex_ai/tenant/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
42
42
|
usecortex_ai/tenant/client.py,sha256=-i5OxrQ4rU32nUTkTcV3LgKqwAhhDCv1HNNceHMspd0,3202
|
|
43
43
|
usecortex_ai/tenant/raw_client.py,sha256=-CE7jE7q-w2wWcpp7-WP0OsFcWv-uroBlcMWAJEF8zY,10844
|
|
44
|
-
usecortex_ai/types/__init__.py,sha256=
|
|
44
|
+
usecortex_ai/types/__init__.py,sha256=t4UuYAt3v07X0TygF-g2vVVs7LVdDTcEklHEJ7Mykxw,2661
|
|
45
45
|
usecortex_ai/types/actual_error_response.py,sha256=EBit_JO3u0FQrVAXDg0UXQktlULLPLtX8FF8J9mZSvY,580
|
|
46
|
-
usecortex_ai/types/app_sources_upload_data.py,sha256=
|
|
46
|
+
usecortex_ai/types/app_sources_upload_data.py,sha256=zjz7kwHzdr3l8ZxEnSCbfQwFy_IgFQQ_9Je2Ix3iCv4,689
|
|
47
47
|
usecortex_ai/types/attachment_model.py,sha256=j_wRZSzZXpVDMFadagNwvN_K4aYlp29QyKcG00tt2X4,881
|
|
48
|
-
usecortex_ai/types/batch_upload_data.py,sha256=
|
|
48
|
+
usecortex_ai/types/batch_upload_data.py,sha256=GNCJpfLrf7HYtFRHdo4ob98-VWi0YKorLX61EWIAvBM,684
|
|
49
49
|
usecortex_ai/types/bm_25_operator_type.py,sha256=wiromvB4YjgxKQcS1-1BNBZ7MqKP1JzBEbY1R8K-wq4,153
|
|
50
50
|
usecortex_ai/types/body_scrape_webpage_upload_scrape_webpage_post.py,sha256=rH1ec9ukeFTy_prVfX9Ziuw9sTJcHD2unJZJFktavGE,576
|
|
51
51
|
usecortex_ai/types/body_update_scrape_job_upload_update_webpage_patch.py,sha256=KHiN56z8DMrF0pFQAgFMAaPyykyq4pksYzZYBpzBURQ,579
|
|
52
52
|
usecortex_ai/types/content_model.py,sha256=k9o8CBnCshunSPtE9a98DR2-L8oSq5egBYeJPKlEB0c,1066
|
|
53
53
|
usecortex_ai/types/delete_memory_request.py,sha256=M1WpkCJbp4wxP9ZfB6PZNkpEJNyWxkxfw7Jj_7phwfQ,611
|
|
54
|
-
usecortex_ai/types/embeddings_create_collection_data.py,sha256=
|
|
55
|
-
usecortex_ai/types/embeddings_delete_data.py,sha256=
|
|
56
|
-
usecortex_ai/types/embeddings_get_data.py,sha256=
|
|
57
|
-
usecortex_ai/types/embeddings_search_data.py,sha256=
|
|
54
|
+
usecortex_ai/types/embeddings_create_collection_data.py,sha256=sxJwpklPo6G0H0uAd3z9laOOaXpP1XANfpk6M4Ym3B8,648
|
|
55
|
+
usecortex_ai/types/embeddings_delete_data.py,sha256=bu18GD5GhdAFJaLMk-Bwaf2r2XtxmaH56YPf6peeVHo,654
|
|
56
|
+
usecortex_ai/types/embeddings_get_data.py,sha256=w-GS8G2AlpKabS0gu_trg39YAzr_M-WVXvh7sfjm5Pw,688
|
|
57
|
+
usecortex_ai/types/embeddings_search_data.py,sha256=MMqCg5y-IdYf1yraQoytG6HH3LuLQKxn0tSLzgICSHU,659
|
|
58
58
|
usecortex_ai/types/error_response.py,sha256=CM9yFFCayjBprEHEvXK9RvhntuBPhLxjQ_Vmgt8w_wo,713
|
|
59
59
|
usecortex_ai/types/extended_context.py,sha256=yDKPhML8JrGShrjtYK8E44JIKPxLI16KXlYEb-3UTXw,613
|
|
60
|
-
usecortex_ai/types/fetch_content_data.py,sha256=
|
|
60
|
+
usecortex_ai/types/fetch_content_data.py,sha256=n2nA7H4NnSFkoad7VejiDKf61D4D7s0QlsPhV630I4U,668
|
|
61
61
|
usecortex_ai/types/file_upload_result.py,sha256=mTzHWoqTS4Go1anXycJ5uD052u1-Ba4a6sduEYHvvVQ,568
|
|
62
62
|
usecortex_ai/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
|
|
63
|
-
usecortex_ai/types/list_sources_response.py,sha256=
|
|
64
|
-
usecortex_ai/types/markdown_upload_request.py,sha256=
|
|
65
|
-
usecortex_ai/types/processing_status.py,sha256=
|
|
63
|
+
usecortex_ai/types/list_sources_response.py,sha256=vmaTZNvQ4Id8nxP3EKSiPg-0OXVUpo3y8wF5TkQKgJA,672
|
|
64
|
+
usecortex_ai/types/markdown_upload_request.py,sha256=9lLdbM8XkS12pA-Z0FjlY4rMqu-HgOSdn4kld0nLT8Q,797
|
|
65
|
+
usecortex_ai/types/processing_status.py,sha256=eMbACwH6YDtPJ6Py2oFlJe8aepVw0Oh-mG34gVwo2lY,634
|
|
66
66
|
usecortex_ai/types/related_chunk.py,sha256=Ed7pzlEbycX5kmjvzF5-c9QvwOzyGozTsX9uAQMsDCI,613
|
|
67
|
-
usecortex_ai/types/relations.py,sha256=
|
|
68
|
-
usecortex_ai/types/search_chunk.py,sha256=
|
|
69
|
-
usecortex_ai/types/single_upload_data.py,sha256=
|
|
70
|
-
usecortex_ai/types/source.py,sha256=
|
|
71
|
-
usecortex_ai/types/source_content.py,sha256=
|
|
72
|
-
usecortex_ai/types/source_model.py,sha256=
|
|
73
|
-
usecortex_ai/types/
|
|
74
|
-
usecortex_ai/types/
|
|
67
|
+
usecortex_ai/types/relations.py,sha256=5rBAcRo66jT7pxGKMFiRbMSPhKjBYsV7NXFeyTYmGKs,656
|
|
68
|
+
usecortex_ai/types/search_chunk.py,sha256=b5qEvATu0VaCGwmQ-jucrQvfXbnhkmF8AJKIjCMBV2M,1387
|
|
69
|
+
usecortex_ai/types/single_upload_data.py,sha256=Vc9FHMSwYqQj_iK3yZ_ZmPReIIWb11HdCbRZ9EsOCRk,609
|
|
70
|
+
usecortex_ai/types/source.py,sha256=BK_-7wdfNvbLn8dMyPcUh5mpAlvxIXU0AXX7Xi9elJg,1243
|
|
71
|
+
usecortex_ai/types/source_content.py,sha256=540sRnzTbA2bA34OHAFjCf9kkVSXkHyzbXoSML8CdJI,1067
|
|
72
|
+
usecortex_ai/types/source_model.py,sha256=9D1oaiPXMy6Z2XKj3APtT14d1P8KMKaKKEKm2e9NZnY,1399
|
|
73
|
+
usecortex_ai/types/sub_tenant_ids_data.py,sha256=0KnktQDQcBAY4TL10dFTAJ3KTiQLA558sHLwOAF6cxk,669
|
|
74
|
+
usecortex_ai/types/tenant_create_data.py,sha256=6FHuMtzZlnbSzu-6lIZ5iMEYIRsN4wUxu6QfCaMclXk,627
|
|
75
|
+
usecortex_ai/types/tenant_stats.py,sha256=02xaqsBb_St57Z7FhY5oPxjbdvdqql-nj5Sdp8C5bHQ,680
|
|
75
76
|
usecortex_ai/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
76
77
|
usecortex_ai/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
77
78
|
usecortex_ai/upload/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
78
|
-
usecortex_ai/upload/client.py,sha256=
|
|
79
|
-
usecortex_ai/upload/raw_client.py,sha256=
|
|
79
|
+
usecortex_ai/upload/client.py,sha256=ajao6M37hj6PIcOav7RhniuF9VSEXDxnqEYaxYRYGpc,48923
|
|
80
|
+
usecortex_ai/upload/raw_client.py,sha256=3h9LULKjUXcuRyvZjDXOp1BAYwsbowLpMNoFs4kjZfc,165617
|
|
80
81
|
usecortex_ai/user/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
81
82
|
usecortex_ai/user/client.py,sha256=dUnTvb8i5eozWg7NHeOvsmDla3qetp7-8j6goP7WzBQ,3856
|
|
82
83
|
usecortex_ai/user/raw_client.py,sha256=JKrPQG4-j-lZyAq-qMNIeB9WaaE-1xLal7GKapdf2Qs,11858
|
|
83
84
|
usecortex_ai/user_memory/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
84
85
|
usecortex_ai/user_memory/client.py,sha256=FlyahubwpgHaUU1FlPsBz7NnC0opHFM9xL8ofctSxpA,12501
|
|
85
86
|
usecortex_ai/user_memory/raw_client.py,sha256=4jmktMGuFivAmvOoC-1G3nhRsrdjhhwsCFqLRLlIWZ0,24010
|
|
86
|
-
usecortex_ai-0.2.
|
|
87
|
-
usecortex_ai-0.2.
|
|
88
|
-
usecortex_ai-0.2.
|
|
89
|
-
usecortex_ai-0.2.
|
|
90
|
-
usecortex_ai-0.2.
|
|
87
|
+
usecortex_ai-0.2.1.dist-info/licenses/LICENSE,sha256=ExSrDLXpv6Bq3AiBk9VwLfysI9Fj-L3LqJNGKqbxNzw,1256
|
|
88
|
+
usecortex_ai-0.2.1.dist-info/METADATA,sha256=RztKJ36mqkQIX2TzaOK2wQfQmKjAb7uVbckhZrTJ7V4,6242
|
|
89
|
+
usecortex_ai-0.2.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
90
|
+
usecortex_ai-0.2.1.dist-info/top_level.txt,sha256=TQ77el6hL0CvN7BTXJVFTqZ5ot1_kHKo2ZnEcOvZsjo,13
|
|
91
|
+
usecortex_ai-0.2.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|