@getzep/zep-cloud 2.10.0 → 2.10.2
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.d.ts +7 -9
- package/api/resources/graph/client/Client.js +14 -16
- package/api/resources/graph/client/requests/AddDataRequest.d.ts +7 -3
- package/api/resources/graph/client/requests/EntityTypeRequest.d.ts +2 -7
- package/api/resources/graph/resources/edge/client/Client.js +4 -4
- package/api/resources/graph/resources/episode/client/Client.js +5 -5
- package/api/resources/graph/resources/node/client/Client.js +3 -3
- package/api/resources/group/client/Client.js +6 -6
- package/api/resources/memory/client/Client.js +22 -22
- package/api/resources/user/client/Client.js +8 -8
- package/api/types/EntityNode.d.ts +2 -0
- package/api/types/Episode.d.ts +0 -1
- package/dist/api/resources/document/client/Client.js +13 -13
- package/dist/api/resources/graph/client/Client.d.ts +7 -9
- package/dist/api/resources/graph/client/Client.js +14 -16
- package/dist/api/resources/graph/client/requests/AddDataRequest.d.ts +7 -3
- package/dist/api/resources/graph/client/requests/EntityTypeRequest.d.ts +2 -7
- package/dist/api/resources/graph/resources/edge/client/Client.js +4 -4
- package/dist/api/resources/graph/resources/episode/client/Client.js +5 -5
- package/dist/api/resources/graph/resources/node/client/Client.js +3 -3
- package/dist/api/resources/group/client/Client.js +6 -6
- package/dist/api/resources/memory/client/Client.js +22 -22
- package/dist/api/resources/user/client/Client.js +8 -8
- package/dist/api/types/EntityNode.d.ts +2 -0
- package/dist/api/types/Episode.d.ts +0 -1
- package/dist/serialization/resources/graph/client/requests/AddDataRequest.d.ts +3 -2
- package/dist/serialization/resources/graph/client/requests/AddDataRequest.js +3 -2
- package/dist/serialization/resources/graph/client/requests/EntityTypeRequest.d.ts +1 -1
- package/dist/serialization/resources/graph/client/requests/EntityTypeRequest.js +1 -1
- package/dist/serialization/types/EntityNode.d.ts +1 -0
- package/dist/serialization/types/EntityNode.js +1 -0
- package/dist/serialization/types/Episode.d.ts +0 -1
- package/dist/serialization/types/Episode.js +0 -1
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +5 -9
- package/serialization/resources/graph/client/requests/AddDataRequest.d.ts +3 -2
- package/serialization/resources/graph/client/requests/AddDataRequest.js +3 -2
- package/serialization/resources/graph/client/requests/EntityTypeRequest.d.ts +1 -1
- package/serialization/resources/graph/client/requests/EntityTypeRequest.js +1 -1
- package/serialization/types/EntityNode.d.ts +1 -0
- package/serialization/types/EntityNode.js +1 -0
- package/serialization/types/Episode.d.ts +0 -1
- package/serialization/types/Episode.js +0 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -8,6 +8,6 @@ import { EntityType } from "../../../../types/EntityType";
|
|
|
8
8
|
export declare const EntityTypeRequest: core.serialization.Schema<serializers.EntityTypeRequest.Raw, Zep.EntityTypeRequest>;
|
|
9
9
|
export declare namespace EntityTypeRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
entity_types
|
|
11
|
+
entity_types?: EntityType.Raw[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -40,5 +40,5 @@ exports.EntityTypeRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const EntityType_1 = require("../../../../types/EntityType");
|
|
42
42
|
exports.EntityTypeRequest = core.serialization.object({
|
|
43
|
-
entityTypes: core.serialization.property("entity_types", core.serialization.list(EntityType_1.EntityType)),
|
|
43
|
+
entityTypes: core.serialization.property("entity_types", core.serialization.list(EntityType_1.EntityType).optional()),
|
|
44
44
|
});
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.EntityNode = core.serialization.object({
|
|
42
42
|
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
43
43
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
44
|
+
episodes: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
45
46
|
name: core.serialization.string(),
|
|
46
47
|
summary: core.serialization.string(),
|
|
@@ -42,7 +42,6 @@ const GraphDataType_1 = require("./GraphDataType");
|
|
|
42
42
|
exports.Episode = core.serialization.object({
|
|
43
43
|
content: core.serialization.string(),
|
|
44
44
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
45
|
-
name: core.serialization.string().optional(),
|
|
46
45
|
processed: core.serialization.boolean().optional(),
|
|
47
46
|
source: GraphDataType_1.GraphDataType.optional(),
|
|
48
47
|
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.10.
|
|
1
|
+
export declare const SDK_VERSION = "2.10.2";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -994,14 +994,7 @@ Sets the entity types for a project, replacing any existing ones.
|
|
|
994
994
|
<dd>
|
|
995
995
|
|
|
996
996
|
```typescript
|
|
997
|
-
await client.graph.setEntityTypesInternal(
|
|
998
|
-
entityTypes: [
|
|
999
|
-
{
|
|
1000
|
-
description: "description",
|
|
1001
|
-
name: "name",
|
|
1002
|
-
},
|
|
1003
|
-
],
|
|
1004
|
-
});
|
|
997
|
+
await client.graph.setEntityTypesInternal();
|
|
1005
998
|
```
|
|
1006
999
|
|
|
1007
1000
|
</dd>
|
|
@@ -1064,7 +1057,10 @@ Add data to the graph. Note: each subscription tier has different limits on the
|
|
|
1064
1057
|
<dd>
|
|
1065
1058
|
|
|
1066
1059
|
```typescript
|
|
1067
|
-
await client.graph.add(
|
|
1060
|
+
await client.graph.add({
|
|
1061
|
+
data: "data",
|
|
1062
|
+
type: "text",
|
|
1063
|
+
});
|
|
1068
1064
|
```
|
|
1069
1065
|
|
|
1070
1066
|
</dd>
|
|
@@ -8,9 +8,10 @@ import { GraphDataType } from "../../../../types/GraphDataType";
|
|
|
8
8
|
export declare const AddDataRequest: core.serialization.Schema<serializers.AddDataRequest.Raw, Zep.AddDataRequest>;
|
|
9
9
|
export declare namespace AddDataRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
data
|
|
11
|
+
data: string;
|
|
12
12
|
group_id?: string | null;
|
|
13
|
-
|
|
13
|
+
source_description?: string | null;
|
|
14
|
+
type: GraphDataType.Raw;
|
|
14
15
|
user_id?: string | null;
|
|
15
16
|
}
|
|
16
17
|
}
|
|
@@ -40,8 +40,9 @@ exports.AddDataRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const GraphDataType_1 = require("../../../../types/GraphDataType");
|
|
42
42
|
exports.AddDataRequest = core.serialization.object({
|
|
43
|
-
data: core.serialization.string()
|
|
43
|
+
data: core.serialization.string(),
|
|
44
44
|
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
45
|
-
|
|
45
|
+
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
|
46
|
+
type: GraphDataType_1.GraphDataType,
|
|
46
47
|
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
47
48
|
});
|
|
@@ -8,6 +8,6 @@ import { EntityType } from "../../../../types/EntityType";
|
|
|
8
8
|
export declare const EntityTypeRequest: core.serialization.Schema<serializers.EntityTypeRequest.Raw, Zep.EntityTypeRequest>;
|
|
9
9
|
export declare namespace EntityTypeRequest {
|
|
10
10
|
interface Raw {
|
|
11
|
-
entity_types
|
|
11
|
+
entity_types?: EntityType.Raw[] | null;
|
|
12
12
|
}
|
|
13
13
|
}
|
|
@@ -40,5 +40,5 @@ exports.EntityTypeRequest = void 0;
|
|
|
40
40
|
const core = __importStar(require("../../../../../core"));
|
|
41
41
|
const EntityType_1 = require("../../../../types/EntityType");
|
|
42
42
|
exports.EntityTypeRequest = core.serialization.object({
|
|
43
|
-
entityTypes: core.serialization.property("entity_types", core.serialization.list(EntityType_1.EntityType)),
|
|
43
|
+
entityTypes: core.serialization.property("entity_types", core.serialization.list(EntityType_1.EntityType).optional()),
|
|
44
44
|
});
|
|
@@ -41,6 +41,7 @@ const core = __importStar(require("../../core"));
|
|
|
41
41
|
exports.EntityNode = core.serialization.object({
|
|
42
42
|
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
43
43
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
44
|
+
episodes: core.serialization.list(core.serialization.string()).optional(),
|
|
44
45
|
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
45
46
|
name: core.serialization.string(),
|
|
46
47
|
summary: core.serialization.string(),
|
|
@@ -42,7 +42,6 @@ const GraphDataType_1 = require("./GraphDataType");
|
|
|
42
42
|
exports.Episode = core.serialization.object({
|
|
43
43
|
content: core.serialization.string(),
|
|
44
44
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
45
|
-
name: core.serialization.string().optional(),
|
|
46
45
|
processed: core.serialization.boolean().optional(),
|
|
47
46
|
source: GraphDataType_1.GraphDataType.optional(),
|
|
48
47
|
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.10.
|
|
1
|
+
export declare const SDK_VERSION = "2.10.2";
|
package/version.js
CHANGED