@getzep/zep-cloud 2.3.1 → 2.5.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.
- package/api/resources/document/client/Client.d.ts +4 -4
- package/api/resources/document/client/Client.js +17 -17
- package/api/resources/graph/client/Client.d.ts +18 -1
- package/api/resources/graph/client/Client.js +82 -3
- package/api/resources/graph/client/requests/AddTripleRequest.d.ts +41 -0
- package/api/resources/graph/client/requests/AddTripleRequest.js +5 -0
- package/api/resources/graph/client/requests/GraphSearchQuery.d.ts +3 -1
- package/api/resources/graph/client/requests/index.d.ts +1 -0
- package/api/resources/graph/resources/edge/client/Client.d.ts +4 -4
- package/api/resources/graph/resources/edge/client/Client.js +8 -8
- package/api/resources/graph/resources/episode/client/Client.d.ts +17 -3
- package/api/resources/graph/resources/episode/client/Client.js +89 -6
- package/api/resources/graph/resources/node/client/Client.d.ts +3 -3
- package/api/resources/graph/resources/node/client/Client.js +6 -6
- package/api/resources/group/client/Client.d.ts +24 -9
- package/api/resources/group/client/Client.js +99 -14
- package/api/resources/group/client/requests/CreateGroupRequest.d.ts +0 -1
- package/api/resources/group/client/requests/GetGroupsOrderedRequest.d.ts +2 -2
- package/api/resources/group/client/requests/UpdateGroupRequest.d.ts +13 -0
- package/api/resources/group/client/requests/UpdateGroupRequest.js +5 -0
- package/api/resources/group/client/requests/index.d.ts +1 -0
- package/api/resources/memory/client/Client.d.ts +20 -22
- package/api/resources/memory/client/Client.js +42 -44
- package/api/resources/memory/client/requests/AddMemoryRequest.d.ts +2 -2
- package/api/resources/memory/client/requests/CreateSessionRequest.d.ts +2 -2
- package/api/resources/memory/client/requests/MemoryGetRequest.d.ts +1 -1
- package/api/resources/memory/client/requests/MemoryGetSessionFactsRequest.d.ts +1 -1
- package/api/resources/memory/client/requests/MemoryListSessionsRequest.d.ts +3 -3
- package/api/resources/memory/client/requests/ModelsMessageMetadataUpdate.d.ts +1 -1
- package/api/resources/memory/client/requests/SessionSearchQuery.d.ts +7 -7
- package/api/resources/memory/client/requests/UpdateSessionRequest.d.ts +1 -1
- package/api/resources/user/client/Client.d.ts +20 -7
- package/api/resources/user/client/Client.js +88 -14
- package/api/types/AddTripleResponse.d.ts +9 -0
- package/api/types/AddTripleResponse.js +5 -0
- package/api/types/ClassifySessionRequest.d.ts +2 -2
- package/api/types/EntityNode.d.ts +2 -0
- package/api/types/Fact.d.ts +1 -1
- package/api/types/Group.d.ts +1 -1
- package/api/types/Memory.d.ts +3 -9
- package/api/types/Message.d.ts +3 -3
- package/api/types/SearchFilters.d.ts +7 -0
- package/api/types/SearchFilters.js +5 -0
- package/api/types/Session.d.ts +4 -2
- package/api/types/User.d.ts +3 -0
- package/api/types/UserNodeResponse.d.ts +7 -0
- package/api/types/UserNodeResponse.js +5 -0
- package/api/types/index.d.ts +3 -0
- package/api/types/index.js +3 -0
- package/dist/api/resources/document/client/Client.d.ts +4 -4
- package/dist/api/resources/document/client/Client.js +17 -17
- package/dist/api/resources/graph/client/Client.d.ts +18 -1
- package/dist/api/resources/graph/client/Client.js +82 -3
- package/dist/api/resources/graph/client/requests/AddTripleRequest.d.ts +41 -0
- package/dist/api/resources/graph/client/requests/AddTripleRequest.js +5 -0
- package/dist/api/resources/graph/client/requests/GraphSearchQuery.d.ts +3 -1
- package/dist/api/resources/graph/client/requests/index.d.ts +1 -0
- package/dist/api/resources/graph/resources/edge/client/Client.d.ts +4 -4
- package/dist/api/resources/graph/resources/edge/client/Client.js +8 -8
- package/dist/api/resources/graph/resources/episode/client/Client.d.ts +17 -3
- package/dist/api/resources/graph/resources/episode/client/Client.js +89 -6
- package/dist/api/resources/graph/resources/node/client/Client.d.ts +3 -3
- package/dist/api/resources/graph/resources/node/client/Client.js +6 -6
- package/dist/api/resources/group/client/Client.d.ts +24 -9
- package/dist/api/resources/group/client/Client.js +99 -14
- package/dist/api/resources/group/client/requests/CreateGroupRequest.d.ts +0 -1
- package/dist/api/resources/group/client/requests/GetGroupsOrderedRequest.d.ts +2 -2
- package/dist/api/resources/group/client/requests/UpdateGroupRequest.d.ts +13 -0
- package/dist/api/resources/group/client/requests/UpdateGroupRequest.js +5 -0
- package/dist/api/resources/group/client/requests/index.d.ts +1 -0
- package/dist/api/resources/memory/client/Client.d.ts +20 -22
- package/dist/api/resources/memory/client/Client.js +42 -44
- package/dist/api/resources/memory/client/requests/AddMemoryRequest.d.ts +2 -2
- package/dist/api/resources/memory/client/requests/CreateSessionRequest.d.ts +2 -2
- package/dist/api/resources/memory/client/requests/MemoryGetRequest.d.ts +1 -1
- package/dist/api/resources/memory/client/requests/MemoryGetSessionFactsRequest.d.ts +1 -1
- package/dist/api/resources/memory/client/requests/MemoryListSessionsRequest.d.ts +3 -3
- package/dist/api/resources/memory/client/requests/ModelsMessageMetadataUpdate.d.ts +1 -1
- package/dist/api/resources/memory/client/requests/SessionSearchQuery.d.ts +7 -7
- package/dist/api/resources/memory/client/requests/UpdateSessionRequest.d.ts +1 -1
- package/dist/api/resources/user/client/Client.d.ts +20 -7
- package/dist/api/resources/user/client/Client.js +88 -14
- package/dist/api/types/AddTripleResponse.d.ts +9 -0
- package/dist/api/types/AddTripleResponse.js +5 -0
- package/dist/api/types/ClassifySessionRequest.d.ts +2 -2
- package/dist/api/types/EntityNode.d.ts +2 -0
- package/dist/api/types/Fact.d.ts +1 -1
- package/dist/api/types/Group.d.ts +1 -1
- package/dist/api/types/Memory.d.ts +3 -9
- package/dist/api/types/Message.d.ts +3 -3
- package/dist/api/types/SearchFilters.d.ts +7 -0
- package/dist/api/types/SearchFilters.js +5 -0
- package/dist/api/types/Session.d.ts +4 -2
- package/dist/api/types/User.d.ts +3 -0
- package/dist/api/types/UserNodeResponse.d.ts +7 -0
- package/dist/api/types/UserNodeResponse.js +5 -0
- package/dist/api/types/index.d.ts +3 -0
- package/dist/api/types/index.js +3 -0
- package/dist/serialization/resources/graph/client/requests/AddTripleRequest.d.ts +26 -0
- package/dist/serialization/resources/graph/client/requests/AddTripleRequest.js +57 -0
- package/dist/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -0
- package/dist/serialization/resources/graph/client/requests/GraphSearchQuery.js +2 -0
- package/dist/serialization/resources/graph/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/graph/client/requests/index.js +3 -1
- package/dist/serialization/resources/group/client/requests/UpdateGroupRequest.d.ts +15 -0
- package/dist/serialization/resources/group/client/requests/UpdateGroupRequest.js +46 -0
- package/dist/serialization/resources/group/client/requests/index.d.ts +1 -0
- package/dist/serialization/resources/group/client/requests/index.js +3 -1
- package/dist/serialization/types/AddTripleResponse.d.ts +16 -0
- package/dist/serialization/types/AddTripleResponse.js +47 -0
- package/dist/serialization/types/EntityNode.d.ts +1 -0
- package/dist/serialization/types/EntityNode.js +1 -0
- package/dist/serialization/types/SearchFilters.d.ts +12 -0
- package/dist/serialization/types/SearchFilters.js +43 -0
- package/dist/serialization/types/UserNodeResponse.d.ts +13 -0
- package/dist/serialization/types/UserNodeResponse.js +44 -0
- package/dist/serialization/types/index.d.ts +3 -0
- package/dist/serialization/types/index.js +3 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/examples/graph/user_graph_example.ts +13 -0
- package/package.json +1 -1
- package/reference.md +315 -66
- package/serialization/resources/graph/client/requests/AddTripleRequest.d.ts +26 -0
- package/serialization/resources/graph/client/requests/AddTripleRequest.js +57 -0
- package/serialization/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -0
- package/serialization/resources/graph/client/requests/GraphSearchQuery.js +2 -0
- package/serialization/resources/graph/client/requests/index.d.ts +1 -0
- package/serialization/resources/graph/client/requests/index.js +3 -1
- package/serialization/resources/group/client/requests/UpdateGroupRequest.d.ts +15 -0
- package/serialization/resources/group/client/requests/UpdateGroupRequest.js +46 -0
- package/serialization/resources/group/client/requests/index.d.ts +1 -0
- package/serialization/resources/group/client/requests/index.js +3 -1
- package/serialization/types/AddTripleResponse.d.ts +16 -0
- package/serialization/types/AddTripleResponse.js +47 -0
- package/serialization/types/EntityNode.d.ts +1 -0
- package/serialization/types/EntityNode.js +1 -0
- package/serialization/types/SearchFilters.d.ts +12 -0
- package/serialization/types/SearchFilters.js +43 -0
- package/serialization/types/UserNodeResponse.d.ts +13 -0
- package/serialization/types/UserNodeResponse.js +44 -0
- package/serialization/types/index.d.ts +3 -0
- package/serialization/types/index.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Zep from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
export declare const AddTripleRequest: core.serialization.Schema<serializers.AddTripleRequest.Raw, Zep.AddTripleRequest>;
|
|
8
|
+
export declare namespace AddTripleRequest {
|
|
9
|
+
interface Raw {
|
|
10
|
+
created_at?: string | null;
|
|
11
|
+
expired_at?: string | null;
|
|
12
|
+
fact: string;
|
|
13
|
+
fact_name: string;
|
|
14
|
+
fact_uuid?: string | null;
|
|
15
|
+
group_id?: string | null;
|
|
16
|
+
invalid_at?: string | null;
|
|
17
|
+
source_node_name?: string | null;
|
|
18
|
+
source_node_summary?: string | null;
|
|
19
|
+
source_node_uuid?: string | null;
|
|
20
|
+
target_node_name: string;
|
|
21
|
+
target_node_summary?: string | null;
|
|
22
|
+
target_node_uuid?: string | null;
|
|
23
|
+
user_id?: string | null;
|
|
24
|
+
valid_at?: string | null;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AddTripleRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
exports.AddTripleRequest = core.serialization.object({
|
|
42
|
+
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
43
|
+
expiredAt: core.serialization.property("expired_at", core.serialization.string().optional()),
|
|
44
|
+
fact: core.serialization.string(),
|
|
45
|
+
factName: core.serialization.property("fact_name", core.serialization.string()),
|
|
46
|
+
factUuid: core.serialization.property("fact_uuid", core.serialization.string().optional()),
|
|
47
|
+
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
48
|
+
invalidAt: core.serialization.property("invalid_at", core.serialization.string().optional()),
|
|
49
|
+
sourceNodeName: core.serialization.property("source_node_name", core.serialization.string().optional()),
|
|
50
|
+
sourceNodeSummary: core.serialization.property("source_node_summary", core.serialization.string().optional()),
|
|
51
|
+
sourceNodeUuid: core.serialization.property("source_node_uuid", core.serialization.string().optional()),
|
|
52
|
+
targetNodeName: core.serialization.property("target_node_name", core.serialization.string()),
|
|
53
|
+
targetNodeSummary: core.serialization.property("target_node_summary", core.serialization.string().optional()),
|
|
54
|
+
targetNodeUuid: core.serialization.property("target_node_uuid", core.serialization.string().optional()),
|
|
55
|
+
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
56
|
+
validAt: core.serialization.property("valid_at", core.serialization.string().optional()),
|
|
57
|
+
});
|
|
@@ -6,6 +6,7 @@ import * as Zep from "../../../../../api/index";
|
|
|
6
6
|
import * as core from "../../../../../core";
|
|
7
7
|
import { Reranker } from "../../../../types/Reranker";
|
|
8
8
|
import { GraphSearchScope } from "../../../../types/GraphSearchScope";
|
|
9
|
+
import { SearchFilters } from "../../../../types/SearchFilters";
|
|
9
10
|
export declare const GraphSearchQuery: core.serialization.Schema<serializers.GraphSearchQuery.Raw, Zep.GraphSearchQuery>;
|
|
10
11
|
export declare namespace GraphSearchQuery {
|
|
11
12
|
interface Raw {
|
|
@@ -17,6 +18,7 @@ export declare namespace GraphSearchQuery {
|
|
|
17
18
|
query: string;
|
|
18
19
|
reranker?: Reranker.Raw | null;
|
|
19
20
|
scope?: GraphSearchScope.Raw | null;
|
|
21
|
+
search_filters?: SearchFilters.Raw | null;
|
|
20
22
|
user_id?: string | null;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -40,6 +40,7 @@ exports.GraphSearchQuery = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const Reranker_1 = require("../../../../types/Reranker");
|
|
42
42
|
const GraphSearchScope_1 = require("../../../../types/GraphSearchScope");
|
|
43
|
+
const SearchFilters_1 = require("../../../../types/SearchFilters");
|
|
43
44
|
exports.GraphSearchQuery = core.serialization.object({
|
|
44
45
|
centerNodeUuid: core.serialization.property("center_node_uuid", core.serialization.string().optional()),
|
|
45
46
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
@@ -49,5 +50,6 @@ exports.GraphSearchQuery = core.serialization.object({
|
|
|
49
50
|
query: core.serialization.string(),
|
|
50
51
|
reranker: Reranker_1.Reranker.optional(),
|
|
51
52
|
scope: GraphSearchScope_1.GraphSearchScope.optional(),
|
|
53
|
+
searchFilters: core.serialization.property("search_filters", SearchFilters_1.SearchFilters.optional()),
|
|
52
54
|
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
53
55
|
});
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GraphSearchQuery = exports.AddDataRequest = void 0;
|
|
3
|
+
exports.GraphSearchQuery = exports.AddTripleRequest = exports.AddDataRequest = void 0;
|
|
4
4
|
var AddDataRequest_1 = require("./AddDataRequest");
|
|
5
5
|
Object.defineProperty(exports, "AddDataRequest", { enumerable: true, get: function () { return AddDataRequest_1.AddDataRequest; } });
|
|
6
|
+
var AddTripleRequest_1 = require("./AddTripleRequest");
|
|
7
|
+
Object.defineProperty(exports, "AddTripleRequest", { enumerable: true, get: function () { return AddTripleRequest_1.AddTripleRequest; } });
|
|
6
8
|
var GraphSearchQuery_1 = require("./GraphSearchQuery");
|
|
7
9
|
Object.defineProperty(exports, "GraphSearchQuery", { enumerable: true, get: function () { return GraphSearchQuery_1.GraphSearchQuery; } });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../../../../index";
|
|
5
|
+
import * as Zep from "../../../../../api/index";
|
|
6
|
+
import * as core from "../../../../../core";
|
|
7
|
+
import { FactRatingInstruction } from "../../../../types/FactRatingInstruction";
|
|
8
|
+
export declare const UpdateGroupRequest: core.serialization.Schema<serializers.UpdateGroupRequest.Raw, Zep.UpdateGroupRequest>;
|
|
9
|
+
export declare namespace UpdateGroupRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
description?: string | null;
|
|
12
|
+
fact_rating_instruction?: FactRatingInstruction.Raw | null;
|
|
13
|
+
name?: string | null;
|
|
14
|
+
}
|
|
15
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UpdateGroupRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const FactRatingInstruction_1 = require("../../../../types/FactRatingInstruction");
|
|
42
|
+
exports.UpdateGroupRequest = core.serialization.object({
|
|
43
|
+
description: core.serialization.string().optional(),
|
|
44
|
+
factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_1.FactRatingInstruction.optional()),
|
|
45
|
+
name: core.serialization.string().optional(),
|
|
46
|
+
});
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CreateGroupRequest = void 0;
|
|
3
|
+
exports.UpdateGroupRequest = exports.CreateGroupRequest = void 0;
|
|
4
4
|
var CreateGroupRequest_1 = require("./CreateGroupRequest");
|
|
5
5
|
Object.defineProperty(exports, "CreateGroupRequest", { enumerable: true, get: function () { return CreateGroupRequest_1.CreateGroupRequest; } });
|
|
6
|
+
var UpdateGroupRequest_1 = require("./UpdateGroupRequest");
|
|
7
|
+
Object.defineProperty(exports, "UpdateGroupRequest", { enumerable: true, get: function () { return UpdateGroupRequest_1.UpdateGroupRequest; } });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Zep from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { EntityEdge } from "./EntityEdge";
|
|
8
|
+
import { EntityNode } from "./EntityNode";
|
|
9
|
+
export declare const AddTripleResponse: core.serialization.ObjectSchema<serializers.AddTripleResponse.Raw, Zep.AddTripleResponse>;
|
|
10
|
+
export declare namespace AddTripleResponse {
|
|
11
|
+
interface Raw {
|
|
12
|
+
edge?: EntityEdge.Raw | null;
|
|
13
|
+
source_node?: EntityNode.Raw | null;
|
|
14
|
+
target_node?: EntityNode.Raw | null;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.AddTripleResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const EntityEdge_1 = require("./EntityEdge");
|
|
42
|
+
const EntityNode_1 = require("./EntityNode");
|
|
43
|
+
exports.AddTripleResponse = core.serialization.object({
|
|
44
|
+
edge: EntityEdge_1.EntityEdge.optional(),
|
|
45
|
+
sourceNode: core.serialization.property("source_node", EntityNode_1.EntityNode.optional()),
|
|
46
|
+
targetNode: core.serialization.property("target_node", EntityNode_1.EntityNode.optional()),
|
|
47
|
+
});
|
|
@@ -7,6 +7,7 @@ import * as core from "../../core";
|
|
|
7
7
|
export declare const EntityNode: core.serialization.ObjectSchema<serializers.EntityNode.Raw, Zep.EntityNode>;
|
|
8
8
|
export declare namespace EntityNode {
|
|
9
9
|
interface Raw {
|
|
10
|
+
attributes?: Record<string, unknown> | null;
|
|
10
11
|
created_at: string;
|
|
11
12
|
labels?: string[] | null;
|
|
12
13
|
name: string;
|
|
@@ -39,6 +39,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
39
39
|
exports.EntityNode = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
41
|
exports.EntityNode = core.serialization.object({
|
|
42
|
+
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
42
43
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
43
44
|
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
name: core.serialization.string(),
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Zep from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
export declare const SearchFilters: core.serialization.ObjectSchema<serializers.SearchFilters.Raw, Zep.SearchFilters>;
|
|
8
|
+
export declare namespace SearchFilters {
|
|
9
|
+
interface Raw {
|
|
10
|
+
node_labels?: string[] | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.SearchFilters = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
exports.SearchFilters = core.serialization.object({
|
|
42
|
+
nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
|
|
43
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index";
|
|
5
|
+
import * as Zep from "../../api/index";
|
|
6
|
+
import * as core from "../../core";
|
|
7
|
+
import { EntityNode } from "./EntityNode";
|
|
8
|
+
export declare const UserNodeResponse: core.serialization.ObjectSchema<serializers.UserNodeResponse.Raw, Zep.UserNodeResponse>;
|
|
9
|
+
export declare namespace UserNodeResponse {
|
|
10
|
+
interface Raw {
|
|
11
|
+
node?: EntityNode.Raw | null;
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
4
|
+
*/
|
|
5
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
8
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
9
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
10
|
+
}
|
|
11
|
+
Object.defineProperty(o, k2, desc);
|
|
12
|
+
}) : (function(o, m, k, k2) {
|
|
13
|
+
if (k2 === undefined) k2 = k;
|
|
14
|
+
o[k2] = m[k];
|
|
15
|
+
}));
|
|
16
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
17
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
18
|
+
}) : function(o, v) {
|
|
19
|
+
o["default"] = v;
|
|
20
|
+
});
|
|
21
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
22
|
+
var ownKeys = function(o) {
|
|
23
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
24
|
+
var ar = [];
|
|
25
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
26
|
+
return ar;
|
|
27
|
+
};
|
|
28
|
+
return ownKeys(o);
|
|
29
|
+
};
|
|
30
|
+
return function (mod) {
|
|
31
|
+
if (mod && mod.__esModule) return mod;
|
|
32
|
+
var result = {};
|
|
33
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
34
|
+
__setModuleDefault(result, mod);
|
|
35
|
+
return result;
|
|
36
|
+
};
|
|
37
|
+
})();
|
|
38
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.UserNodeResponse = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const EntityNode_1 = require("./EntityNode");
|
|
42
|
+
exports.UserNodeResponse = core.serialization.object({
|
|
43
|
+
node: EntityNode_1.EntityNode.optional(),
|
|
44
|
+
});
|
|
@@ -31,11 +31,14 @@ export * from "./Summary";
|
|
|
31
31
|
export * from "./SummaryListResponse";
|
|
32
32
|
export * from "./User";
|
|
33
33
|
export * from "./UserListResponse";
|
|
34
|
+
export * from "./UserNodeResponse";
|
|
35
|
+
export * from "./AddTripleResponse";
|
|
34
36
|
export * from "./EntityEdge";
|
|
35
37
|
export * from "./EntityNode";
|
|
36
38
|
export * from "./GraphSearchResults";
|
|
37
39
|
export * from "./GraphSearchScope";
|
|
38
40
|
export * from "./Reranker";
|
|
41
|
+
export * from "./SearchFilters";
|
|
39
42
|
export * from "./ClassifySessionRequest";
|
|
40
43
|
export * from "./CreateDocumentRequest";
|
|
41
44
|
export * from "./FactRatingExamples";
|
|
@@ -47,11 +47,14 @@ __exportStar(require("./Summary"), exports);
|
|
|
47
47
|
__exportStar(require("./SummaryListResponse"), exports);
|
|
48
48
|
__exportStar(require("./User"), exports);
|
|
49
49
|
__exportStar(require("./UserListResponse"), exports);
|
|
50
|
+
__exportStar(require("./UserNodeResponse"), exports);
|
|
51
|
+
__exportStar(require("./AddTripleResponse"), exports);
|
|
50
52
|
__exportStar(require("./EntityEdge"), exports);
|
|
51
53
|
__exportStar(require("./EntityNode"), exports);
|
|
52
54
|
__exportStar(require("./GraphSearchResults"), exports);
|
|
53
55
|
__exportStar(require("./GraphSearchScope"), exports);
|
|
54
56
|
__exportStar(require("./Reranker"), exports);
|
|
57
|
+
__exportStar(require("./SearchFilters"), exports);
|
|
55
58
|
__exportStar(require("./ClassifySessionRequest"), exports);
|
|
56
59
|
__exportStar(require("./CreateDocumentRequest"), exports);
|
|
57
60
|
__exportStar(require("./FactRatingExamples"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.5.0";
|
package/version.js
CHANGED