usecortex-ai 0.1.1__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.
- {cortex_ai → usecortex_ai}/__init__.py +2 -0
- {cortex_ai → usecortex_ai}/embeddings/client.py +10 -12
- {cortex_ai → usecortex_ai}/embeddings/raw_client.py +8 -10
- {cortex_ai → usecortex_ai}/sources/client.py +83 -0
- {cortex_ai → usecortex_ai}/sources/raw_client.py +259 -0
- {cortex_ai → usecortex_ai}/types/__init__.py +2 -0
- {cortex_ai → usecortex_ai}/types/markdown_upload_request.py +2 -0
- usecortex_ai/types/relations.py +20 -0
- {cortex_ai → usecortex_ai}/types/search_chunk.py +5 -4
- {cortex_ai → usecortex_ai}/types/source.py +4 -3
- {cortex_ai → usecortex_ai}/types/source_content.py +2 -2
- {cortex_ai → usecortex_ai}/types/source_model.py +2 -0
- usecortex_ai/types/sub_tenant_ids_data.py +23 -0
- {cortex_ai → usecortex_ai}/upload/client.py +114 -53
- {cortex_ai → usecortex_ai}/upload/raw_client.py +94 -49
- {usecortex_ai-0.1.1.dist-info → usecortex_ai-0.2.1.dist-info}/METADATA +1 -1
- usecortex_ai-0.2.1.dist-info/RECORD +91 -0
- usecortex_ai-0.2.1.dist-info/top_level.txt +1 -0
- cortex_ai/types/relations.py +0 -27
- usecortex_ai-0.1.1.dist-info/RECORD +0 -90
- usecortex_ai-0.1.1.dist-info/top_level.txt +0 -1
- {cortex_ai → usecortex_ai}/client.py +0 -0
- {cortex_ai → usecortex_ai}/core/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/core/api_error.py +0 -0
- {cortex_ai → usecortex_ai}/core/client_wrapper.py +0 -0
- {cortex_ai → usecortex_ai}/core/datetime_utils.py +0 -0
- {cortex_ai → usecortex_ai}/core/file.py +0 -0
- {cortex_ai → usecortex_ai}/core/force_multipart.py +0 -0
- {cortex_ai → usecortex_ai}/core/http_client.py +0 -0
- {cortex_ai → usecortex_ai}/core/http_response.py +0 -0
- {cortex_ai → usecortex_ai}/core/jsonable_encoder.py +0 -0
- {cortex_ai → usecortex_ai}/core/pydantic_utilities.py +0 -0
- {cortex_ai → usecortex_ai}/core/query_encoder.py +0 -0
- {cortex_ai → usecortex_ai}/core/remove_none_from_dict.py +0 -0
- {cortex_ai → usecortex_ai}/core/request_options.py +0 -0
- {cortex_ai → usecortex_ai}/core/serialization.py +0 -0
- {cortex_ai → usecortex_ai}/embeddings/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/environment.py +0 -0
- {cortex_ai → usecortex_ai}/errors/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/errors/bad_request_error.py +0 -0
- {cortex_ai → usecortex_ai}/errors/forbidden_error.py +0 -0
- {cortex_ai → usecortex_ai}/errors/internal_server_error.py +0 -0
- {cortex_ai → usecortex_ai}/errors/not_found_error.py +0 -0
- {cortex_ai → usecortex_ai}/errors/service_unavailable_error.py +0 -0
- {cortex_ai → usecortex_ai}/errors/unauthorized_error.py +0 -0
- {cortex_ai → usecortex_ai}/errors/unprocessable_entity_error.py +0 -0
- {cortex_ai → usecortex_ai}/fetch/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/fetch/client.py +0 -0
- {cortex_ai → usecortex_ai}/fetch/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/search/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/search/client.py +0 -0
- {cortex_ai → usecortex_ai}/search/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/search/types/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/search/types/alpha.py +0 -0
- {cortex_ai → usecortex_ai}/sources/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/tenant/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/tenant/client.py +0 -0
- {cortex_ai → usecortex_ai}/tenant/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/types/actual_error_response.py +0 -0
- {cortex_ai → usecortex_ai}/types/app_sources_upload_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/attachment_model.py +0 -0
- {cortex_ai → usecortex_ai}/types/batch_upload_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/bm_25_operator_type.py +0 -0
- {cortex_ai → usecortex_ai}/types/body_scrape_webpage_upload_scrape_webpage_post.py +0 -0
- {cortex_ai → usecortex_ai}/types/body_update_scrape_job_upload_update_webpage_patch.py +0 -0
- {cortex_ai → usecortex_ai}/types/content_model.py +0 -0
- {cortex_ai → usecortex_ai}/types/delete_memory_request.py +0 -0
- {cortex_ai → usecortex_ai}/types/embeddings_create_collection_data.py +2 -2
- {cortex_ai → usecortex_ai}/types/embeddings_delete_data.py +2 -2
- {cortex_ai → usecortex_ai}/types/embeddings_get_data.py +2 -2
- {cortex_ai → usecortex_ai}/types/embeddings_search_data.py +2 -2
- {cortex_ai → usecortex_ai}/types/error_response.py +0 -0
- {cortex_ai → usecortex_ai}/types/extended_context.py +0 -0
- {cortex_ai → usecortex_ai}/types/fetch_content_data.py +2 -2
- {cortex_ai → usecortex_ai}/types/file_upload_result.py +0 -0
- {cortex_ai → usecortex_ai}/types/http_validation_error.py +0 -0
- {cortex_ai → usecortex_ai}/types/list_sources_response.py +1 -1
- {cortex_ai → usecortex_ai}/types/processing_status.py +2 -2
- {cortex_ai → usecortex_ai}/types/related_chunk.py +0 -0
- {cortex_ai → usecortex_ai}/types/single_upload_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/tenant_create_data.py +2 -2
- {cortex_ai → usecortex_ai}/types/tenant_stats.py +3 -3
- {cortex_ai → usecortex_ai}/types/validation_error.py +0 -0
- {cortex_ai → usecortex_ai}/types/validation_error_loc_item.py +0 -0
- {cortex_ai → usecortex_ai}/upload/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/user/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/user/client.py +0 -0
- {cortex_ai → usecortex_ai}/user/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/user_memory/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/user_memory/client.py +0 -0
- {cortex_ai → usecortex_ai}/user_memory/raw_client.py +0 -0
- {usecortex_ai-0.1.1.dist-info → usecortex_ai-0.2.1.dist-info}/WHEEL +0 -0
- {usecortex_ai-0.1.1.dist-info → usecortex_ai-0.2.1.dist-info}/licenses/LICENSE +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
|
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
usecortex_ai/__init__.py,sha256=ZOT7XsxwhwLa5GfFYe7V3r-SXUEhEM2LHm08yZNhwTo,2510
|
|
2
|
+
usecortex_ai/client.py,sha256=v7QxZaGTwNrfxXWnSMk90TYJuWh9RIzxqX8308bUBhc,9643
|
|
3
|
+
usecortex_ai/environment.py,sha256=IZ0X7CTz4V0TzNaMrw6E5GJklcTLxGJmrWEyH-LtYsc,162
|
|
4
|
+
usecortex_ai/raw_client.py,sha256=Z2zedJhFwHoO_Zmm2enC_s-gd8SM_itaWZOfL0rSobE,3532
|
|
5
|
+
usecortex_ai/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
6
|
+
usecortex_ai/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
7
|
+
usecortex_ai/core/client_wrapper.py,sha256=50sko9nNjHmtUmiWiGjJZ3cT9RITCKzfOgvJ55QlwQQ,2681
|
|
8
|
+
usecortex_ai/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
9
|
+
usecortex_ai/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
10
|
+
usecortex_ai/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
11
|
+
usecortex_ai/core/http_client.py,sha256=QurkBvCZZz2Z1d8znp4M2YbOXebBUPcPXRhPIS84Wvk,21214
|
|
12
|
+
usecortex_ai/core/http_response.py,sha256=A6URkoTBCiryctAA-m9EiDWOsHgM5oYAlcYVc_YOiiI,1330
|
|
13
|
+
usecortex_ai/core/jsonable_encoder.py,sha256=hGgcEEeX11sqxxsll7h15pO3pTNVxk_n79Kcn0laoWA,3655
|
|
14
|
+
usecortex_ai/core/pydantic_utilities.py,sha256=alHZbJORJ1RxtFlr4Aohw47_QAtCeMbcGPgCvxKsfPM,10830
|
|
15
|
+
usecortex_ai/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM,2144
|
|
16
|
+
usecortex_ai/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
17
|
+
usecortex_ai/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
18
|
+
usecortex_ai/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
|
|
19
|
+
usecortex_ai/embeddings/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
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
|
+
usecortex_ai/errors/__init__.py,sha256=PS842uUNhpA1vS6eb6QYEAPq3tbg4_pLujUebJu3dLk,648
|
|
23
|
+
usecortex_ai/errors/bad_request_error.py,sha256=VdKbyoKQhQoaKa0UvQz-9_xMvvI1wVgpghH975VS0Tk,392
|
|
24
|
+
usecortex_ai/errors/forbidden_error.py,sha256=OFKc3DYjz7Ybiu2MTHhGFfe6PRawyVqKV1qKWAf_iMI,391
|
|
25
|
+
usecortex_ai/errors/internal_server_error.py,sha256=7Q3V1RVFccNJ8gwak_83qc7wP-n2U6dV6QSlo4lZogY,396
|
|
26
|
+
usecortex_ai/errors/not_found_error.py,sha256=LL12suWtwnSbfeDhA42vsQKQp3epxbWsxOpYtWBmXSI,390
|
|
27
|
+
usecortex_ai/errors/service_unavailable_error.py,sha256=SPY3eX47JsLLSrYse65vxdYgpc0Ov4v-bjau02zii9s,400
|
|
28
|
+
usecortex_ai/errors/unauthorized_error.py,sha256=bWAey6G90kY_sxDwz39g6z293zRKW_gAVOjQLlfcn-M,394
|
|
29
|
+
usecortex_ai/errors/unprocessable_entity_error.py,sha256=JqxtzIhvjkpQDqbT9Q-go1n-gyv9PsYqq0ng_ZYyBMo,347
|
|
30
|
+
usecortex_ai/fetch/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
31
|
+
usecortex_ai/fetch/client.py,sha256=Xn0U4LmPH2AdBegLdr1EHi5HaQYF303-9aiwFRtdJmk,3950
|
|
32
|
+
usecortex_ai/fetch/raw_client.py,sha256=FCBFr34T4yIzudw3FBDWPZ2FdV1yWMsORrrjkLVyLTg,11734
|
|
33
|
+
usecortex_ai/search/__init__.py,sha256=iA8ksy3OzGPGNq_g8cVXsEiZuWyAEAnKI6fHUFWEE-A,131
|
|
34
|
+
usecortex_ai/search/client.py,sha256=RSu16NvOWlUeKQjDlECUARoJ3FEyoHYGQvFyEOOuBTQ,18817
|
|
35
|
+
usecortex_ai/search/raw_client.py,sha256=8zTzuYt0jygo511bIZ7bL5s9b0Bc1c1pLa8cQYlR12g,43027
|
|
36
|
+
usecortex_ai/search/types/__init__.py,sha256=T0zQrrDzfvgmw2Deo_iYanUoxcVhZ9jDO_fS3CpSU9M,131
|
|
37
|
+
usecortex_ai/search/types/alpha.py,sha256=afIpOT9uMdYdUZB_biXoggzRnZlnr00miVPDgxDRFIA,113
|
|
38
|
+
usecortex_ai/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
39
|
+
usecortex_ai/sources/client.py,sha256=imJ1dJABdv0FB2JNwX5LJCyZAsySE6w6M76MmK5ZlWU,7899
|
|
40
|
+
usecortex_ai/sources/raw_client.py,sha256=HAXcXXcWG5Of1dCrkWLKdTgChLqeFgaV1vAaEXy8JNI,30957
|
|
41
|
+
usecortex_ai/tenant/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
42
|
+
usecortex_ai/tenant/client.py,sha256=-i5OxrQ4rU32nUTkTcV3LgKqwAhhDCv1HNNceHMspd0,3202
|
|
43
|
+
usecortex_ai/tenant/raw_client.py,sha256=-CE7jE7q-w2wWcpp7-WP0OsFcWv-uroBlcMWAJEF8zY,10844
|
|
44
|
+
usecortex_ai/types/__init__.py,sha256=t4UuYAt3v07X0TygF-g2vVVs7LVdDTcEklHEJ7Mykxw,2661
|
|
45
|
+
usecortex_ai/types/actual_error_response.py,sha256=EBit_JO3u0FQrVAXDg0UXQktlULLPLtX8FF8J9mZSvY,580
|
|
46
|
+
usecortex_ai/types/app_sources_upload_data.py,sha256=zjz7kwHzdr3l8ZxEnSCbfQwFy_IgFQQ_9Je2Ix3iCv4,689
|
|
47
|
+
usecortex_ai/types/attachment_model.py,sha256=j_wRZSzZXpVDMFadagNwvN_K4aYlp29QyKcG00tt2X4,881
|
|
48
|
+
usecortex_ai/types/batch_upload_data.py,sha256=GNCJpfLrf7HYtFRHdo4ob98-VWi0YKorLX61EWIAvBM,684
|
|
49
|
+
usecortex_ai/types/bm_25_operator_type.py,sha256=wiromvB4YjgxKQcS1-1BNBZ7MqKP1JzBEbY1R8K-wq4,153
|
|
50
|
+
usecortex_ai/types/body_scrape_webpage_upload_scrape_webpage_post.py,sha256=rH1ec9ukeFTy_prVfX9Ziuw9sTJcHD2unJZJFktavGE,576
|
|
51
|
+
usecortex_ai/types/body_update_scrape_job_upload_update_webpage_patch.py,sha256=KHiN56z8DMrF0pFQAgFMAaPyykyq4pksYzZYBpzBURQ,579
|
|
52
|
+
usecortex_ai/types/content_model.py,sha256=k9o8CBnCshunSPtE9a98DR2-L8oSq5egBYeJPKlEB0c,1066
|
|
53
|
+
usecortex_ai/types/delete_memory_request.py,sha256=M1WpkCJbp4wxP9ZfB6PZNkpEJNyWxkxfw7Jj_7phwfQ,611
|
|
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
|
+
usecortex_ai/types/error_response.py,sha256=CM9yFFCayjBprEHEvXK9RvhntuBPhLxjQ_Vmgt8w_wo,713
|
|
59
|
+
usecortex_ai/types/extended_context.py,sha256=yDKPhML8JrGShrjtYK8E44JIKPxLI16KXlYEb-3UTXw,613
|
|
60
|
+
usecortex_ai/types/fetch_content_data.py,sha256=n2nA7H4NnSFkoad7VejiDKf61D4D7s0QlsPhV630I4U,668
|
|
61
|
+
usecortex_ai/types/file_upload_result.py,sha256=mTzHWoqTS4Go1anXycJ5uD052u1-Ba4a6sduEYHvvVQ,568
|
|
62
|
+
usecortex_ai/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
|
|
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
|
+
usecortex_ai/types/related_chunk.py,sha256=Ed7pzlEbycX5kmjvzF5-c9QvwOzyGozTsX9uAQMsDCI,613
|
|
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
|
|
76
|
+
usecortex_ai/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
77
|
+
usecortex_ai/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
78
|
+
usecortex_ai/upload/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
79
|
+
usecortex_ai/upload/client.py,sha256=ajao6M37hj6PIcOav7RhniuF9VSEXDxnqEYaxYRYGpc,48923
|
|
80
|
+
usecortex_ai/upload/raw_client.py,sha256=3h9LULKjUXcuRyvZjDXOp1BAYwsbowLpMNoFs4kjZfc,165617
|
|
81
|
+
usecortex_ai/user/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
82
|
+
usecortex_ai/user/client.py,sha256=dUnTvb8i5eozWg7NHeOvsmDla3qetp7-8j6goP7WzBQ,3856
|
|
83
|
+
usecortex_ai/user/raw_client.py,sha256=JKrPQG4-j-lZyAq-qMNIeB9WaaE-1xLal7GKapdf2Qs,11858
|
|
84
|
+
usecortex_ai/user_memory/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
85
|
+
usecortex_ai/user_memory/client.py,sha256=FlyahubwpgHaUU1FlPsBz7NnC0opHFM9xL8ofctSxpA,12501
|
|
86
|
+
usecortex_ai/user_memory/raw_client.py,sha256=4jmktMGuFivAmvOoC-1G3nhRsrdjhhwsCFqLRLlIWZ0,24010
|
|
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,,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
usecortex_ai
|
cortex_ai/types/relations.py
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
# This file was auto-generated by Fern from our API Definition.
|
|
2
|
-
|
|
3
|
-
import typing
|
|
4
|
-
|
|
5
|
-
import pydantic
|
|
6
|
-
from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
class Relations(UniversalBaseModel):
|
|
10
|
-
cortex_source_ids: typing.Optional[typing.List[str]] = pydantic.Field(default=None)
|
|
11
|
-
"""
|
|
12
|
-
List of cortex source IDs for relations
|
|
13
|
-
"""
|
|
14
|
-
|
|
15
|
-
auto_discovery: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = pydantic.Field(default=None)
|
|
16
|
-
"""
|
|
17
|
-
Additional metadata for relations
|
|
18
|
-
"""
|
|
19
|
-
|
|
20
|
-
if IS_PYDANTIC_V2:
|
|
21
|
-
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
22
|
-
else:
|
|
23
|
-
|
|
24
|
-
class Config:
|
|
25
|
-
frozen = True
|
|
26
|
-
smart_union = True
|
|
27
|
-
extra = pydantic.Extra.allow
|
|
@@ -1,90 +0,0 @@
|
|
|
1
|
-
cortex_ai/__init__.py,sha256=BxQ61yUqhklAXM8-k4DyRgJm2L1BjEgQKnOFukzDFS8,2464
|
|
2
|
-
cortex_ai/client.py,sha256=v7QxZaGTwNrfxXWnSMk90TYJuWh9RIzxqX8308bUBhc,9643
|
|
3
|
-
cortex_ai/environment.py,sha256=IZ0X7CTz4V0TzNaMrw6E5GJklcTLxGJmrWEyH-LtYsc,162
|
|
4
|
-
cortex_ai/raw_client.py,sha256=Z2zedJhFwHoO_Zmm2enC_s-gd8SM_itaWZOfL0rSobE,3532
|
|
5
|
-
cortex_ai/core/__init__.py,sha256=lTcqUPXcx4112yLDd70RAPeqq6tu3eFMe1pKOqkW9JQ,1562
|
|
6
|
-
cortex_ai/core/api_error.py,sha256=44vPoTyWN59gonCIZMdzw7M1uspygiLnr3GNFOoVL2Q,614
|
|
7
|
-
cortex_ai/core/client_wrapper.py,sha256=50sko9nNjHmtUmiWiGjJZ3cT9RITCKzfOgvJ55QlwQQ,2681
|
|
8
|
-
cortex_ai/core/datetime_utils.py,sha256=nBys2IsYrhPdszxGKCNRPSOCwa-5DWOHG95FB8G9PKo,1047
|
|
9
|
-
cortex_ai/core/file.py,sha256=d4NNbX8XvXP32z8KpK2Xovv33nFfruIrpz0QWxlgpZk,2663
|
|
10
|
-
cortex_ai/core/force_multipart.py,sha256=cH981xLy0kZVKiZZkFoeUjgJ2Zuq7KXB2aRAnmHzRDc,477
|
|
11
|
-
cortex_ai/core/http_client.py,sha256=QurkBvCZZz2Z1d8znp4M2YbOXebBUPcPXRhPIS84Wvk,21214
|
|
12
|
-
cortex_ai/core/http_response.py,sha256=A6URkoTBCiryctAA-m9EiDWOsHgM5oYAlcYVc_YOiiI,1330
|
|
13
|
-
cortex_ai/core/jsonable_encoder.py,sha256=hGgcEEeX11sqxxsll7h15pO3pTNVxk_n79Kcn0laoWA,3655
|
|
14
|
-
cortex_ai/core/pydantic_utilities.py,sha256=alHZbJORJ1RxtFlr4Aohw47_QAtCeMbcGPgCvxKsfPM,10830
|
|
15
|
-
cortex_ai/core/query_encoder.py,sha256=ekulqNd0j8TgD7ox-Qbz7liqX8-KP9blvT9DsRCenYM,2144
|
|
16
|
-
cortex_ai/core/remove_none_from_dict.py,sha256=EU9SGgYidWq7SexuJbNs4-PZ-5Bl3Vppd864mS6vQZw,342
|
|
17
|
-
cortex_ai/core/request_options.py,sha256=h0QUNCFVdCW_7GclVySCAY2w4NhtXVBUCmHgmzaxpcg,1681
|
|
18
|
-
cortex_ai/core/serialization.py,sha256=ECL3bvv_0i7U4uvPidZCNel--MUbA0iq0aGcNKi3kws,9818
|
|
19
|
-
cortex_ai/embeddings/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
20
|
-
cortex_ai/embeddings/client.py,sha256=Dk9w852J2Hc6rIcp-w26enSikU-REF3stAYI8bdldLI,14359
|
|
21
|
-
cortex_ai/embeddings/raw_client.py,sha256=05od3BJChCSAnNdQ_ZjSRJhB_V8RD92e8yU9oEiF7sU,45532
|
|
22
|
-
cortex_ai/errors/__init__.py,sha256=PS842uUNhpA1vS6eb6QYEAPq3tbg4_pLujUebJu3dLk,648
|
|
23
|
-
cortex_ai/errors/bad_request_error.py,sha256=VdKbyoKQhQoaKa0UvQz-9_xMvvI1wVgpghH975VS0Tk,392
|
|
24
|
-
cortex_ai/errors/forbidden_error.py,sha256=OFKc3DYjz7Ybiu2MTHhGFfe6PRawyVqKV1qKWAf_iMI,391
|
|
25
|
-
cortex_ai/errors/internal_server_error.py,sha256=7Q3V1RVFccNJ8gwak_83qc7wP-n2U6dV6QSlo4lZogY,396
|
|
26
|
-
cortex_ai/errors/not_found_error.py,sha256=LL12suWtwnSbfeDhA42vsQKQp3epxbWsxOpYtWBmXSI,390
|
|
27
|
-
cortex_ai/errors/service_unavailable_error.py,sha256=SPY3eX47JsLLSrYse65vxdYgpc0Ov4v-bjau02zii9s,400
|
|
28
|
-
cortex_ai/errors/unauthorized_error.py,sha256=bWAey6G90kY_sxDwz39g6z293zRKW_gAVOjQLlfcn-M,394
|
|
29
|
-
cortex_ai/errors/unprocessable_entity_error.py,sha256=JqxtzIhvjkpQDqbT9Q-go1n-gyv9PsYqq0ng_ZYyBMo,347
|
|
30
|
-
cortex_ai/fetch/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
31
|
-
cortex_ai/fetch/client.py,sha256=Xn0U4LmPH2AdBegLdr1EHi5HaQYF303-9aiwFRtdJmk,3950
|
|
32
|
-
cortex_ai/fetch/raw_client.py,sha256=FCBFr34T4yIzudw3FBDWPZ2FdV1yWMsORrrjkLVyLTg,11734
|
|
33
|
-
cortex_ai/search/__init__.py,sha256=iA8ksy3OzGPGNq_g8cVXsEiZuWyAEAnKI6fHUFWEE-A,131
|
|
34
|
-
cortex_ai/search/client.py,sha256=RSu16NvOWlUeKQjDlECUARoJ3FEyoHYGQvFyEOOuBTQ,18817
|
|
35
|
-
cortex_ai/search/raw_client.py,sha256=8zTzuYt0jygo511bIZ7bL5s9b0Bc1c1pLa8cQYlR12g,43027
|
|
36
|
-
cortex_ai/search/types/__init__.py,sha256=T0zQrrDzfvgmw2Deo_iYanUoxcVhZ9jDO_fS3CpSU9M,131
|
|
37
|
-
cortex_ai/search/types/alpha.py,sha256=afIpOT9uMdYdUZB_biXoggzRnZlnr00miVPDgxDRFIA,113
|
|
38
|
-
cortex_ai/sources/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
39
|
-
cortex_ai/sources/client.py,sha256=mXw6PfnDfRaCp2oiUsTh3z4bFMEXyqvQH_aCp62a4gE,5180
|
|
40
|
-
cortex_ai/sources/raw_client.py,sha256=_7ESuj9-_Zi2JMfSRoAgwL68OKUecCgSPs8yqzzcOKo,20639
|
|
41
|
-
cortex_ai/tenant/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
42
|
-
cortex_ai/tenant/client.py,sha256=-i5OxrQ4rU32nUTkTcV3LgKqwAhhDCv1HNNceHMspd0,3202
|
|
43
|
-
cortex_ai/tenant/raw_client.py,sha256=-CE7jE7q-w2wWcpp7-WP0OsFcWv-uroBlcMWAJEF8zY,10844
|
|
44
|
-
cortex_ai/types/__init__.py,sha256=PGWmYk6tDlv4jLUNkzwOnjrGDXumkH4jOSVkAZ_xHG4,2587
|
|
45
|
-
cortex_ai/types/actual_error_response.py,sha256=EBit_JO3u0FQrVAXDg0UXQktlULLPLtX8FF8J9mZSvY,580
|
|
46
|
-
cortex_ai/types/app_sources_upload_data.py,sha256=WY1Gn5w5leyjKXEmxx6E7f4cJr6G11wFP5eD1yjJQKs,689
|
|
47
|
-
cortex_ai/types/attachment_model.py,sha256=j_wRZSzZXpVDMFadagNwvN_K4aYlp29QyKcG00tt2X4,881
|
|
48
|
-
cortex_ai/types/batch_upload_data.py,sha256=0n7_Ab5g6cVccTcWAX1thVv4aSN2HloRAztoqkjtpyg,684
|
|
49
|
-
cortex_ai/types/bm_25_operator_type.py,sha256=wiromvB4YjgxKQcS1-1BNBZ7MqKP1JzBEbY1R8K-wq4,153
|
|
50
|
-
cortex_ai/types/body_scrape_webpage_upload_scrape_webpage_post.py,sha256=rH1ec9ukeFTy_prVfX9Ziuw9sTJcHD2unJZJFktavGE,576
|
|
51
|
-
cortex_ai/types/body_update_scrape_job_upload_update_webpage_patch.py,sha256=KHiN56z8DMrF0pFQAgFMAaPyykyq4pksYzZYBpzBURQ,579
|
|
52
|
-
cortex_ai/types/content_model.py,sha256=k9o8CBnCshunSPtE9a98DR2-L8oSq5egBYeJPKlEB0c,1066
|
|
53
|
-
cortex_ai/types/delete_memory_request.py,sha256=M1WpkCJbp4wxP9ZfB6PZNkpEJNyWxkxfw7Jj_7phwfQ,611
|
|
54
|
-
cortex_ai/types/embeddings_create_collection_data.py,sha256=8SAq7FsgTD9wT3DMNrAnAcZNBecTf1Yw7xpAyOFoyao,648
|
|
55
|
-
cortex_ai/types/embeddings_delete_data.py,sha256=p9ELYPnza696owXz-dPMgqubUd5KE7TiqFAW_leHzoY,654
|
|
56
|
-
cortex_ai/types/embeddings_get_data.py,sha256=WTLLItlykbj1z37CKxxnCRc66e-FjG2PX0obX78QAAA,688
|
|
57
|
-
cortex_ai/types/embeddings_search_data.py,sha256=1nvJSlsWMInUWD23P3cEgPm3BaPDCZ0b-ZfTgFGORRA,659
|
|
58
|
-
cortex_ai/types/error_response.py,sha256=CM9yFFCayjBprEHEvXK9RvhntuBPhLxjQ_Vmgt8w_wo,713
|
|
59
|
-
cortex_ai/types/extended_context.py,sha256=yDKPhML8JrGShrjtYK8E44JIKPxLI16KXlYEb-3UTXw,613
|
|
60
|
-
cortex_ai/types/fetch_content_data.py,sha256=YpWsBl-1fAcKw4OhmXOT5iSKJk0uRzU9LKV0-JH__ic,668
|
|
61
|
-
cortex_ai/types/file_upload_result.py,sha256=mTzHWoqTS4Go1anXycJ5uD052u1-Ba4a6sduEYHvvVQ,568
|
|
62
|
-
cortex_ai/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
|
|
63
|
-
cortex_ai/types/list_sources_response.py,sha256=FBwR2NT_roFftIMfmrCd3JkjfDmSfKffJ-BfjvcscPI,672
|
|
64
|
-
cortex_ai/types/markdown_upload_request.py,sha256=l2lB6cn_MPpl0BLQLjnqgB3y1P0QIyI-dtP2ANAUQRs,715
|
|
65
|
-
cortex_ai/types/processing_status.py,sha256=3uyVl8S4CqRz_sR2UyGg0BDjwSdX66aYdwvbUXdVg4A,634
|
|
66
|
-
cortex_ai/types/related_chunk.py,sha256=Ed7pzlEbycX5kmjvzF5-c9QvwOzyGozTsX9uAQMsDCI,613
|
|
67
|
-
cortex_ai/types/relations.py,sha256=gH_UwgZMbsYAVxJu4FI3CURxSkHTKVzM0YfKx7qBxZ4,819
|
|
68
|
-
cortex_ai/types/search_chunk.py,sha256=p1m7UZ9gTfqy4-yZgLGFzUaZDo8yOTCi4nxGxpoDPFg,1272
|
|
69
|
-
cortex_ai/types/single_upload_data.py,sha256=OU4-spG_7Xrc9GjmDaEztP_PogZ2WICKDOJlfnxw8Gg,609
|
|
70
|
-
cortex_ai/types/source.py,sha256=KEz7WEwo7PXBOnh9qWOPqFsclag56y-zjLN7oUNQlt4,1152
|
|
71
|
-
cortex_ai/types/source_content.py,sha256=Ll6NrI2cIdAK5jM0274hi4Lu7hvWKNexXwYLswKlfNM,1007
|
|
72
|
-
cortex_ai/types/source_model.py,sha256=Ez1oMLz6cpEFqdqFm-H2ABIL4MNfHT-vdfBZQ6vjnr8,1215
|
|
73
|
-
cortex_ai/types/tenant_create_data.py,sha256=iQe-zI01xevwqG2kjxY0Xuwl3C5osks0ZUhlvuK_GQs,627
|
|
74
|
-
cortex_ai/types/tenant_stats.py,sha256=2r8kNssnj3nSTYeQ_QfQqwHK1ejuvESQ-e1s9u6kZwU,680
|
|
75
|
-
cortex_ai/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
76
|
-
cortex_ai/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
77
|
-
cortex_ai/upload/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
78
|
-
cortex_ai/upload/client.py,sha256=_PsHNGhPE0RlsKzaVRVXg9T76dmZXQgGvKy9gwyGam4,46083
|
|
79
|
-
cortex_ai/upload/raw_client.py,sha256=rGetOIE-6IF7gXa23Ju1x-L495zZ7lGlKtAGkslER3k,163283
|
|
80
|
-
cortex_ai/user/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
81
|
-
cortex_ai/user/client.py,sha256=dUnTvb8i5eozWg7NHeOvsmDla3qetp7-8j6goP7WzBQ,3856
|
|
82
|
-
cortex_ai/user/raw_client.py,sha256=JKrPQG4-j-lZyAq-qMNIeB9WaaE-1xLal7GKapdf2Qs,11858
|
|
83
|
-
cortex_ai/user_memory/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
84
|
-
cortex_ai/user_memory/client.py,sha256=FlyahubwpgHaUU1FlPsBz7NnC0opHFM9xL8ofctSxpA,12501
|
|
85
|
-
cortex_ai/user_memory/raw_client.py,sha256=4jmktMGuFivAmvOoC-1G3nhRsrdjhhwsCFqLRLlIWZ0,24010
|
|
86
|
-
usecortex_ai-0.1.1.dist-info/licenses/LICENSE,sha256=ExSrDLXpv6Bq3AiBk9VwLfysI9Fj-L3LqJNGKqbxNzw,1256
|
|
87
|
-
usecortex_ai-0.1.1.dist-info/METADATA,sha256=S3nQNH-L5rBgLrU2P_GP776JCmg2jZ3EiqDdzq2zPZ0,6242
|
|
88
|
-
usecortex_ai-0.1.1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
89
|
-
usecortex_ai-0.1.1.dist-info/top_level.txt,sha256=Jsal8Zjdf3N1PFK-9sZV2ZQyUeoZVZWHYk8DZ2Qvc1Y,10
|
|
90
|
-
usecortex_ai-0.1.1.dist-info/RECORD,,
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
cortex_ai
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|