@usecortex_ai/node 0.3.4 → 0.3.6
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.
- package/dist/api/resources/search/client/Client.d.ts +1 -1
- package/dist/api/resources/search/client/requests/SearchRequest.d.ts +7 -0
- package/dist/api/resources/sources/client/Client.d.ts +26 -0
- package/dist/api/resources/sources/client/Client.js +91 -0
- package/dist/api/resources/sources/client/requests/SourcesGetGraphRelationsByIdRequest.d.ts +18 -0
- package/dist/api/resources/sources/client/requests/index.d.ts +1 -0
- package/dist/api/resources/upload/client/Client.d.ts +83 -0
- package/dist/api/resources/upload/client/Client.js +278 -0
- package/dist/api/resources/{userMemory/client/requests/GenerateUserMemoryRequest.d.ts → upload/client/requests/UploadBatchScrapeWebpageRequest.d.ts} +7 -7
- package/dist/api/resources/upload/client/requests/UploadBatchUploadMarkdownRequest.d.ts +22 -0
- package/dist/api/resources/upload/client/requests/UploadBatchUploadMarkdownRequest.js +5 -0
- package/dist/api/resources/upload/client/requests/UploadBatchUploadTextRequest.d.ts +22 -0
- package/dist/api/resources/upload/client/requests/UploadBatchUploadTextRequest.js +5 -0
- package/dist/api/resources/upload/client/requests/index.d.ts +3 -0
- package/dist/api/resources/userMemory/client/Client.d.ts +13 -45
- package/dist/api/resources/userMemory/client/Client.js +13 -110
- package/dist/api/resources/userMemory/client/requests/AddUserMemoryRequest.d.ts +12 -4
- package/dist/api/resources/userMemory/client/requests/index.d.ts +0 -1
- package/dist/api/types/AddUserMemoryResponse.d.ts +3 -1
- package/dist/api/types/ChunkGraphRelationsResponse.d.ts +13 -0
- package/dist/api/types/ChunkGraphRelationsResponse.js +5 -0
- package/dist/api/types/Entity.d.ts +15 -0
- package/dist/api/types/Entity.js +5 -0
- package/dist/api/types/ExtendedContext.d.ts +0 -2
- package/dist/api/types/GraphRelationsResponse.d.ts +12 -0
- package/dist/api/types/GraphRelationsResponse.js +5 -0
- package/dist/api/types/PathTriplet.d.ts +15 -0
- package/dist/api/types/PathTriplet.js +5 -0
- package/dist/api/types/RelationEvidence.d.ts +19 -0
- package/dist/api/types/RelationEvidence.js +5 -0
- package/dist/api/types/RetrieveMode.d.ts +8 -0
- package/dist/api/types/RetrieveMode.js +10 -0
- package/dist/api/types/RetrieveResponse.d.ts +12 -0
- package/dist/api/types/RetrieveResponse.js +5 -0
- package/dist/api/types/RetrieveUserMemoryResponse.d.ts +2 -0
- package/dist/api/types/ScoredPathResponse.d.ts +18 -0
- package/dist/api/types/ScoredPathResponse.js +5 -0
- package/dist/api/types/ScoredTripletResponse.d.ts +17 -0
- package/dist/api/types/ScoredTripletResponse.js +5 -0
- package/dist/api/types/SearchChunk.d.ts +5 -0
- package/dist/api/types/TripleWithEvidence.d.ts +12 -0
- package/dist/api/types/TripleWithEvidence.js +5 -0
- package/dist/api/types/UserAssistantPair.d.ts +9 -0
- package/dist/api/types/UserAssistantPair.js +5 -0
- package/dist/api/types/WebpageScrapeRequest.d.ts +9 -0
- package/dist/api/types/WebpageScrapeRequest.js +5 -0
- package/dist/api/types/index.d.ts +12 -1
- package/dist/api/types/index.js +12 -1
- package/package.json +1 -1
- package/dist/api/types/GenerateUserMemoryResponse.d.ts +0 -13
- /package/dist/api/resources/{userMemory/client/requests/GenerateUserMemoryRequest.js → sources/client/requests/SourcesGetGraphRelationsByIdRequest.js} +0 -0
- /package/dist/api/{types/GenerateUserMemoryResponse.js → resources/upload/client/requests/UploadBatchScrapeWebpageRequest.js} +0 -0
|
@@ -6,6 +6,7 @@ export * from "./Bm25OperatorType.js";
|
|
|
6
6
|
export * from "./BatchUploadData.js";
|
|
7
7
|
export * from "./BodyScrapeWebpageUploadScrapeWebpagePost.js";
|
|
8
8
|
export * from "./BodyUpdateScrapeJobUploadUpdateWebpagePatch.js";
|
|
9
|
+
export * from "./ChunkGraphRelationsResponse.js";
|
|
9
10
|
export * from "./ContentModel.js";
|
|
10
11
|
export * from "./DeleteMemoryRequest.js";
|
|
11
12
|
export * from "./DeleteSources.js";
|
|
@@ -15,19 +16,26 @@ export * from "./EmbeddingsCreateCollectionData.js";
|
|
|
15
16
|
export * from "./EmbeddingsDeleteData.js";
|
|
16
17
|
export * from "./EmbeddingsGetData.js";
|
|
17
18
|
export * from "./EmbeddingsSearchData.js";
|
|
19
|
+
export * from "./Entity.js";
|
|
18
20
|
export * from "./ErrorResponse.js";
|
|
19
21
|
export * from "./ExtendedContext.js";
|
|
20
22
|
export * from "./FetchContentData.js";
|
|
21
23
|
export * from "./FileUploadResult.js";
|
|
22
|
-
export * from "./
|
|
24
|
+
export * from "./GraphRelationsResponse.js";
|
|
23
25
|
export * from "./HttpValidationError.js";
|
|
24
26
|
export * from "./ListSourcesResponse.js";
|
|
25
27
|
export * from "./ListUserMemoriesResponse.js";
|
|
26
28
|
export * from "./MarkdownUploadRequest.js";
|
|
29
|
+
export * from "./PathTriplet.js";
|
|
27
30
|
export * from "./ProcessingStatus.js";
|
|
28
31
|
export * from "./RelatedChunk.js";
|
|
32
|
+
export * from "./RelationEvidence.js";
|
|
29
33
|
export * from "./Relations.js";
|
|
34
|
+
export * from "./RetrieveMode.js";
|
|
35
|
+
export * from "./RetrieveResponse.js";
|
|
30
36
|
export * from "./RetrieveUserMemoryResponse.js";
|
|
37
|
+
export * from "./ScoredPathResponse.js";
|
|
38
|
+
export * from "./ScoredTripletResponse.js";
|
|
31
39
|
export * from "./SearchChunk.js";
|
|
32
40
|
export * from "./SingleUploadData.js";
|
|
33
41
|
export * from "./Source.js";
|
|
@@ -35,5 +43,8 @@ export * from "./SourceModel.js";
|
|
|
35
43
|
export * from "./SubTenantIdsData.js";
|
|
36
44
|
export * from "./TenantCreateData.js";
|
|
37
45
|
export * from "./TenantStats.js";
|
|
46
|
+
export * from "./TripleWithEvidence.js";
|
|
47
|
+
export * from "./UserAssistantPair.js";
|
|
38
48
|
export * from "./UserMemory.js";
|
|
39
49
|
export * from "./ValidationError.js";
|
|
50
|
+
export * from "./WebpageScrapeRequest.js";
|
package/dist/api/types/index.js
CHANGED
|
@@ -22,6 +22,7 @@ __exportStar(require("./Bm25OperatorType.js"), exports);
|
|
|
22
22
|
__exportStar(require("./BatchUploadData.js"), exports);
|
|
23
23
|
__exportStar(require("./BodyScrapeWebpageUploadScrapeWebpagePost.js"), exports);
|
|
24
24
|
__exportStar(require("./BodyUpdateScrapeJobUploadUpdateWebpagePatch.js"), exports);
|
|
25
|
+
__exportStar(require("./ChunkGraphRelationsResponse.js"), exports);
|
|
25
26
|
__exportStar(require("./ContentModel.js"), exports);
|
|
26
27
|
__exportStar(require("./DeleteMemoryRequest.js"), exports);
|
|
27
28
|
__exportStar(require("./DeleteSources.js"), exports);
|
|
@@ -31,19 +32,26 @@ __exportStar(require("./EmbeddingsCreateCollectionData.js"), exports);
|
|
|
31
32
|
__exportStar(require("./EmbeddingsDeleteData.js"), exports);
|
|
32
33
|
__exportStar(require("./EmbeddingsGetData.js"), exports);
|
|
33
34
|
__exportStar(require("./EmbeddingsSearchData.js"), exports);
|
|
35
|
+
__exportStar(require("./Entity.js"), exports);
|
|
34
36
|
__exportStar(require("./ErrorResponse.js"), exports);
|
|
35
37
|
__exportStar(require("./ExtendedContext.js"), exports);
|
|
36
38
|
__exportStar(require("./FetchContentData.js"), exports);
|
|
37
39
|
__exportStar(require("./FileUploadResult.js"), exports);
|
|
38
|
-
__exportStar(require("./
|
|
40
|
+
__exportStar(require("./GraphRelationsResponse.js"), exports);
|
|
39
41
|
__exportStar(require("./HttpValidationError.js"), exports);
|
|
40
42
|
__exportStar(require("./ListSourcesResponse.js"), exports);
|
|
41
43
|
__exportStar(require("./ListUserMemoriesResponse.js"), exports);
|
|
42
44
|
__exportStar(require("./MarkdownUploadRequest.js"), exports);
|
|
45
|
+
__exportStar(require("./PathTriplet.js"), exports);
|
|
43
46
|
__exportStar(require("./ProcessingStatus.js"), exports);
|
|
44
47
|
__exportStar(require("./RelatedChunk.js"), exports);
|
|
48
|
+
__exportStar(require("./RelationEvidence.js"), exports);
|
|
45
49
|
__exportStar(require("./Relations.js"), exports);
|
|
50
|
+
__exportStar(require("./RetrieveMode.js"), exports);
|
|
51
|
+
__exportStar(require("./RetrieveResponse.js"), exports);
|
|
46
52
|
__exportStar(require("./RetrieveUserMemoryResponse.js"), exports);
|
|
53
|
+
__exportStar(require("./ScoredPathResponse.js"), exports);
|
|
54
|
+
__exportStar(require("./ScoredTripletResponse.js"), exports);
|
|
47
55
|
__exportStar(require("./SearchChunk.js"), exports);
|
|
48
56
|
__exportStar(require("./SingleUploadData.js"), exports);
|
|
49
57
|
__exportStar(require("./Source.js"), exports);
|
|
@@ -51,5 +59,8 @@ __exportStar(require("./SourceModel.js"), exports);
|
|
|
51
59
|
__exportStar(require("./SubTenantIdsData.js"), exports);
|
|
52
60
|
__exportStar(require("./TenantCreateData.js"), exports);
|
|
53
61
|
__exportStar(require("./TenantStats.js"), exports);
|
|
62
|
+
__exportStar(require("./TripleWithEvidence.js"), exports);
|
|
63
|
+
__exportStar(require("./UserAssistantPair.js"), exports);
|
|
54
64
|
__exportStar(require("./UserMemory.js"), exports);
|
|
55
65
|
__exportStar(require("./ValidationError.js"), exports);
|
|
66
|
+
__exportStar(require("./WebpageScrapeRequest.js"), exports);
|
package/package.json
CHANGED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as CortexAI from "../index.js";
|
|
5
|
-
/**
|
|
6
|
-
* Response model for AI-generated user memories.
|
|
7
|
-
*/
|
|
8
|
-
export interface GenerateUserMemoryResponse {
|
|
9
|
-
/** Indicates whether the memory generation operation was successful */
|
|
10
|
-
success: boolean;
|
|
11
|
-
/** Array of AI-generated memories based on your query and user context */
|
|
12
|
-
generated_user_memories?: CortexAI.UserMemory[];
|
|
13
|
-
}
|
|
File without changes
|