@getzep/zep-cloud 2.3.0 → 2.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.
- package/api/resources/document/client/Client.js +13 -13
- package/api/resources/graph/client/Client.js +2 -2
- package/api/resources/graph/resources/edge/client/Client.js +4 -4
- package/api/resources/graph/resources/episode/client/Client.d.ts +14 -0
- package/api/resources/graph/resources/episode/client/Client.js +86 -3
- package/api/resources/graph/resources/node/client/Client.js +3 -3
- package/api/resources/group/client/Client.d.ts +39 -0
- package/api/resources/group/client/Client.js +233 -2
- package/api/resources/group/client/requests/CreateGroupRequest.d.ts +1 -1
- package/api/resources/group/client/requests/GetGroupsOrderedRequest.d.ts +17 -0
- package/api/resources/group/client/requests/index.d.ts +1 -0
- package/api/resources/memory/client/Client.js +22 -22
- package/api/resources/user/client/Client.d.ts +13 -0
- package/api/resources/user/client/Client.js +81 -7
- package/api/types/Group.d.ts +3 -0
- package/api/types/GroupListResponse.d.ts +9 -0
- package/api/types/Memory.d.ts +4 -1
- package/api/types/Session.d.ts +1 -1
- package/api/types/UserNodeResponse.d.ts +7 -0
- package/api/types/index.d.ts +3 -3
- package/api/types/index.js +3 -3
- package/dist/api/resources/document/client/Client.js +13 -13
- package/dist/api/resources/graph/client/Client.js +2 -2
- package/dist/api/resources/graph/resources/edge/client/Client.js +4 -4
- package/dist/api/resources/graph/resources/episode/client/Client.d.ts +14 -0
- package/dist/api/resources/graph/resources/episode/client/Client.js +86 -3
- package/dist/api/resources/graph/resources/node/client/Client.js +3 -3
- package/dist/api/resources/group/client/Client.d.ts +39 -0
- package/dist/api/resources/group/client/Client.js +233 -2
- package/dist/api/resources/group/client/requests/CreateGroupRequest.d.ts +1 -1
- package/dist/api/resources/group/client/requests/GetGroupsOrderedRequest.d.ts +17 -0
- package/dist/api/resources/group/client/requests/index.d.ts +1 -0
- package/dist/api/resources/memory/client/Client.js +22 -22
- package/dist/api/resources/user/client/Client.d.ts +13 -0
- package/dist/api/resources/user/client/Client.js +81 -7
- package/dist/api/types/Group.d.ts +3 -0
- package/dist/api/types/GroupListResponse.d.ts +9 -0
- package/dist/api/types/GroupListResponse.js +5 -0
- package/dist/api/types/Memory.d.ts +4 -1
- package/dist/api/types/Session.d.ts +1 -1
- 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 -3
- package/dist/api/types/index.js +3 -3
- package/dist/serialization/resources/group/client/requests/CreateGroupRequest.d.ts +2 -2
- package/dist/serialization/resources/group/client/requests/CreateGroupRequest.js +2 -2
- package/dist/serialization/types/Group.d.ts +3 -0
- package/dist/serialization/types/Group.js +3 -0
- package/dist/serialization/types/GroupListResponse.d.ts +15 -0
- package/{serialization/types/ApidataFactRatingInstruction.js → dist/serialization/types/GroupListResponse.js} +6 -5
- package/dist/serialization/types/Session.d.ts +2 -2
- package/dist/serialization/types/Session.js +2 -2
- package/dist/serialization/types/UserNodeResponse.d.ts +13 -0
- package/{serialization/types/ApidataFactRatingExamples.js → dist/serialization/types/UserNodeResponse.js} +4 -5
- package/dist/serialization/types/index.d.ts +3 -3
- package/dist/serialization/types/index.js +3 -3
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/examples/graph/user_graph_example.ts +13 -0
- package/jest.config.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +315 -0
- package/serialization/resources/group/client/requests/CreateGroupRequest.d.ts +2 -2
- package/serialization/resources/group/client/requests/CreateGroupRequest.js +2 -2
- package/serialization/types/Group.d.ts +3 -0
- package/serialization/types/Group.js +3 -0
- package/serialization/types/GroupListResponse.d.ts +15 -0
- package/{dist/serialization/types/ApidataFactRatingInstruction.js → serialization/types/GroupListResponse.js} +6 -5
- package/serialization/types/Session.d.ts +2 -2
- package/serialization/types/Session.js +2 -2
- package/serialization/types/UserNodeResponse.d.ts +13 -0
- package/{dist/serialization/types/ApidataFactRatingExamples.js → serialization/types/UserNodeResponse.js} +4 -5
- package/serialization/types/index.d.ts +3 -3
- package/serialization/types/index.js +3 -3
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/api/types/ApidataFactRatingExamples.d.ts +0 -8
- package/api/types/ApidataFactRatingInstruction.d.ts +0 -21
- package/dist/api/types/ApidataFactRatingExamples.d.ts +0 -8
- package/dist/api/types/ApidataFactRatingInstruction.d.ts +0 -21
- package/dist/serialization/types/ApidataFactRatingExamples.d.ts +0 -14
- package/dist/serialization/types/ApidataFactRatingInstruction.d.ts +0 -14
- package/serialization/types/ApidataFactRatingExamples.d.ts +0 -14
- package/serialization/types/ApidataFactRatingInstruction.d.ts +0 -14
- /package/api/{types/ApidataFactRatingExamples.js → resources/group/client/requests/GetGroupsOrderedRequest.js} +0 -0
- /package/api/types/{ApidataFactRatingInstruction.js → GroupListResponse.js} +0 -0
- /package/{dist/api/types/ApidataFactRatingExamples.js → api/types/UserNodeResponse.js} +0 -0
- /package/dist/api/{types/ApidataFactRatingInstruction.js → resources/group/client/requests/GetGroupsOrderedRequest.js} +0 -0
|
@@ -38,13 +38,13 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.Session = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
const
|
|
41
|
+
const FactRatingInstruction_1 = require("./FactRatingInstruction");
|
|
42
42
|
exports.Session = core.serialization.object({
|
|
43
43
|
classifications: core.serialization.record(core.serialization.string(), core.serialization.string()).optional(),
|
|
44
44
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
45
45
|
deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
|
|
46
46
|
endedAt: core.serialization.property("ended_at", core.serialization.string().optional()),
|
|
47
|
-
factRatingInstruction: core.serialization.property("fact_rating_instruction",
|
|
47
|
+
factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_1.FactRatingInstruction.optional()),
|
|
48
48
|
facts: core.serialization.list(core.serialization.string()).optional(),
|
|
49
49
|
id: core.serialization.number().optional(),
|
|
50
50
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
@@ -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
|
+
}
|
|
@@ -36,10 +36,9 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
36
36
|
};
|
|
37
37
|
})();
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.
|
|
39
|
+
exports.UserNodeResponse = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
medium: core.serialization.string().optional(),
|
|
41
|
+
const EntityNode_1 = require("./EntityNode");
|
|
42
|
+
exports.UserNodeResponse = core.serialization.object({
|
|
43
|
+
node: EntityNode_1.EntityNode.optional(),
|
|
45
44
|
});
|
|
@@ -7,13 +7,13 @@ export * from "./ApidataDocumentWithScore";
|
|
|
7
7
|
export * from "./EndSessionResponse";
|
|
8
8
|
export * from "./EndSessionsResponse";
|
|
9
9
|
export * from "./Fact";
|
|
10
|
-
export * from "./
|
|
11
|
-
export * from "./ApidataFactRatingInstruction";
|
|
10
|
+
export * from "./FactRatingInstruction";
|
|
12
11
|
export * from "./FactResponse";
|
|
13
12
|
export * from "./FactsResponse";
|
|
14
13
|
export * from "./Episode";
|
|
15
14
|
export * from "./EpisodeResponse";
|
|
16
15
|
export * from "./Group";
|
|
16
|
+
export * from "./GroupListResponse";
|
|
17
17
|
export * from "./Memory";
|
|
18
18
|
export * from "./MemorySearchResult";
|
|
19
19
|
export * from "./Message";
|
|
@@ -31,6 +31,7 @@ export * from "./Summary";
|
|
|
31
31
|
export * from "./SummaryListResponse";
|
|
32
32
|
export * from "./User";
|
|
33
33
|
export * from "./UserListResponse";
|
|
34
|
+
export * from "./UserNodeResponse";
|
|
34
35
|
export * from "./EntityEdge";
|
|
35
36
|
export * from "./EntityNode";
|
|
36
37
|
export * from "./GraphSearchResults";
|
|
@@ -39,7 +40,6 @@ export * from "./Reranker";
|
|
|
39
40
|
export * from "./ClassifySessionRequest";
|
|
40
41
|
export * from "./CreateDocumentRequest";
|
|
41
42
|
export * from "./FactRatingExamples";
|
|
42
|
-
export * from "./FactRatingInstruction";
|
|
43
43
|
export * from "./GraphDataType";
|
|
44
44
|
export * from "./SearchScope";
|
|
45
45
|
export * from "./SearchType";
|
|
@@ -23,13 +23,13 @@ __exportStar(require("./ApidataDocumentWithScore"), exports);
|
|
|
23
23
|
__exportStar(require("./EndSessionResponse"), exports);
|
|
24
24
|
__exportStar(require("./EndSessionsResponse"), exports);
|
|
25
25
|
__exportStar(require("./Fact"), exports);
|
|
26
|
-
__exportStar(require("./
|
|
27
|
-
__exportStar(require("./ApidataFactRatingInstruction"), exports);
|
|
26
|
+
__exportStar(require("./FactRatingInstruction"), exports);
|
|
28
27
|
__exportStar(require("./FactResponse"), exports);
|
|
29
28
|
__exportStar(require("./FactsResponse"), exports);
|
|
30
29
|
__exportStar(require("./Episode"), exports);
|
|
31
30
|
__exportStar(require("./EpisodeResponse"), exports);
|
|
32
31
|
__exportStar(require("./Group"), exports);
|
|
32
|
+
__exportStar(require("./GroupListResponse"), exports);
|
|
33
33
|
__exportStar(require("./Memory"), exports);
|
|
34
34
|
__exportStar(require("./MemorySearchResult"), exports);
|
|
35
35
|
__exportStar(require("./Message"), exports);
|
|
@@ -47,6 +47,7 @@ __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);
|
|
50
51
|
__exportStar(require("./EntityEdge"), exports);
|
|
51
52
|
__exportStar(require("./EntityNode"), exports);
|
|
52
53
|
__exportStar(require("./GraphSearchResults"), exports);
|
|
@@ -55,7 +56,6 @@ __exportStar(require("./Reranker"), exports);
|
|
|
55
56
|
__exportStar(require("./ClassifySessionRequest"), exports);
|
|
56
57
|
__exportStar(require("./CreateDocumentRequest"), exports);
|
|
57
58
|
__exportStar(require("./FactRatingExamples"), exports);
|
|
58
|
-
__exportStar(require("./FactRatingInstruction"), exports);
|
|
59
59
|
__exportStar(require("./GraphDataType"), exports);
|
|
60
60
|
__exportStar(require("./SearchScope"), exports);
|
|
61
61
|
__exportStar(require("./SearchType"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.4.0";
|
package/version.js
CHANGED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Zep from "../index";
|
|
5
|
-
export interface ApidataFactRatingInstruction {
|
|
6
|
-
/**
|
|
7
|
-
* Examples is a list of examples that demonstrate how facts might be rated based on your instruction. You should provide
|
|
8
|
-
* an example of a highly rated example, a low rated example, and a medium (or in between example). For example, if you are rating
|
|
9
|
-
* based on relevance to a trip planning application, your examples might be:
|
|
10
|
-
* High: "Joe's dream vacation is Bali"
|
|
11
|
-
* Medium: "Joe has a fear of flying",
|
|
12
|
-
* Low: "Joe's favorite food is Japanese",
|
|
13
|
-
*/
|
|
14
|
-
examples?: Zep.ApidataFactRatingExamples;
|
|
15
|
-
/**
|
|
16
|
-
* A string describing how to rate facts as they apply to your application. A trip planning application may
|
|
17
|
-
* use something like "relevancy to planning a trip, the user's preferences when traveling,
|
|
18
|
-
* or the user's travel history."
|
|
19
|
-
*/
|
|
20
|
-
instruction?: string;
|
|
21
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
-
*/
|
|
4
|
-
import * as Zep from "../index";
|
|
5
|
-
export interface ApidataFactRatingInstruction {
|
|
6
|
-
/**
|
|
7
|
-
* Examples is a list of examples that demonstrate how facts might be rated based on your instruction. You should provide
|
|
8
|
-
* an example of a highly rated example, a low rated example, and a medium (or in between example). For example, if you are rating
|
|
9
|
-
* based on relevance to a trip planning application, your examples might be:
|
|
10
|
-
* High: "Joe's dream vacation is Bali"
|
|
11
|
-
* Medium: "Joe has a fear of flying",
|
|
12
|
-
* Low: "Joe's favorite food is Japanese",
|
|
13
|
-
*/
|
|
14
|
-
examples?: Zep.ApidataFactRatingExamples;
|
|
15
|
-
/**
|
|
16
|
-
* A string describing how to rate facts as they apply to your application. A trip planning application may
|
|
17
|
-
* use something like "relevancy to planning a trip, the user's preferences when traveling,
|
|
18
|
-
* or the user's travel history."
|
|
19
|
-
*/
|
|
20
|
-
instruction?: string;
|
|
21
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 ApidataFactRatingExamples: core.serialization.ObjectSchema<serializers.ApidataFactRatingExamples.Raw, Zep.ApidataFactRatingExamples>;
|
|
8
|
-
export declare namespace ApidataFactRatingExamples {
|
|
9
|
-
interface Raw {
|
|
10
|
-
high?: string | null;
|
|
11
|
-
low?: string | null;
|
|
12
|
-
medium?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { ApidataFactRatingExamples } from "./ApidataFactRatingExamples";
|
|
8
|
-
export declare const ApidataFactRatingInstruction: core.serialization.ObjectSchema<serializers.ApidataFactRatingInstruction.Raw, Zep.ApidataFactRatingInstruction>;
|
|
9
|
-
export declare namespace ApidataFactRatingInstruction {
|
|
10
|
-
interface Raw {
|
|
11
|
-
examples?: ApidataFactRatingExamples.Raw | null;
|
|
12
|
-
instruction?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 ApidataFactRatingExamples: core.serialization.ObjectSchema<serializers.ApidataFactRatingExamples.Raw, Zep.ApidataFactRatingExamples>;
|
|
8
|
-
export declare namespace ApidataFactRatingExamples {
|
|
9
|
-
interface Raw {
|
|
10
|
-
high?: string | null;
|
|
11
|
-
low?: string | null;
|
|
12
|
-
medium?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
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 { ApidataFactRatingExamples } from "./ApidataFactRatingExamples";
|
|
8
|
-
export declare const ApidataFactRatingInstruction: core.serialization.ObjectSchema<serializers.ApidataFactRatingInstruction.Raw, Zep.ApidataFactRatingInstruction>;
|
|
9
|
-
export declare namespace ApidataFactRatingInstruction {
|
|
10
|
-
interface Raw {
|
|
11
|
-
examples?: ApidataFactRatingExamples.Raw | null;
|
|
12
|
-
instruction?: string | null;
|
|
13
|
-
}
|
|
14
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|