@usecortex_ai/node 0.3.6 → 0.4.0

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.
Files changed (253) hide show
  1. package/dist/Client.d.ts +20 -24
  2. package/dist/Client.js +26 -34
  3. package/dist/api/errors/BadRequestError.d.ts +1 -2
  4. package/dist/api/errors/ForbiddenError.d.ts +1 -2
  5. package/dist/api/errors/InternalServerError.d.ts +1 -2
  6. package/dist/api/errors/NotFoundError.d.ts +1 -2
  7. package/dist/api/errors/ServiceUnavailableError.d.ts +1 -2
  8. package/dist/api/errors/TooManyRequestsError.d.ts +9 -0
  9. package/dist/api/errors/TooManyRequestsError.js +42 -0
  10. package/dist/api/errors/UnauthorizedError.d.ts +1 -2
  11. package/dist/api/errors/index.d.ts +1 -0
  12. package/dist/api/errors/index.js +1 -0
  13. package/dist/api/resources/dashboard/client/Client.d.ts +136 -0
  14. package/dist/api/resources/{userMemory → dashboard}/client/Client.js +191 -138
  15. package/dist/api/resources/dashboard/client/requests/CreateUserDashboardUserCreateUserPostRequest.d.ts +12 -0
  16. package/dist/api/resources/dashboard/client/requests/ListSourcesDashboardSourcesGetRequest.d.ts +16 -0
  17. package/dist/api/resources/dashboard/client/requests/index.d.ts +2 -0
  18. package/dist/api/resources/embeddings/client/Client.d.ts +40 -27
  19. package/dist/api/resources/embeddings/client/Client.js +68 -44
  20. package/dist/api/resources/embeddings/client/requests/BodyFilterRawEmbeddingsEndpointEmbeddingsFilterRawEmbeddingsPost.d.ts +24 -0
  21. package/dist/api/resources/embeddings/client/requests/BodyInsertRawEmbeddingsEndpointEmbeddingsInsertRawEmbeddingsPost.d.ts +27 -0
  22. package/dist/api/resources/embeddings/client/requests/BodySearchRawEmbeddingsEndpointEmbeddingsSearchRawEmbeddingsPost.d.ts +25 -0
  23. package/dist/api/resources/embeddings/client/requests/EmbeddingsDeleteRequest.d.ts +6 -5
  24. package/dist/api/resources/embeddings/client/requests/index.d.ts +3 -3
  25. package/dist/api/resources/fetch/client/Client.d.ts +96 -7
  26. package/dist/api/resources/fetch/client/Client.js +288 -10
  27. package/dist/api/resources/{sources/client/requests/SourcesGetGraphRelationsByIdRequest.d.ts → fetch/client/requests/FetchGraphRelationsBySourceIdRequest.d.ts} +2 -3
  28. package/dist/api/resources/{sources/client/requests/SourcesGetAllRequest.d.ts → fetch/client/requests/FetchSourcesRequest.d.ts} +2 -3
  29. package/dist/api/resources/fetch/client/requests/ListSourcesByIdRequest.d.ts +18 -0
  30. package/dist/api/resources/{upload/client/requests/UploadUpdateTextRequest.d.ts → fetch/client/requests/SourceFetchRequest.d.ts} +9 -10
  31. package/dist/api/resources/fetch/client/requests/index.d.ts +4 -1
  32. package/dist/api/resources/index.d.ts +10 -13
  33. package/dist/api/resources/index.js +11 -14
  34. package/dist/api/resources/search/client/Client.d.ts +50 -26
  35. package/dist/api/resources/search/client/Client.js +65 -35
  36. package/dist/api/resources/search/client/requests/FullTextSearchRequest.d.ts +6 -4
  37. package/dist/api/resources/search/client/requests/{SearchRequest.d.ts → HybridSearchRequest.d.ts} +13 -9
  38. package/dist/api/resources/search/client/requests/QnASearchRequest.d.ts +39 -0
  39. package/dist/api/resources/search/client/requests/index.d.ts +2 -2
  40. package/dist/api/resources/sources/client/Client.d.ts +11 -61
  41. package/dist/api/resources/sources/client/Client.js +14 -191
  42. package/dist/api/resources/sources/client/requests/SourceDeleteRequest.d.ts +17 -0
  43. package/dist/api/resources/sources/client/requests/index.d.ts +1 -3
  44. package/dist/api/resources/tenant/client/Client.d.ts +54 -38
  45. package/dist/api/resources/tenant/client/Client.js +67 -114
  46. package/dist/api/resources/tenant/client/requests/TenantCreateRequest.d.ts +20 -0
  47. package/dist/api/resources/tenant/client/requests/TenantStatsRequest.d.ts +1 -4
  48. package/dist/api/resources/tenant/client/requests/index.d.ts +1 -2
  49. package/dist/api/resources/upload/client/Client.d.ts +54 -428
  50. package/dist/api/resources/upload/client/Client.js +97 -1417
  51. package/dist/api/resources/upload/client/requests/{UploadUploadMarkdownRequest.d.ts → BodyAddMemoryMemoriesAddMemoryPost.d.ts} +7 -7
  52. package/dist/api/resources/upload/client/requests/BodyUploadAppIngestionUploadAppPost.d.ts +31 -0
  53. package/dist/api/resources/upload/client/requests/BodyUploadDocumentIngestionUploadDocumentPost.d.ts +22 -0
  54. package/dist/api/resources/upload/client/requests/UploadDeleteMemoryRequest.d.ts +18 -0
  55. package/dist/api/resources/upload/client/requests/UploadVerifyProcessingRequest.d.ts +1 -2
  56. package/dist/api/resources/upload/client/requests/index.d.ts +4 -16
  57. package/dist/api/types/AddMemoryResponse.d.ts +17 -0
  58. package/dist/api/types/ApiKeyInfo.d.ts +17 -0
  59. package/dist/api/types/AppSourcesUploadData.d.ts +10 -4
  60. package/dist/api/types/CollectionStats.d.ts +9 -0
  61. package/dist/api/types/CustomPropertyDefinition.d.ts +38 -0
  62. package/dist/api/types/DashboardApisResponse.d.ts +12 -0
  63. package/dist/api/types/DashboardSourcesResponse.d.ts +12 -0
  64. package/dist/api/types/DashboardTenantsResponse.d.ts +12 -0
  65. package/dist/api/types/DeleteResult.d.ts +14 -0
  66. package/dist/api/types/DeleteUserMemoryResponse.d.ts +1 -1
  67. package/dist/api/types/Entity.d.ts +2 -2
  68. package/dist/api/types/FetchMode.d.ts +12 -0
  69. package/dist/api/types/FetchMode.js +11 -0
  70. package/dist/api/types/GraphContext.d.ts +12 -0
  71. package/dist/api/types/Infra.d.ts +8 -0
  72. package/dist/api/types/InsertResult.d.ts +16 -0
  73. package/dist/api/types/MemoryItem.d.ts +41 -0
  74. package/dist/api/types/MemoryResultItem.d.ts +19 -0
  75. package/dist/api/types/MilvusDataType.d.ts +21 -0
  76. package/dist/api/types/MilvusDataType.js +20 -0
  77. package/dist/api/types/PathTriplet.d.ts +1 -7
  78. package/dist/api/types/ProcessingStatus.d.ts +16 -2
  79. package/dist/api/types/ProcessingStatus.js +12 -0
  80. package/dist/api/types/QnASearchResponse.d.ts +20 -0
  81. package/dist/api/types/RawEmbeddingDocument.d.ts +15 -0
  82. package/dist/api/types/RawEmbeddingSearchResult.d.ts +19 -0
  83. package/dist/api/types/RawEmbeddingVector.d.ts +12 -0
  84. package/dist/api/types/RelationEvidence.d.ts +13 -4
  85. package/dist/api/types/RetrievalResult.d.ts +11 -0
  86. package/dist/api/types/ScoredPathResponse.d.ts +4 -11
  87. package/dist/api/types/SearchMode.d.ts +11 -0
  88. package/dist/api/types/SearchMode.js +10 -0
  89. package/dist/api/types/SourceDeleteResponse.d.ts +14 -0
  90. package/dist/api/types/SourceDeleteResultItem.d.ts +14 -0
  91. package/dist/api/types/SourceFetchResponse.d.ts +26 -0
  92. package/dist/api/types/{GraphRelationsResponse.d.ts → SourceGraphRelationsResponse.d.ts} +2 -2
  93. package/dist/api/types/SourceListResponse.d.ts +11 -0
  94. package/dist/api/types/SourceModel.d.ts +5 -1
  95. package/dist/api/types/SourceStatus.d.ts +10 -0
  96. package/dist/api/types/SourceStatus.js +12 -0
  97. package/dist/api/types/SourceUploadResponse.d.ts +14 -0
  98. package/dist/api/types/SourceUploadResultItem.d.ts +14 -0
  99. package/dist/api/types/SupportedLlmProviders.d.ts +11 -0
  100. package/dist/api/types/SupportedLlmProviders.js +13 -0
  101. package/dist/api/types/TenantCreateResponse.d.ts +14 -0
  102. package/dist/api/types/TenantInfo.d.ts +11 -0
  103. package/dist/api/types/TenantMetadataSchemaInfo.d.ts +14 -0
  104. package/dist/api/types/TenantStatsResponse.d.ts +14 -0
  105. package/dist/api/types/{TripleWithEvidence.d.ts → TripletWithEvidence.d.ts} +4 -1
  106. package/dist/api/types/UserAssistantPair.d.ts +3 -0
  107. package/dist/api/types/{SearchChunk.d.ts → VectorStoreChunk.d.ts} +3 -8
  108. package/dist/api/types/index.d.ts +36 -33
  109. package/dist/api/types/index.js +36 -33
  110. package/package.json +30 -33
  111. package/dist/api/resources/document/client/Client.d.ts +0 -59
  112. package/dist/api/resources/document/client/Client.js +0 -132
  113. package/dist/api/resources/document/client/index.d.ts +0 -1
  114. package/dist/api/resources/embeddings/client/requests/EmbeddingsCreateCollectionRequest.d.ts +0 -13
  115. package/dist/api/resources/embeddings/client/requests/EmbeddingsSearchRequest.d.ts +0 -18
  116. package/dist/api/resources/embeddings/client/requests/GetEmbeddingsBasedOnChunkIdsRequest.d.ts +0 -18
  117. package/dist/api/resources/fetch/client/requests/FetchContentRequest.d.ts +0 -18
  118. package/dist/api/resources/search/client/requests/QnARequest.d.ts +0 -47
  119. package/dist/api/resources/sources/client/requests/SourceBodyParams.d.ts +0 -18
  120. package/dist/api/resources/tenant/client/requests/TenantDeleteSubTenantRequest.d.ts +0 -14
  121. package/dist/api/resources/tenant/client/requests/TenantGetSubTenantIdsRequest.d.ts +0 -12
  122. package/dist/api/resources/upload/client/requests/BodyBatchUpdateUploadBatchUpdatePatch.d.ts +0 -37
  123. package/dist/api/resources/upload/client/requests/BodyBatchUploadUploadBatchUploadPost.d.ts +0 -37
  124. package/dist/api/resources/upload/client/requests/BodyUpdateFileUploadUpdateDocumentPatch.d.ts +0 -38
  125. package/dist/api/resources/upload/client/requests/BodyUploadFilesUploadUploadDocumentPost.d.ts +0 -37
  126. package/dist/api/resources/upload/client/requests/EmbeddingsUpdateRequest.d.ts +0 -18
  127. package/dist/api/resources/upload/client/requests/EmbeddingsUploadRequest.d.ts +0 -21
  128. package/dist/api/resources/upload/client/requests/UploadBatchScrapeWebpageRequest.d.ts +0 -22
  129. package/dist/api/resources/upload/client/requests/UploadBatchUploadMarkdownRequest.d.ts +0 -22
  130. package/dist/api/resources/upload/client/requests/UploadBatchUploadTextRequest.d.ts +0 -22
  131. package/dist/api/resources/upload/client/requests/UploadScrapeWebpageRequest.d.ts +0 -25
  132. package/dist/api/resources/upload/client/requests/UploadUpdateMarkdownRequest.d.ts +0 -24
  133. package/dist/api/resources/upload/client/requests/UploadUpdateWebpageRequest.d.ts +0 -25
  134. package/dist/api/resources/upload/client/requests/UploadUploadAppSourcesRequest.d.ts +0 -20
  135. package/dist/api/resources/upload/client/requests/UploadUploadTextRequest.d.ts +0 -21
  136. package/dist/api/resources/user/client/Client.d.ts +0 -60
  137. package/dist/api/resources/user/client/Client.js +0 -152
  138. package/dist/api/resources/user/client/requests/BodyCreateTenantUserCreateTenantPost.d.ts +0 -15
  139. package/dist/api/resources/user/client/requests/index.d.ts +0 -1
  140. package/dist/api/resources/user/client/requests/index.js +0 -2
  141. package/dist/api/resources/user/index.d.ts +0 -1
  142. package/dist/api/resources/user/index.js +0 -17
  143. package/dist/api/resources/userMemory/client/Client.d.ts +0 -150
  144. package/dist/api/resources/userMemory/client/index.d.ts +0 -2
  145. package/dist/api/resources/userMemory/client/index.js +0 -17
  146. package/dist/api/resources/userMemory/client/requests/AddUserMemoryRequest.d.ts +0 -27
  147. package/dist/api/resources/userMemory/client/requests/RetrieveUserMemoryRequest.d.ts +0 -24
  148. package/dist/api/resources/userMemory/client/requests/UserMemoryDeleteUserMemoryRequest.d.ts +0 -19
  149. package/dist/api/resources/userMemory/client/requests/UserMemoryListUserMemoriesRequest.d.ts +0 -16
  150. package/dist/api/resources/userMemory/client/requests/index.d.ts +0 -4
  151. package/dist/api/resources/userMemory/client/requests/index.js +0 -2
  152. package/dist/api/resources/userMemory/index.d.ts +0 -1
  153. package/dist/api/resources/userMemory/index.js +0 -17
  154. package/dist/api/types/AddUserMemoryResponse.d.ts +0 -16
  155. package/dist/api/types/BatchUploadData.d.ts +0 -11
  156. package/dist/api/types/BodyScrapeWebpageUploadScrapeWebpagePost.d.ts +0 -5
  157. package/dist/api/types/BodyUpdateScrapeJobUploadUpdateWebpagePatch.d.ts +0 -5
  158. package/dist/api/types/ChunkGraphRelationsResponse.d.ts +0 -13
  159. package/dist/api/types/DeleteMemoryRequest.d.ts +0 -11
  160. package/dist/api/types/DeleteSources.d.ts +0 -7
  161. package/dist/api/types/DeleteSubTenantData.d.ts +0 -15
  162. package/dist/api/types/EmbeddingsCreateCollectionData.d.ts +0 -13
  163. package/dist/api/types/EmbeddingsDeleteData.d.ts +0 -13
  164. package/dist/api/types/EmbeddingsGetData.d.ts +0 -13
  165. package/dist/api/types/EmbeddingsSearchData.d.ts +0 -13
  166. package/dist/api/types/ExtendedContext.d.ts +0 -5
  167. package/dist/api/types/FetchContentData.d.ts +0 -13
  168. package/dist/api/types/FileUploadResult.d.ts +0 -9
  169. package/dist/api/types/ListSourcesResponse.d.ts +0 -12
  170. package/dist/api/types/ListSourcesResponse.js +0 -5
  171. package/dist/api/types/ListUserMemoriesResponse.d.ts +0 -13
  172. package/dist/api/types/ListUserMemoriesResponse.js +0 -5
  173. package/dist/api/types/MarkdownUploadRequest.d.ts +0 -22
  174. package/dist/api/types/MarkdownUploadRequest.js +0 -5
  175. package/dist/api/types/RelatedChunk.d.ts +0 -9
  176. package/dist/api/types/RelatedChunk.js +0 -5
  177. package/dist/api/types/Relations.d.ts +0 -9
  178. package/dist/api/types/Relations.js +0 -5
  179. package/dist/api/types/RetrieveResponse.d.ts +0 -12
  180. package/dist/api/types/RetrieveResponse.js +0 -5
  181. package/dist/api/types/RetrieveUserMemoryResponse.d.ts +0 -15
  182. package/dist/api/types/RetrieveUserMemoryResponse.js +0 -5
  183. package/dist/api/types/ScoredTripletResponse.d.ts +0 -17
  184. package/dist/api/types/ScoredTripletResponse.js +0 -5
  185. package/dist/api/types/SearchChunk.js +0 -5
  186. package/dist/api/types/SingleUploadData.d.ts +0 -10
  187. package/dist/api/types/SingleUploadData.js +0 -5
  188. package/dist/api/types/Source.d.ts +0 -19
  189. package/dist/api/types/Source.js +0 -5
  190. package/dist/api/types/SubTenantIdsData.d.ts +0 -17
  191. package/dist/api/types/SubTenantIdsData.js +0 -5
  192. package/dist/api/types/TenantCreateData.d.ts +0 -13
  193. package/dist/api/types/TenantCreateData.js +0 -5
  194. package/dist/api/types/TenantStats.d.ts +0 -15
  195. package/dist/api/types/TenantStats.js +0 -5
  196. package/dist/api/types/TripleWithEvidence.js +0 -5
  197. package/dist/api/types/UserMemory.d.ts +0 -12
  198. package/dist/api/types/UserMemory.js +0 -5
  199. package/dist/api/types/WebpageScrapeRequest.d.ts +0 -9
  200. package/dist/api/types/WebpageScrapeRequest.js +0 -5
  201. /package/dist/api/resources/{user → dashboard}/client/index.d.ts +0 -0
  202. /package/dist/api/resources/{user → dashboard}/client/index.js +0 -0
  203. /package/dist/api/resources/{embeddings/client/requests/EmbeddingsCreateCollectionRequest.js → dashboard/client/requests/CreateUserDashboardUserCreateUserPostRequest.js} +0 -0
  204. /package/dist/api/resources/{embeddings/client/requests/EmbeddingsSearchRequest.js → dashboard/client/requests/ListSourcesDashboardSourcesGetRequest.js} +0 -0
  205. /package/dist/api/resources/{document/client → dashboard/client/requests}/index.js +0 -0
  206. /package/dist/api/resources/{document → dashboard}/index.d.ts +0 -0
  207. /package/dist/api/resources/{document → dashboard}/index.js +0 -0
  208. /package/dist/api/resources/embeddings/client/requests/{GetEmbeddingsBasedOnChunkIdsRequest.js → BodyFilterRawEmbeddingsEndpointEmbeddingsFilterRawEmbeddingsPost.js} +0 -0
  209. /package/dist/api/resources/{fetch/client/requests/FetchContentRequest.js → embeddings/client/requests/BodyInsertRawEmbeddingsEndpointEmbeddingsInsertRawEmbeddingsPost.js} +0 -0
  210. /package/dist/api/resources/{search/client/requests/QnARequest.js → embeddings/client/requests/BodySearchRawEmbeddingsEndpointEmbeddingsSearchRawEmbeddingsPost.js} +0 -0
  211. /package/dist/api/resources/{search/client/requests/SearchRequest.js → fetch/client/requests/FetchGraphRelationsBySourceIdRequest.js} +0 -0
  212. /package/dist/api/resources/{sources/client/requests/SourceBodyParams.js → fetch/client/requests/FetchSourcesRequest.js} +0 -0
  213. /package/dist/api/resources/{sources/client/requests/SourcesGetAllRequest.js → fetch/client/requests/ListSourcesByIdRequest.js} +0 -0
  214. /package/dist/api/resources/{sources/client/requests/SourcesGetGraphRelationsByIdRequest.js → fetch/client/requests/SourceFetchRequest.js} +0 -0
  215. /package/dist/api/resources/{tenant/client/requests/TenantDeleteSubTenantRequest.js → search/client/requests/HybridSearchRequest.js} +0 -0
  216. /package/dist/api/resources/{tenant/client/requests/TenantGetSubTenantIdsRequest.js → search/client/requests/QnASearchRequest.js} +0 -0
  217. /package/dist/api/resources/{upload/client/requests/BodyBatchUpdateUploadBatchUpdatePatch.js → sources/client/requests/SourceDeleteRequest.js} +0 -0
  218. /package/dist/api/resources/{upload/client/requests/BodyBatchUploadUploadBatchUploadPost.js → tenant/client/requests/TenantCreateRequest.js} +0 -0
  219. /package/dist/api/resources/upload/client/requests/{BodyUpdateFileUploadUpdateDocumentPatch.js → BodyAddMemoryMemoriesAddMemoryPost.js} +0 -0
  220. /package/dist/api/resources/upload/client/requests/{BodyUploadFilesUploadUploadDocumentPost.js → BodyUploadAppIngestionUploadAppPost.js} +0 -0
  221. /package/dist/api/resources/upload/client/requests/{EmbeddingsUpdateRequest.js → BodyUploadDocumentIngestionUploadDocumentPost.js} +0 -0
  222. /package/dist/api/resources/upload/client/requests/{EmbeddingsUploadRequest.js → UploadDeleteMemoryRequest.js} +0 -0
  223. /package/dist/api/{resources/upload/client/requests/UploadBatchScrapeWebpageRequest.js → types/AddMemoryResponse.js} +0 -0
  224. /package/dist/api/{resources/upload/client/requests/UploadBatchUploadMarkdownRequest.js → types/ApiKeyInfo.js} +0 -0
  225. /package/dist/api/{resources/upload/client/requests/UploadBatchUploadTextRequest.js → types/CollectionStats.js} +0 -0
  226. /package/dist/api/{resources/upload/client/requests/UploadScrapeWebpageRequest.js → types/CustomPropertyDefinition.js} +0 -0
  227. /package/dist/api/{resources/upload/client/requests/UploadUpdateMarkdownRequest.js → types/DashboardApisResponse.js} +0 -0
  228. /package/dist/api/{resources/upload/client/requests/UploadUpdateTextRequest.js → types/DashboardSourcesResponse.js} +0 -0
  229. /package/dist/api/{resources/upload/client/requests/UploadUpdateWebpageRequest.js → types/DashboardTenantsResponse.js} +0 -0
  230. /package/dist/api/{resources/upload/client/requests/UploadUploadAppSourcesRequest.js → types/DeleteResult.js} +0 -0
  231. /package/dist/api/{resources/upload/client/requests/UploadUploadMarkdownRequest.js → types/GraphContext.js} +0 -0
  232. /package/dist/api/{resources/upload/client/requests/UploadUploadTextRequest.js → types/Infra.js} +0 -0
  233. /package/dist/api/{resources/user/client/requests/BodyCreateTenantUserCreateTenantPost.js → types/InsertResult.js} +0 -0
  234. /package/dist/api/{resources/userMemory/client/requests/AddUserMemoryRequest.js → types/MemoryItem.js} +0 -0
  235. /package/dist/api/{resources/userMemory/client/requests/RetrieveUserMemoryRequest.js → types/MemoryResultItem.js} +0 -0
  236. /package/dist/api/{resources/userMemory/client/requests/UserMemoryDeleteUserMemoryRequest.js → types/QnASearchResponse.js} +0 -0
  237. /package/dist/api/{resources/userMemory/client/requests/UserMemoryListUserMemoriesRequest.js → types/RawEmbeddingDocument.js} +0 -0
  238. /package/dist/api/types/{AddUserMemoryResponse.js → RawEmbeddingSearchResult.js} +0 -0
  239. /package/dist/api/types/{BatchUploadData.js → RawEmbeddingVector.js} +0 -0
  240. /package/dist/api/types/{BodyScrapeWebpageUploadScrapeWebpagePost.js → RetrievalResult.js} +0 -0
  241. /package/dist/api/types/{BodyUpdateScrapeJobUploadUpdateWebpagePatch.js → SourceDeleteResponse.js} +0 -0
  242. /package/dist/api/types/{ChunkGraphRelationsResponse.js → SourceDeleteResultItem.js} +0 -0
  243. /package/dist/api/types/{DeleteMemoryRequest.js → SourceFetchResponse.js} +0 -0
  244. /package/dist/api/types/{DeleteSources.js → SourceGraphRelationsResponse.js} +0 -0
  245. /package/dist/api/types/{DeleteSubTenantData.js → SourceListResponse.js} +0 -0
  246. /package/dist/api/types/{EmbeddingsCreateCollectionData.js → SourceUploadResponse.js} +0 -0
  247. /package/dist/api/types/{EmbeddingsDeleteData.js → SourceUploadResultItem.js} +0 -0
  248. /package/dist/api/types/{EmbeddingsGetData.js → TenantCreateResponse.js} +0 -0
  249. /package/dist/api/types/{EmbeddingsSearchData.js → TenantInfo.js} +0 -0
  250. /package/dist/api/types/{ExtendedContext.js → TenantMetadataSchemaInfo.js} +0 -0
  251. /package/dist/api/types/{FetchContentData.js → TenantStatsResponse.js} +0 -0
  252. /package/dist/api/types/{FileUploadResult.js → TripletWithEvidence.js} +0 -0
  253. /package/dist/api/types/{GraphRelationsResponse.js → VectorStoreChunk.js} +0 -0
@@ -1,19 +1,28 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * Single piece of evidence for a relationship between two entities
6
+ */
4
7
  export interface RelationEvidence {
5
- /** Unique identifier for this specific relationship edge in the graph. The combination of source entity, target entity, and relationship_id allows disambiguation between multiple relations between the same source and target entities. */
6
- relationship_id?: string;
7
8
  /** Relationship phrase like 'works for', 'reports to' */
8
9
  canonical_predicate: string;
9
10
  /** Original predicate from text */
10
11
  raw_predicate: string;
11
12
  /** Rich contextual description of the relationship with surrounding information, details about how/why/when, and any relevant background. Should be comprehensive enough to understand the relationship without referring back to source. */
12
13
  context: string;
14
+ /** Confidence score */
15
+ confidence?: number;
13
16
  /** Temporal timing information extracted from text (e.g., 'last week', 'in 2023', 'yesterday') */
14
17
  temporal_details?: string;
15
- /** The chunk_id this relation came from */
16
- chunk_id?: string;
17
18
  /** Timestamp when this relation was introduced */
18
19
  timestamp?: string;
20
+ /** Unique ID for this relationship from graph database */
21
+ relationship_id: string;
22
+ /** ID of the chunk this relation was extracted from */
23
+ chunk_id?: string;
24
+ /** The entity ID of source node */
25
+ source_entity_id?: string;
26
+ /** The entity ID of target node */
27
+ target_entity_id?: string;
19
28
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ /**
6
+ * Result of a hybrid search retrieval operation.
7
+ */
8
+ export interface RetrievalResult {
9
+ chunks?: CortexAI.VectorStoreChunk[];
10
+ graph_context?: CortexAI.GraphContext;
11
+ }
@@ -2,17 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CortexAI from "../index.js";
5
- /**
6
- * A multi-hop path (chain of triplets) with a relevancy score.
7
- *
8
- * Represents connected paths like: A --rel1--> B --rel2--> C
9
- * The triplets list preserves the chain order.
10
- */
11
5
  export interface ScoredPathResponse {
12
- /** Merged context from all triplets in the path */
13
- combined_context?: string;
14
- /** Ordered list of triplets forming the path chain */
15
6
  triplets: CortexAI.PathTriplet[];
16
- /** Relevancy score for the entire path */
17
- relevancy_score?: number;
7
+ relevancy_score: number;
8
+ combined_context?: string;
9
+ /** Path group identifier (e.g., 'p_0') for chunk mapping */
10
+ group_id?: string;
18
11
  }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Search mode to specify what type of content to search.
6
+ */
7
+ export type SearchMode = "sources" | "memories";
8
+ export declare const SearchMode: {
9
+ readonly Sources: "sources";
10
+ readonly Memories: "memories";
11
+ };
@@ -0,0 +1,10 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SearchMode = void 0;
7
+ exports.SearchMode = {
8
+ Sources: "sources",
9
+ Memories: "memories",
10
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ /**
6
+ * Response for delete request.
7
+ */
8
+ export interface SourceDeleteResponse {
9
+ success?: boolean;
10
+ message?: string;
11
+ results?: CortexAI.SourceDeleteResultItem[];
12
+ /** Number of sources deleted. */
13
+ deleted_count?: number;
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Result for a single source deletion.
6
+ */
7
+ export interface SourceDeleteResultItem {
8
+ /** ID of the source. */
9
+ source_id: string;
10
+ /** Whether deletion succeeded. */
11
+ deleted?: boolean;
12
+ /** Error message if deletion failed. */
13
+ error?: string;
14
+ }
@@ -0,0 +1,26 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Response for file fetch request.
6
+ */
7
+ export interface SourceFetchResponse {
8
+ /** Whether the fetch was successful */
9
+ success?: boolean;
10
+ /** Source ID of the fetched file */
11
+ source_id: string;
12
+ /** File content as string (if mode includes 'content') */
13
+ content?: string;
14
+ /** File content as base64 encoded string (for binary files, if mode includes 'content') */
15
+ content_base64?: string;
16
+ /** Presigned URL to access the file (if mode includes 'url') */
17
+ presigned_url?: string;
18
+ /** Content type of the file */
19
+ content_type?: string;
20
+ /** Size of the file in bytes */
21
+ size_bytes?: number;
22
+ /** Response message */
23
+ message?: string;
24
+ /** Error message if fetch failed */
25
+ error?: string;
26
+ }
@@ -2,9 +2,9 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CortexAI from "../index.js";
5
- export interface GraphRelationsResponse {
5
+ export interface SourceGraphRelationsResponse {
6
6
  /** List of relations retrieved */
7
- relations: (CortexAI.TripleWithEvidence | undefined)[];
7
+ relations: (CortexAI.TripletWithEvidence | undefined)[];
8
8
  /** Indicates whether the request was successful */
9
9
  success?: boolean;
10
10
  /** Response message describing the operation result */
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ export interface SourceListResponse {
6
+ success?: boolean;
7
+ message?: string;
8
+ sources?: CortexAI.SourceModel[];
9
+ /** Total number of sources matching the query. */
10
+ total: number;
11
+ }
@@ -4,7 +4,11 @@
4
4
  import * as CortexAI from "../index.js";
5
5
  export interface SourceModel {
6
6
  /** Stable, unique identifier for the source. If omitted, one may be generated upstream. */
7
- id?: string;
7
+ id: string;
8
+ /** Unique identifier for the tenant/organization */
9
+ tenant_id: string;
10
+ /** Optional sub-tenant identifier used to organize data within a tenant. If omitted, the default sub-tenant created during tenant setup will be used. */
11
+ sub_tenant_id: string;
8
12
  /** Short human-readable title for the source. */
9
13
  title?: string;
10
14
  /** High-level category of the source (e.g., document, email, ticket). */
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type SourceStatus = "queued" | "processing" | "completed" | "failed";
5
+ export declare const SourceStatus: {
6
+ readonly Queued: "queued";
7
+ readonly Processing: "processing";
8
+ readonly Completed: "completed";
9
+ readonly Failed: "failed";
10
+ };
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SourceStatus = void 0;
7
+ exports.SourceStatus = {
8
+ Queued: "queued",
9
+ Processing: "processing",
10
+ Completed: "completed",
11
+ Failed: "failed",
12
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ export interface SourceUploadResponse {
6
+ success?: boolean;
7
+ message?: string;
8
+ /** List of upload results for each source. */
9
+ results?: CortexAI.SourceUploadResultItem[];
10
+ /** Number of sources successfully queued. */
11
+ success_count?: number;
12
+ /** Number of sources that failed to upload. */
13
+ failed_count?: number;
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ export interface SourceUploadResultItem {
6
+ /** Unique identifier for the uploaded source. */
7
+ source_id: string;
8
+ /** Original filename if present. */
9
+ filename?: string;
10
+ /** Initial processing status. */
11
+ status?: CortexAI.SourceStatus;
12
+ /** Error message if upload failed. */
13
+ error?: string;
14
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export type SupportedLlmProviders = "groq" | "cerebras" | "openai" | "anthropic" | "gemini";
5
+ export declare const SupportedLlmProviders: {
6
+ readonly Groq: "groq";
7
+ readonly Cerebras: "cerebras";
8
+ readonly Openai: "openai";
9
+ readonly Anthropic: "anthropic";
10
+ readonly Gemini: "gemini";
11
+ };
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * This file was auto-generated by Fern from our API Definition.
4
+ */
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.SupportedLlmProviders = void 0;
7
+ exports.SupportedLlmProviders = {
8
+ Groq: "groq",
9
+ Cerebras: "cerebras",
10
+ Openai: "openai",
11
+ Anthropic: "anthropic",
12
+ Gemini: "gemini",
13
+ };
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ export interface TenantCreateResponse {
6
+ /** Identifier provided by user */
7
+ tenant_id: string;
8
+ /** Infra status */
9
+ infra: CortexAI.Infra;
10
+ /** Summary of configured tenant metadata schema (if provided) */
11
+ metadata_schema?: CortexAI.TenantMetadataSchemaInfo;
12
+ /** Summary message */
13
+ message?: string;
14
+ }
@@ -0,0 +1,11 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ export interface TenantInfo {
5
+ /** Organization tenant ID */
6
+ tenant_id: string;
7
+ /** Organization name */
8
+ organisation: string;
9
+ /** Creation timestamp */
10
+ timestamp: string;
11
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ /**
5
+ * Summary of configured tenant metadata schema fields.
6
+ */
7
+ export interface TenantMetadataSchemaInfo {
8
+ /** Number of custom metadata fields configured */
9
+ field_count: number;
10
+ /** Fields with dense embeddings enabled for semantic search */
11
+ dense_embedding_fields?: string[];
12
+ /** Fields with sparse embeddings enabled for keyword search */
13
+ sparse_embedding_fields?: string[];
14
+ }
@@ -0,0 +1,14 @@
1
+ /**
2
+ * This file was auto-generated by Fern from our API Definition.
3
+ */
4
+ import * as CortexAI from "../index.js";
5
+ export interface TenantStatsResponse {
6
+ /** Tenant identifier */
7
+ tenant_id: string;
8
+ /** Statistics for the normal (context) collection */
9
+ normal_collection: CortexAI.CollectionStats;
10
+ /** Statistics for the memory collection */
11
+ memory_collection: CortexAI.CollectionStats;
12
+ /** Summary message */
13
+ message?: string;
14
+ }
@@ -2,7 +2,10 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  import * as CortexAI from "../index.js";
5
- export interface TripleWithEvidence {
5
+ /**
6
+ * Triple with multiple evidence items from different chunks
7
+ */
8
+ export interface TripletWithEvidence {
6
9
  source: CortexAI.Entity;
7
10
  target: CortexAI.Entity;
8
11
  /** Array of relation evidences */
@@ -1,6 +1,9 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
+ /**
5
+ * Represents a user-assistant conversation pair.
6
+ */
4
7
  export interface UserAssistantPair {
5
8
  /** User's message in the conversation */
6
9
  user: string;
@@ -1,8 +1,7 @@
1
1
  /**
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
- import * as CortexAI from "../index.js";
5
- export interface SearchChunk {
4
+ export interface VectorStoreChunk {
6
5
  /** Unique identifier for this content chunk */
7
6
  chunk_uuid: string;
8
7
  /** Unique identifier for the source document */
@@ -17,16 +16,12 @@ export interface SearchChunk {
17
16
  source_title?: string;
18
17
  /** When the source document was last modified */
19
18
  source_last_updated_time?: string;
20
- /** Layout of the chunk in original document. You will generally receive a stringified dict with 2 keys, `offsets` and `page`(optional). Offsets will have `document_level_start_index` and `page_level_start_index`(optional) */
19
+ /** Layout of the chunk in original document. You will generally receive a stringified dict with 2 keys, `offsets` and `page`(optional). Offsets will have `document_level_start_index` and `page_level_start_index`(optional) */
21
20
  layout?: string;
22
- /** Score indicating how relevant this chunk is to your search query, with higher values indicating better matches */
21
+ /** Score indicating how relevant this chunk is to your search query, with higher values indicating better matches */
23
22
  relevancy_score?: number;
24
23
  /** Metadata extracted from the source document */
25
24
  document_metadata?: Record<string, unknown>;
26
25
  /** Custom metadata associated with your tenant */
27
26
  tenant_metadata?: Record<string, unknown>;
28
- /** Additional context for this chunk */
29
- extra_context?: CortexAI.ExtendedContext;
30
- /** List of group IDs for triplets linked to this chunk. Lookup triplet data in graph_relations.chunk_relations[group_id] */
31
- graph_triplet_ids?: string[];
32
27
  }
@@ -1,50 +1,53 @@
1
1
  export * from "./ActualErrorResponse.js";
2
- export * from "./AddUserMemoryResponse.js";
2
+ export * from "./AddMemoryResponse.js";
3
+ export * from "./ApiKeyInfo.js";
3
4
  export * from "./AppSourcesUploadData.js";
4
5
  export * from "./AttachmentModel.js";
5
6
  export * from "./Bm25OperatorType.js";
6
- export * from "./BatchUploadData.js";
7
- export * from "./BodyScrapeWebpageUploadScrapeWebpagePost.js";
8
- export * from "./BodyUpdateScrapeJobUploadUpdateWebpagePatch.js";
9
- export * from "./ChunkGraphRelationsResponse.js";
7
+ export * from "./CollectionStats.js";
10
8
  export * from "./ContentModel.js";
11
- export * from "./DeleteMemoryRequest.js";
12
- export * from "./DeleteSources.js";
13
- export * from "./DeleteSubTenantData.js";
9
+ export * from "./CustomPropertyDefinition.js";
10
+ export * from "./DashboardApisResponse.js";
11
+ export * from "./DashboardSourcesResponse.js";
12
+ export * from "./DashboardTenantsResponse.js";
13
+ export * from "./DeleteResult.js";
14
14
  export * from "./DeleteUserMemoryResponse.js";
15
- export * from "./EmbeddingsCreateCollectionData.js";
16
- export * from "./EmbeddingsDeleteData.js";
17
- export * from "./EmbeddingsGetData.js";
18
- export * from "./EmbeddingsSearchData.js";
19
15
  export * from "./Entity.js";
20
16
  export * from "./ErrorResponse.js";
21
- export * from "./ExtendedContext.js";
22
- export * from "./FetchContentData.js";
23
- export * from "./FileUploadResult.js";
24
- export * from "./GraphRelationsResponse.js";
17
+ export * from "./FetchMode.js";
18
+ export * from "./GraphContext.js";
25
19
  export * from "./HttpValidationError.js";
26
- export * from "./ListSourcesResponse.js";
27
- export * from "./ListUserMemoriesResponse.js";
28
- export * from "./MarkdownUploadRequest.js";
20
+ export * from "./Infra.js";
21
+ export * from "./InsertResult.js";
22
+ export * from "./MemoryItem.js";
23
+ export * from "./MemoryResultItem.js";
24
+ export * from "./MilvusDataType.js";
29
25
  export * from "./PathTriplet.js";
30
26
  export * from "./ProcessingStatus.js";
31
- export * from "./RelatedChunk.js";
27
+ export * from "./QnASearchResponse.js";
28
+ export * from "./RawEmbeddingDocument.js";
29
+ export * from "./RawEmbeddingSearchResult.js";
30
+ export * from "./RawEmbeddingVector.js";
32
31
  export * from "./RelationEvidence.js";
33
- export * from "./Relations.js";
32
+ export * from "./RetrievalResult.js";
34
33
  export * from "./RetrieveMode.js";
35
- export * from "./RetrieveResponse.js";
36
- export * from "./RetrieveUserMemoryResponse.js";
37
34
  export * from "./ScoredPathResponse.js";
38
- export * from "./ScoredTripletResponse.js";
39
- export * from "./SearchChunk.js";
40
- export * from "./SingleUploadData.js";
41
- export * from "./Source.js";
35
+ export * from "./SearchMode.js";
36
+ export * from "./SourceDeleteResponse.js";
37
+ export * from "./SourceDeleteResultItem.js";
38
+ export * from "./SourceFetchResponse.js";
39
+ export * from "./SourceGraphRelationsResponse.js";
40
+ export * from "./SourceListResponse.js";
42
41
  export * from "./SourceModel.js";
43
- export * from "./SubTenantIdsData.js";
44
- export * from "./TenantCreateData.js";
45
- export * from "./TenantStats.js";
46
- export * from "./TripleWithEvidence.js";
42
+ export * from "./SourceStatus.js";
43
+ export * from "./SourceUploadResponse.js";
44
+ export * from "./SourceUploadResultItem.js";
45
+ export * from "./SupportedLlmProviders.js";
46
+ export * from "./TenantCreateResponse.js";
47
+ export * from "./TenantInfo.js";
48
+ export * from "./TenantMetadataSchemaInfo.js";
49
+ export * from "./TenantStatsResponse.js";
50
+ export * from "./TripletWithEvidence.js";
47
51
  export * from "./UserAssistantPair.js";
48
- export * from "./UserMemory.js";
49
52
  export * from "./ValidationError.js";
50
- export * from "./WebpageScrapeRequest.js";
53
+ export * from "./VectorStoreChunk.js";
@@ -15,52 +15,55 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ActualErrorResponse.js"), exports);
18
- __exportStar(require("./AddUserMemoryResponse.js"), exports);
18
+ __exportStar(require("./AddMemoryResponse.js"), exports);
19
+ __exportStar(require("./ApiKeyInfo.js"), exports);
19
20
  __exportStar(require("./AppSourcesUploadData.js"), exports);
20
21
  __exportStar(require("./AttachmentModel.js"), exports);
21
22
  __exportStar(require("./Bm25OperatorType.js"), exports);
22
- __exportStar(require("./BatchUploadData.js"), exports);
23
- __exportStar(require("./BodyScrapeWebpageUploadScrapeWebpagePost.js"), exports);
24
- __exportStar(require("./BodyUpdateScrapeJobUploadUpdateWebpagePatch.js"), exports);
25
- __exportStar(require("./ChunkGraphRelationsResponse.js"), exports);
23
+ __exportStar(require("./CollectionStats.js"), exports);
26
24
  __exportStar(require("./ContentModel.js"), exports);
27
- __exportStar(require("./DeleteMemoryRequest.js"), exports);
28
- __exportStar(require("./DeleteSources.js"), exports);
29
- __exportStar(require("./DeleteSubTenantData.js"), exports);
25
+ __exportStar(require("./CustomPropertyDefinition.js"), exports);
26
+ __exportStar(require("./DashboardApisResponse.js"), exports);
27
+ __exportStar(require("./DashboardSourcesResponse.js"), exports);
28
+ __exportStar(require("./DashboardTenantsResponse.js"), exports);
29
+ __exportStar(require("./DeleteResult.js"), exports);
30
30
  __exportStar(require("./DeleteUserMemoryResponse.js"), exports);
31
- __exportStar(require("./EmbeddingsCreateCollectionData.js"), exports);
32
- __exportStar(require("./EmbeddingsDeleteData.js"), exports);
33
- __exportStar(require("./EmbeddingsGetData.js"), exports);
34
- __exportStar(require("./EmbeddingsSearchData.js"), exports);
35
31
  __exportStar(require("./Entity.js"), exports);
36
32
  __exportStar(require("./ErrorResponse.js"), exports);
37
- __exportStar(require("./ExtendedContext.js"), exports);
38
- __exportStar(require("./FetchContentData.js"), exports);
39
- __exportStar(require("./FileUploadResult.js"), exports);
40
- __exportStar(require("./GraphRelationsResponse.js"), exports);
33
+ __exportStar(require("./FetchMode.js"), exports);
34
+ __exportStar(require("./GraphContext.js"), exports);
41
35
  __exportStar(require("./HttpValidationError.js"), exports);
42
- __exportStar(require("./ListSourcesResponse.js"), exports);
43
- __exportStar(require("./ListUserMemoriesResponse.js"), exports);
44
- __exportStar(require("./MarkdownUploadRequest.js"), exports);
36
+ __exportStar(require("./Infra.js"), exports);
37
+ __exportStar(require("./InsertResult.js"), exports);
38
+ __exportStar(require("./MemoryItem.js"), exports);
39
+ __exportStar(require("./MemoryResultItem.js"), exports);
40
+ __exportStar(require("./MilvusDataType.js"), exports);
45
41
  __exportStar(require("./PathTriplet.js"), exports);
46
42
  __exportStar(require("./ProcessingStatus.js"), exports);
47
- __exportStar(require("./RelatedChunk.js"), exports);
43
+ __exportStar(require("./QnASearchResponse.js"), exports);
44
+ __exportStar(require("./RawEmbeddingDocument.js"), exports);
45
+ __exportStar(require("./RawEmbeddingSearchResult.js"), exports);
46
+ __exportStar(require("./RawEmbeddingVector.js"), exports);
48
47
  __exportStar(require("./RelationEvidence.js"), exports);
49
- __exportStar(require("./Relations.js"), exports);
48
+ __exportStar(require("./RetrievalResult.js"), exports);
50
49
  __exportStar(require("./RetrieveMode.js"), exports);
51
- __exportStar(require("./RetrieveResponse.js"), exports);
52
- __exportStar(require("./RetrieveUserMemoryResponse.js"), exports);
53
50
  __exportStar(require("./ScoredPathResponse.js"), exports);
54
- __exportStar(require("./ScoredTripletResponse.js"), exports);
55
- __exportStar(require("./SearchChunk.js"), exports);
56
- __exportStar(require("./SingleUploadData.js"), exports);
57
- __exportStar(require("./Source.js"), exports);
51
+ __exportStar(require("./SearchMode.js"), exports);
52
+ __exportStar(require("./SourceDeleteResponse.js"), exports);
53
+ __exportStar(require("./SourceDeleteResultItem.js"), exports);
54
+ __exportStar(require("./SourceFetchResponse.js"), exports);
55
+ __exportStar(require("./SourceGraphRelationsResponse.js"), exports);
56
+ __exportStar(require("./SourceListResponse.js"), exports);
58
57
  __exportStar(require("./SourceModel.js"), exports);
59
- __exportStar(require("./SubTenantIdsData.js"), exports);
60
- __exportStar(require("./TenantCreateData.js"), exports);
61
- __exportStar(require("./TenantStats.js"), exports);
62
- __exportStar(require("./TripleWithEvidence.js"), exports);
58
+ __exportStar(require("./SourceStatus.js"), exports);
59
+ __exportStar(require("./SourceUploadResponse.js"), exports);
60
+ __exportStar(require("./SourceUploadResultItem.js"), exports);
61
+ __exportStar(require("./SupportedLlmProviders.js"), exports);
62
+ __exportStar(require("./TenantCreateResponse.js"), exports);
63
+ __exportStar(require("./TenantInfo.js"), exports);
64
+ __exportStar(require("./TenantMetadataSchemaInfo.js"), exports);
65
+ __exportStar(require("./TenantStatsResponse.js"), exports);
66
+ __exportStar(require("./TripletWithEvidence.js"), exports);
63
67
  __exportStar(require("./UserAssistantPair.js"), exports);
64
- __exportStar(require("./UserMemory.js"), exports);
65
68
  __exportStar(require("./ValidationError.js"), exports);
66
- __exportStar(require("./WebpageScrapeRequest.js"), exports);
69
+ __exportStar(require("./VectorStoreChunk.js"), exports);
package/package.json CHANGED
@@ -1,34 +1,31 @@
1
1
  {
2
- "name": "@usecortex_ai/node",
3
- "version": "0.3.6",
4
- "description": "The official TypeScript SDK for the Cortex AI platform.",
5
- "author": "Nishkarsh Shrivastava <nishkarsh@usecortex.ai>",
6
- "main": "./dist/index.js",
7
- "types": "./dist/index.d.ts",
8
- "files": [
9
- "dist"
10
- ],
11
- "keywords": [
12
- "cortex",
13
- "cortex-ai",
14
- "cortex-ai-sdk",
15
- "cortex-ai-typescript-sdk",
16
- "rag",
17
- "gen-ai",
18
- "memory",
19
- "ai"
20
- ],
21
- "scripts": {
22
- "build": "tsc",
23
- "prepublishOnly": "npm run build"
24
- },
25
- "dependencies": {
26
- "form-data": "^4.0.0",
27
- "node-fetch": "2.7.0"
28
- },
29
- "devDependencies": {
30
- "@types/node": "^18.19.3",
31
- "@types/node-fetch": "2.6.9",
32
- "typescript": "5.3.3"
33
- }
34
- }
2
+ "name": "@usecortex_ai/node",
3
+ "version": "0.4.0",
4
+ "description": "The official TypeScript SDK for the Cortex AI platform.",
5
+ "author": "Nishkarsh Shrivastava <nishkarsh@usecortex.ai>",
6
+ "main": "./dist/index.js",
7
+ "types": "./dist/index.d.ts",
8
+ "files": [
9
+ "dist"
10
+ ],
11
+ "keywords": [
12
+ "cortex",
13
+ "cortex-ai",
14
+ "cortex-ai-sdk",
15
+ "cortex-ai-typescript-sdk",
16
+ "rag", "gen-ai", "memory", "ai"
17
+ ],
18
+ "scripts": {
19
+ "build": "tsc",
20
+ "prepublishOnly": "npm run build"
21
+ },
22
+ "dependencies": {
23
+ "form-data": "^4.0.0",
24
+ "node-fetch": "2.7.0"
25
+ },
26
+ "devDependencies": {
27
+ "@types/node": "^18.19.3",
28
+ "@types/node-fetch": "2.6.9",
29
+ "typescript": "5.3.3"
30
+ }
31
+ }