usecortex-ai 0.1.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/__init__.py +103 -0
- cortex_ai/client.py +244 -0
- cortex_ai/core/__init__.py +52 -0
- cortex_ai/core/api_error.py +23 -0
- cortex_ai/core/client_wrapper.py +84 -0
- cortex_ai/core/datetime_utils.py +28 -0
- cortex_ai/core/file.py +67 -0
- cortex_ai/core/force_multipart.py +18 -0
- cortex_ai/core/http_client.py +543 -0
- cortex_ai/core/http_response.py +55 -0
- cortex_ai/core/jsonable_encoder.py +100 -0
- cortex_ai/core/pydantic_utilities.py +258 -0
- cortex_ai/core/query_encoder.py +58 -0
- cortex_ai/core/remove_none_from_dict.py +11 -0
- cortex_ai/core/request_options.py +35 -0
- cortex_ai/core/serialization.py +276 -0
- cortex_ai/embeddings/__init__.py +4 -0
- cortex_ai/embeddings/client.py +442 -0
- cortex_ai/embeddings/raw_client.py +1153 -0
- cortex_ai/environment.py +7 -0
- cortex_ai/errors/__init__.py +21 -0
- cortex_ai/errors/bad_request_error.py +11 -0
- cortex_ai/errors/forbidden_error.py +11 -0
- cortex_ai/errors/internal_server_error.py +11 -0
- cortex_ai/errors/not_found_error.py +11 -0
- cortex_ai/errors/service_unavailable_error.py +11 -0
- cortex_ai/errors/unauthorized_error.py +11 -0
- cortex_ai/errors/unprocessable_entity_error.py +10 -0
- cortex_ai/fetch/__init__.py +4 -0
- cortex_ai/fetch/client.py +143 -0
- cortex_ai/fetch/raw_client.py +310 -0
- cortex_ai/raw_client.py +90 -0
- cortex_ai/search/__init__.py +7 -0
- cortex_ai/search/client.py +536 -0
- cortex_ai/search/raw_client.py +1064 -0
- cortex_ai/search/types/__init__.py +7 -0
- cortex_ai/search/types/alpha.py +5 -0
- cortex_ai/sources/__init__.py +4 -0
- cortex_ai/sources/client.py +187 -0
- cortex_ai/sources/raw_client.py +532 -0
- cortex_ai/tenant/__init__.py +4 -0
- cortex_ai/tenant/client.py +120 -0
- cortex_ai/tenant/raw_client.py +283 -0
- cortex_ai/types/__init__.py +69 -0
- cortex_ai/types/actual_error_response.py +20 -0
- cortex_ai/types/app_sources_upload_data.py +22 -0
- cortex_ai/types/attachment_model.py +26 -0
- cortex_ai/types/batch_upload_data.py +22 -0
- cortex_ai/types/bm_25_operator_type.py +5 -0
- cortex_ai/types/content_model.py +26 -0
- cortex_ai/types/delete_memory_request.py +21 -0
- cortex_ai/types/embeddings_create_collection_data.py +22 -0
- cortex_ai/types/embeddings_delete_data.py +22 -0
- cortex_ai/types/embeddings_get_data.py +22 -0
- cortex_ai/types/embeddings_search_data.py +22 -0
- cortex_ai/types/error_response.py +22 -0
- cortex_ai/types/extended_context.py +20 -0
- cortex_ai/types/fetch_content_data.py +23 -0
- cortex_ai/types/file_upload_result.py +20 -0
- cortex_ai/types/full_text_search_data.py +22 -0
- cortex_ai/types/http_validation_error.py +20 -0
- cortex_ai/types/list_sources_response.py +22 -0
- cortex_ai/types/markdown_upload_request.py +21 -0
- cortex_ai/types/processing_status.py +22 -0
- cortex_ai/types/related_chunk.py +22 -0
- cortex_ai/types/search_chunk.py +34 -0
- cortex_ai/types/search_data.py +22 -0
- cortex_ai/types/single_upload_data.py +21 -0
- cortex_ai/types/source.py +32 -0
- cortex_ai/types/source_content.py +26 -0
- cortex_ai/types/source_model.py +32 -0
- cortex_ai/types/tenant_create_data.py +22 -0
- cortex_ai/types/tenant_stats.py +23 -0
- cortex_ai/types/validation_error.py +22 -0
- cortex_ai/types/validation_error_loc_item.py +5 -0
- cortex_ai/upload/__init__.py +4 -0
- cortex_ai/upload/client.py +1572 -0
- cortex_ai/upload/raw_client.py +4202 -0
- cortex_ai/user/__init__.py +4 -0
- cortex_ai/user/client.py +125 -0
- cortex_ai/user/raw_client.py +300 -0
- cortex_ai/user_memory/__init__.py +4 -0
- cortex_ai/user_memory/client.py +443 -0
- cortex_ai/user_memory/raw_client.py +651 -0
- usecortex_ai-0.1.0.dist-info/METADATA +136 -0
- usecortex_ai-0.1.0.dist-info/RECORD +89 -0
- usecortex_ai-0.1.0.dist-info/WHEEL +5 -0
- usecortex_ai-0.1.0.dist-info/licenses/LICENSE +22 -0
- usecortex_ai-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,136 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: usecortex-ai
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: The official Python SDK for the Cortex AI platform.
|
|
5
|
+
Author-email: Nishkarsh Shrivastava <nishkarsh@usecortex.ai>
|
|
6
|
+
License: Copyright (c) 2024 Cortex AI
|
|
7
|
+
|
|
8
|
+
All Rights Reserved.
|
|
9
|
+
|
|
10
|
+
PROPRIETARY AND CONFIDENTIAL
|
|
11
|
+
|
|
12
|
+
This software is the proprietary and confidential property of Cortex AI ("the Company").
|
|
13
|
+
Permission is hereby granted to authorized 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
|
+
|
|
15
|
+
You may not, without the express written permission of the Company:
|
|
16
|
+
|
|
17
|
+
1. Copy, modify, or create derivative works of the software.
|
|
18
|
+
2. Distribute, sell, rent, lease, sublicense, or otherwise transfer the software to any third party.
|
|
19
|
+
3. Reverse engineer, decompile, or disassemble the software, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
|
|
20
|
+
|
|
21
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
22
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
23
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
24
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
25
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
26
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
27
|
+
SOFTWARE.
|
|
28
|
+
Project-URL: Homepage, https://www.usecortex.ai/
|
|
29
|
+
Project-URL: Documentation, https://docs.usecortex.ai/
|
|
30
|
+
Keywords: cortex,ai,sdk,api,generative ai,rag
|
|
31
|
+
Classifier: Development Status :: 4 - Beta
|
|
32
|
+
Classifier: Programming Language :: Python :: 3
|
|
33
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
34
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
35
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
36
|
+
Classifier: Intended Audience :: Developers
|
|
37
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
38
|
+
Classifier: Typing :: Typed
|
|
39
|
+
Requires-Python: >=3.10
|
|
40
|
+
Description-Content-Type: text/markdown
|
|
41
|
+
License-File: LICENSE
|
|
42
|
+
Requires-Dist: httpx>=0.24
|
|
43
|
+
Requires-Dist: pydantic<3,>=1.10
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
|
|
46
|
+
```
|
|
47
|
+
# Introduction
|
|
48
|
+
|
|
49
|
+
> You can generate and manage API keys from your Cortex Dashboard. All endpoints require an API key sent as a Bearer token in the Authorization header.
|
|
50
|
+
|
|
51
|
+
Welcome to the Cortex SDK API Reference. This section documents every available endpoint and how to interact with them to power AI apps and agents with intelligent memory and retrieval.
|
|
52
|
+
|
|
53
|
+
> Base URL: `https://api.usecortex.ai`
|
|
54
|
+
>
|
|
55
|
+
> Contact us to get your API key at [founders@usecortex.ai](mailto:founders@usecortex.ai)
|
|
56
|
+
|
|
57
|
+
```mdx
|
|
58
|
+
Authorization: Bearer <your_api_key>
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
### **Data Ingestion**
|
|
62
|
+
|
|
63
|
+
Upload and import content into Cortex from various sources.
|
|
64
|
+
|
|
65
|
+
* `/upload/upload_document` — Upload single documents
|
|
66
|
+
* `/upload/upload_text` — Upload text/markdown content
|
|
67
|
+
* `/upload/upload_app_sources` — Import from workplace apps (Gmail, Slack, etc.)
|
|
68
|
+
* `/upload/scrape_webpage` — Scrape and index web content
|
|
69
|
+
* `/upload/verify_processing` — Check upload processing status
|
|
70
|
+
* `/upload/batch_upload` — Upload multiple files at once
|
|
71
|
+
|
|
72
|
+
### **Search & Query**
|
|
73
|
+
|
|
74
|
+
Retrieve answers and information from your knowledge base.
|
|
75
|
+
|
|
76
|
+
* `/search/qna` — Main search endpoint with AI-powered responses. Supports optional `metadata` parameter to filter sources by `source_title` or `source_type`.
|
|
77
|
+
* `/search/retrieve` — Hybrid search without AI generation. Returns structured search results for custom processing.
|
|
78
|
+
– `/search/full-text-search` – Perform a full text search without AI generation. Allows you to use operators like logical `AND`, `OR`
|
|
79
|
+
|
|
80
|
+
### **Knowledge Management**
|
|
81
|
+
|
|
82
|
+
Browse, fetch, and manage your knowledge base.
|
|
83
|
+
|
|
84
|
+
* `/list/sources` — Browse all indexed sources
|
|
85
|
+
* `/list/sources_by_id` — Get specific sources by ID
|
|
86
|
+
* `/fetch/fetch_content` — Retrieve file content and download URLs
|
|
87
|
+
* `/delete_source` — Remove sources from knowledge base
|
|
88
|
+
|
|
89
|
+
### **Update & Upsert**
|
|
90
|
+
|
|
91
|
+
Update existing content and embeddings. If a `source_id` does not exist, these endpoints upsert (create or update).
|
|
92
|
+
|
|
93
|
+
* `/upload/update_text` — Upsert markdown/text content by `source_id`
|
|
94
|
+
* `/upload/update_document` — Upsert a file/document by `source_id`
|
|
95
|
+
* `/upload/update_webpage` — Re-scrape and upsert a webpage by `source_id` and `web_url`
|
|
96
|
+
* `/upload/update_embeddings` — Update existing embeddings by `chunk_id` within a batch/source
|
|
97
|
+
|
|
98
|
+
### **Embeddings**
|
|
99
|
+
|
|
100
|
+
Manage and query pre-computed embeddings.
|
|
101
|
+
|
|
102
|
+
* `/upload/upload_embeddings` — Upload embeddings and get generated `chunk_ids`
|
|
103
|
+
* `/embeddings/search` — Vector similarity search; returns nearest `chunk_ids` and scores
|
|
104
|
+
* `/embeddings/by-chunk-ids` — Retrieve embedding vectors for specific `chunk_ids`
|
|
105
|
+
* `/embeddings/delete` — Delete embeddings by `chunk_id`
|
|
106
|
+
|
|
107
|
+
### **Tenant Management**
|
|
108
|
+
|
|
109
|
+
Create and monitor tenants for multi-tenant setups.
|
|
110
|
+
|
|
111
|
+
* `/user/create_tenant` — Create a tenant (optionally provide `tenant_id`, or auto-generate)
|
|
112
|
+
* `/embeddings/create_embeddings_tenant` — Create an embeddings-only tenant (sets `sub_tenant_id = tenant_id`); use when directly uploading/searching embeddings
|
|
113
|
+
* `/tenant/stats` — Get tenant stats (object count, vector dimension, identifiers)
|
|
114
|
+
|
|
115
|
+
### **User Memory**
|
|
116
|
+
|
|
117
|
+
Personalize, retrieve, and manage user-specific AI memories for advanced agentic workflows.
|
|
118
|
+
|
|
119
|
+
* `/user_memory/list_user_memories` — Browse user memories
|
|
120
|
+
* `/user_memory/retrieve_user_memory` — Get specific user memories
|
|
121
|
+
* `/user_memory/add_user_memory` — Manually add user-specific memories
|
|
122
|
+
* `/user_memory/generate_user_memory` — AI-generated personalized memories
|
|
123
|
+
* `/user_memory/delete_user_memory` — Remove user memories
|
|
124
|
+
|
|
125
|
+
## 💡 Best Practices
|
|
126
|
+
|
|
127
|
+
* Use **sub-tenants** to support multi-user isolation in B2B use cases.
|
|
128
|
+
* Leverage **metadata** (e.g., `source_title`, `source_type` in the QnA API) for fine-grained filtering and agentic retrieval.
|
|
129
|
+
* Tune **search\_alpha** and **recency\_bias** to control relevance.
|
|
130
|
+
* Enable **highlight\_chunks** for chunk-level citations.
|
|
131
|
+
|
|
132
|
+
---
|
|
133
|
+
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
```
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
cortex_ai/__init__.py,sha256=p-4QnrL0d4xdGsJWsWB1To0yG0JsTHp9OjJi4SbDQXQ,2322
|
|
2
|
+
cortex_ai/client.py,sha256=nqvsaL4k3xOHqhz9YA7W2FDxcKeBHMEtZo6vJ4PfP6c,9631
|
|
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=1RXdhrsKMJdr3_W5X711o7XB9U6iPF_h5CqeToMlgug,14335
|
|
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=YGwMoKhVJnXGJQHSzz9XbgZfLslhff-cEFlbSiEGAY0,3944
|
|
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=omAU8wPy9rcOc0Xla6zJ2aHQyfB4Szt4CrsqXJofC6g,18778
|
|
35
|
+
cortex_ai/search/raw_client.py,sha256=KCGydMXlQulg-6NP2VI-jXA-6TtIum_6kZ8TpEWn10A,42926
|
|
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=viU6hVIAQw32pxZrP0Msvwn7gzR-Wf7UNCSyKKPYwA4,5168
|
|
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=B4o-awbREJ2lyW277aj-w_1FEh7aAB7h3-z36yx8J9s,3196
|
|
43
|
+
cortex_ai/tenant/raw_client.py,sha256=-CE7jE7q-w2wWcpp7-WP0OsFcWv-uroBlcMWAJEF8zY,10844
|
|
44
|
+
cortex_ai/types/__init__.py,sha256=SWTWqSVC7F1te8Ewg5nOUZ15tGXBLlZafdSe19sFhuY,2363
|
|
45
|
+
cortex_ai/types/actual_error_response.py,sha256=EBit_JO3u0FQrVAXDg0UXQktlULLPLtX8FF8J9mZSvY,580
|
|
46
|
+
cortex_ai/types/app_sources_upload_data.py,sha256=JfXzIEU7Da9KOYKst1pKmkHyfZh_NlWM8NNBPbjZd00,665
|
|
47
|
+
cortex_ai/types/attachment_model.py,sha256=j_wRZSzZXpVDMFadagNwvN_K4aYlp29QyKcG00tt2X4,881
|
|
48
|
+
cortex_ai/types/batch_upload_data.py,sha256=BYtRiPK5YiUWrqNBkDuS_vanDCMOxa_M4lp2IPTcMho,660
|
|
49
|
+
cortex_ai/types/bm_25_operator_type.py,sha256=wiromvB4YjgxKQcS1-1BNBZ7MqKP1JzBEbY1R8K-wq4,153
|
|
50
|
+
cortex_ai/types/content_model.py,sha256=k9o8CBnCshunSPtE9a98DR2-L8oSq5egBYeJPKlEB0c,1066
|
|
51
|
+
cortex_ai/types/delete_memory_request.py,sha256=M1WpkCJbp4wxP9ZfB6PZNkpEJNyWxkxfw7Jj_7phwfQ,611
|
|
52
|
+
cortex_ai/types/embeddings_create_collection_data.py,sha256=5FdGkjDjgWgHBQ3PJw8crK-M7QZnI_BNJpYvor43H0k,624
|
|
53
|
+
cortex_ai/types/embeddings_delete_data.py,sha256=zXKkrdAjaokriy-1vr8AM28VGEiDZmUyOBWaqmayNOA,630
|
|
54
|
+
cortex_ai/types/embeddings_get_data.py,sha256=L9PkzpFjCaw2F3B0u8Tba2sCIFyJ9S6KVm4pyz24AC8,664
|
|
55
|
+
cortex_ai/types/embeddings_search_data.py,sha256=EJoHGz1xV-zpFdzk7T6A6My4p3xFwg7_Nxj9PEjjKT4,635
|
|
56
|
+
cortex_ai/types/error_response.py,sha256=yYlYOVZmje19jx6ob2H8izJgLVmn3MCWpq1FcaZL4bA,689
|
|
57
|
+
cortex_ai/types/extended_context.py,sha256=Snfz8t2jzhub7YhDQrdL-xN2YLK6dOOXVd5ycDqi6jg,618
|
|
58
|
+
cortex_ai/types/fetch_content_data.py,sha256=vVQxXsfm_XT9NnX0mH1N5gW86K4odl-t4sQCMScxVUg,644
|
|
59
|
+
cortex_ai/types/file_upload_result.py,sha256=mTzHWoqTS4Go1anXycJ5uD052u1-Ba4a6sduEYHvvVQ,568
|
|
60
|
+
cortex_ai/types/full_text_search_data.py,sha256=EQupxMccSA2wxCWBqBM8OwNiekLy4E-SBSQBe-2BU44,645
|
|
61
|
+
cortex_ai/types/http_validation_error.py,sha256=NNTK9AbbHXm0n9m1YcsG5zEaSn1n6RghohUX5R8LGzw,623
|
|
62
|
+
cortex_ai/types/list_sources_response.py,sha256=S3jblpKmayATyjhR6jYh6tkAfwTwb8-KvPQbS3mWIBk,648
|
|
63
|
+
cortex_ai/types/markdown_upload_request.py,sha256=l2lB6cn_MPpl0BLQLjnqgB3y1P0QIyI-dtP2ANAUQRs,715
|
|
64
|
+
cortex_ai/types/processing_status.py,sha256=2zyIGBm5otiJTqh_hIV9fV6z_snezJ9u-v_FFa-8kp0,610
|
|
65
|
+
cortex_ai/types/related_chunk.py,sha256=Ed7pzlEbycX5kmjvzF5-c9QvwOzyGozTsX9uAQMsDCI,613
|
|
66
|
+
cortex_ai/types/search_chunk.py,sha256=p1m7UZ9gTfqy4-yZgLGFzUaZDo8yOTCi4nxGxpoDPFg,1272
|
|
67
|
+
cortex_ai/types/search_data.py,sha256=BtUCDCjW4nkDw9LEQkWR_yMZwV0PBuqI8jYcJlxe1nQ,637
|
|
68
|
+
cortex_ai/types/single_upload_data.py,sha256=ZvrCgcKsS3TfhFjYnsWNV2wxcB5p8m3LYEG4HYE7bUo,585
|
|
69
|
+
cortex_ai/types/source.py,sha256=KEz7WEwo7PXBOnh9qWOPqFsclag56y-zjLN7oUNQlt4,1152
|
|
70
|
+
cortex_ai/types/source_content.py,sha256=Ll6NrI2cIdAK5jM0274hi4Lu7hvWKNexXwYLswKlfNM,1007
|
|
71
|
+
cortex_ai/types/source_model.py,sha256=Ez1oMLz6cpEFqdqFm-H2ABIL4MNfHT-vdfBZQ6vjnr8,1215
|
|
72
|
+
cortex_ai/types/tenant_create_data.py,sha256=-3ALqBXjq1vFSH9hDteNMhH28uqbC_vkU0C588AzkMQ,603
|
|
73
|
+
cortex_ai/types/tenant_stats.py,sha256=eubn9btftJUm5d_OWW8C52AhhdOFE35ztF9gTJvjJC8,656
|
|
74
|
+
cortex_ai/types/validation_error.py,sha256=Ou-GSQTdmDFWIFlP_y9ka_EUAavqFEFLonU9srAkJdc,642
|
|
75
|
+
cortex_ai/types/validation_error_loc_item.py,sha256=LAtjCHIllWRBFXvAZ5QZpp7CPXjdtN9EB7HrLVo6EP0,128
|
|
76
|
+
cortex_ai/upload/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
77
|
+
cortex_ai/upload/client.py,sha256=Vnz85g1I9-vzkICY1xrxB8Ci-PDKM3_NbLPgMCt_22k,46349
|
|
78
|
+
cortex_ai/upload/raw_client.py,sha256=BCOg4JMSzi_QKj0kofdrslI-wscb47ibsmSpFagG2iU,161269
|
|
79
|
+
cortex_ai/user/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
80
|
+
cortex_ai/user/client.py,sha256=mP5uPZ_W9ttGRqWyFENsZV5vG0TzzC4BD8a1ighrnjY,3850
|
|
81
|
+
cortex_ai/user/raw_client.py,sha256=JKrPQG4-j-lZyAq-qMNIeB9WaaE-1xLal7GKapdf2Qs,11858
|
|
82
|
+
cortex_ai/user_memory/__init__.py,sha256=_VhToAyIt_5axN6CLJwtxg3-CO7THa_23pbUzqhXJa4,85
|
|
83
|
+
cortex_ai/user_memory/client.py,sha256=WTDfUHIu6ZouqBpP6AMfDax3jhqqRol07cjdb2s0QJY,12471
|
|
84
|
+
cortex_ai/user_memory/raw_client.py,sha256=4jmktMGuFivAmvOoC-1G3nhRsrdjhhwsCFqLRLlIWZ0,24010
|
|
85
|
+
usecortex_ai-0.1.0.dist-info/licenses/LICENSE,sha256=ExSrDLXpv6Bq3AiBk9VwLfysI9Fj-L3LqJNGKqbxNzw,1256
|
|
86
|
+
usecortex_ai-0.1.0.dist-info/METADATA,sha256=k2R5ykv3-gUhWFVkns3G1VmsB2v62lcFIbWJ9dH9SOk,6242
|
|
87
|
+
usecortex_ai-0.1.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
88
|
+
usecortex_ai-0.1.0.dist-info/top_level.txt,sha256=Jsal8Zjdf3N1PFK-9sZV2ZQyUeoZVZWHYk8DZ2Qvc1Y,10
|
|
89
|
+
usecortex_ai-0.1.0.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
Copyright (c) 2024 Cortex AI
|
|
2
|
+
|
|
3
|
+
All Rights Reserved.
|
|
4
|
+
|
|
5
|
+
PROPRIETARY AND CONFIDENTIAL
|
|
6
|
+
|
|
7
|
+
This software is the proprietary and confidential property of Cortex AI ("the Company").
|
|
8
|
+
Permission is hereby granted to authorized 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
|
+
|
|
10
|
+
You may not, without the express written permission of the Company:
|
|
11
|
+
|
|
12
|
+
1. Copy, modify, or create derivative works of the software.
|
|
13
|
+
2. Distribute, sell, rent, lease, sublicense, or otherwise transfer the software to any third party.
|
|
14
|
+
3. Reverse engineer, decompile, or disassemble the software, except and only to the extent that such activity is expressly permitted by applicable law notwithstanding this limitation.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE.
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
cortex_ai
|