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
|
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
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -8,9 +8,9 @@ from .file_upload_result import FileUploadResult
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class AppSourcesUploadData(UniversalBaseModel):
|
|
11
|
+
uploaded: typing.List[FileUploadResult]
|
|
11
12
|
success: typing.Optional[bool] = None
|
|
12
13
|
message: typing.Optional[str] = None
|
|
13
|
-
uploaded: typing.List[FileUploadResult]
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
File without changes
|
|
@@ -8,9 +8,9 @@ from .file_upload_result import FileUploadResult
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class BatchUploadData(UniversalBaseModel):
|
|
11
|
+
uploaded: typing.List[FileUploadResult]
|
|
11
12
|
success: typing.Optional[bool] = None
|
|
12
13
|
message: typing.Optional[str] = None
|
|
13
|
-
uploaded: typing.List[FileUploadResult]
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -7,10 +7,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class EmbeddingsCreateCollectionData(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
tenant_id: str
|
|
13
11
|
sub_tenant_id: str
|
|
12
|
+
success: typing.Optional[bool] = None
|
|
13
|
+
message: typing.Optional[str] = None
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -7,10 +7,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class EmbeddingsDeleteData(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
total_deleted: int
|
|
13
11
|
status: typing.Dict[str, bool]
|
|
12
|
+
success: typing.Optional[bool] = None
|
|
13
|
+
message: typing.Optional[str] = None
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -7,10 +7,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class EmbeddingsGetData(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
embeddings: typing.Dict[str, typing.List[float]]
|
|
13
11
|
not_found_chunk_ids: typing.List[str]
|
|
12
|
+
success: typing.Optional[bool] = None
|
|
13
|
+
message: typing.Optional[str] = None
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -7,10 +7,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class EmbeddingsSearchData(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
chunk_ids: typing.List[str]
|
|
13
11
|
scores: typing.List[float]
|
|
12
|
+
success: typing.Optional[bool] = None
|
|
13
|
+
message: typing.Optional[str] = None
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
File without changes
|
|
File without changes
|
|
@@ -7,11 +7,11 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class FetchContentData(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
file_id: str
|
|
13
11
|
url: str
|
|
14
12
|
file_content: typing.Optional[str] = None
|
|
13
|
+
success: typing.Optional[bool] = None
|
|
14
|
+
message: typing.Optional[str] = None
|
|
15
15
|
|
|
16
16
|
if IS_PYDANTIC_V2:
|
|
17
17
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
File without changes
|
|
File without changes
|
|
@@ -8,9 +8,9 @@ from .source import Source
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
class ListSourcesResponse(UniversalBaseModel):
|
|
11
|
+
sources: typing.List[typing.Optional[Source]]
|
|
11
12
|
success: typing.Optional[bool] = None
|
|
12
13
|
message: typing.Optional[str] = None
|
|
13
|
-
sources: typing.List[typing.Optional[Source]]
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -7,10 +7,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class ProcessingStatus(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
file_id: str
|
|
13
11
|
indexing_status: str
|
|
12
|
+
success: typing.Optional[bool] = None
|
|
13
|
+
message: typing.Optional[str] = None
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
File without changes
|
|
@@ -7,9 +7,9 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class SingleUploadData(UniversalBaseModel):
|
|
10
|
+
file_id: str
|
|
10
11
|
success: typing.Optional[bool] = None
|
|
11
12
|
message: typing.Optional[str] = None
|
|
12
|
-
file_id: str
|
|
13
13
|
|
|
14
14
|
if IS_PYDANTIC_V2:
|
|
15
15
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -7,10 +7,10 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class TenantCreateData(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
status: str
|
|
13
11
|
tenant_id: str
|
|
12
|
+
success: typing.Optional[bool] = None
|
|
13
|
+
message: typing.Optional[str] = None
|
|
14
14
|
|
|
15
15
|
if IS_PYDANTIC_V2:
|
|
16
16
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
@@ -7,11 +7,11 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
class TenantStats(UniversalBaseModel):
|
|
10
|
-
success: typing.Optional[bool] = None
|
|
11
|
-
message: typing.Optional[str] = None
|
|
12
10
|
object_count: int
|
|
13
|
-
vector_dimension: typing.Optional[int] = None
|
|
14
11
|
tenant_name: str
|
|
12
|
+
vector_dimension: typing.Optional[int] = None
|
|
13
|
+
success: typing.Optional[bool] = None
|
|
14
|
+
message: typing.Optional[str] = None
|
|
15
15
|
|
|
16
16
|
if IS_PYDANTIC_V2:
|
|
17
17
|
model_config: typing.ClassVar[pydantic.ConfigDict] = pydantic.ConfigDict(extra="allow", frozen=True) # type: ignore # Pydantic v2
|
|
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
|