usecortex-ai 0.1.0__py3-none-any.whl → 0.2.0__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 +6 -4
- {cortex_ai → usecortex_ai}/client.py +4 -4
- {cortex_ai → usecortex_ai}/embeddings/client.py +8 -8
- {cortex_ai → usecortex_ai}/fetch/client.py +2 -2
- {cortex_ai → usecortex_ai}/search/client.py +15 -16
- {cortex_ai → usecortex_ai}/search/raw_client.py +17 -18
- {cortex_ai → usecortex_ai}/sources/client.py +4 -4
- {cortex_ai → usecortex_ai}/tenant/client.py +2 -2
- {cortex_ai → usecortex_ai}/types/__init__.py +6 -4
- {cortex_ai → usecortex_ai}/types/app_sources_upload_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/batch_upload_data.py +1 -1
- usecortex_ai/types/body_scrape_webpage_upload_scrape_webpage_post.py +19 -0
- usecortex_ai/types/body_update_scrape_job_upload_update_webpage_patch.py +19 -0
- {cortex_ai → usecortex_ai}/types/embeddings_create_collection_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/embeddings_delete_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/embeddings_get_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/embeddings_search_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/error_response.py +1 -1
- {cortex_ai → usecortex_ai}/types/extended_context.py +1 -1
- {cortex_ai → usecortex_ai}/types/fetch_content_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/list_sources_response.py +1 -1
- {cortex_ai → usecortex_ai}/types/processing_status.py +1 -1
- usecortex_ai/types/relations.py +27 -0
- {cortex_ai → usecortex_ai}/types/single_upload_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/tenant_create_data.py +1 -1
- {cortex_ai → usecortex_ai}/types/tenant_stats.py +1 -1
- {cortex_ai → usecortex_ai}/upload/client.py +138 -120
- {cortex_ai → usecortex_ai}/upload/raw_client.py +154 -80
- {cortex_ai → usecortex_ai}/user/client.py +2 -2
- {cortex_ai → usecortex_ai}/user_memory/client.py +10 -10
- {usecortex_ai-0.1.0.dist-info → usecortex_ai-0.2.0.dist-info}/METADATA +1 -1
- usecortex_ai-0.2.0.dist-info/RECORD +90 -0
- usecortex_ai-0.2.0.dist-info/top_level.txt +1 -0
- cortex_ai/types/full_text_search_data.py +0 -22
- cortex_ai/types/search_data.py +0 -22
- usecortex_ai-0.1.0.dist-info/RECORD +0 -89
- usecortex_ai-0.1.0.dist-info/top_level.txt +0 -1
- {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}/embeddings/raw_client.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/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/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}/sources/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/tenant/__init__.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/attachment_model.py +0 -0
- {cortex_ai → usecortex_ai}/types/bm_25_operator_type.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/file_upload_result.py +0 -0
- {cortex_ai → usecortex_ai}/types/http_validation_error.py +0 -0
- {cortex_ai → usecortex_ai}/types/markdown_upload_request.py +0 -0
- {cortex_ai → usecortex_ai}/types/related_chunk.py +0 -0
- {cortex_ai → usecortex_ai}/types/search_chunk.py +0 -0
- {cortex_ai → usecortex_ai}/types/source.py +0 -0
- {cortex_ai → usecortex_ai}/types/source_content.py +0 -0
- {cortex_ai → usecortex_ai}/types/source_model.py +0 -0
- {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/raw_client.py +0 -0
- {cortex_ai → usecortex_ai}/user_memory/__init__.py +0 -0
- {cortex_ai → usecortex_ai}/user_memory/raw_client.py +0 -0
- {usecortex_ai-0.1.0.dist-info → usecortex_ai-0.2.0.dist-info}/WHEEL +0 -0
- {usecortex_ai-0.1.0.dist-info → usecortex_ai-0.2.0.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1,27 @@
|
|
|
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
|
|
@@ -8,7 +8,7 @@ from ..core.pydantic_utilities import IS_PYDANTIC_V2, UniversalBaseModel
|
|
|
8
8
|
|
|
9
9
|
class TenantStats(UniversalBaseModel):
|
|
10
10
|
success: typing.Optional[bool] = None
|
|
11
|
-
message: str
|
|
11
|
+
message: typing.Optional[str] = None
|
|
12
12
|
object_count: int
|
|
13
13
|
vector_dimension: typing.Optional[int] = None
|
|
14
14
|
tenant_name: str
|