@getzep/zep-cloud 2.10.0 → 2.10.1
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 +5 -2
- package/api/resources/graph/client/Client.js +11 -8
- package/api/resources/graph/client/requests/AddDataRequest.d.ts +7 -3
- 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/Episode.d.ts +0 -1
- package/dist/api/resources/document/client/Client.js +13 -13
- package/dist/api/resources/graph/client/Client.d.ts +5 -2
- package/dist/api/resources/graph/client/Client.js +11 -8
- package/dist/api/resources/graph/client/requests/AddDataRequest.d.ts +7 -3
- 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/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/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 +4 -1
- package/serialization/resources/graph/client/requests/AddDataRequest.d.ts +3 -2
- package/serialization/resources/graph/client/requests/AddDataRequest.js +3 -2
- 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
package/reference.md
CHANGED
|
@@ -1064,7 +1064,10 @@ Add data to the graph. Note: each subscription tier has different limits on the
|
|
|
1064
1064
|
<dd>
|
|
1065
1065
|
|
|
1066
1066
|
```typescript
|
|
1067
|
-
await client.graph.add(
|
|
1067
|
+
await client.graph.add({
|
|
1068
|
+
data: "data",
|
|
1069
|
+
type: "text",
|
|
1070
|
+
});
|
|
1068
1071
|
```
|
|
1069
1072
|
|
|
1070
1073
|
</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
|
});
|
|
@@ -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.1";
|
package/version.js
CHANGED