@getzep/zep-cloud 2.17.0 → 2.21.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 +7 -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 +5 -5
- package/api/resources/group/client/Client.js +6 -6
- package/api/resources/memory/client/Client.d.ts +1 -1
- package/api/resources/memory/client/Client.js +23 -23
- package/api/resources/memory/client/requests/AddMemoryRequest.d.ts +1 -1
- package/api/resources/user/client/Client.js +8 -8
- package/api/types/ComparisonOperator.d.ts +12 -0
- package/api/types/ComparisonOperator.js +14 -0
- package/api/types/DateFilter.d.ts +10 -0
- package/api/types/DateFilter.js +5 -0
- package/api/types/Episode.d.ts +0 -1
- package/api/types/SearchFilters.d.ts +33 -0
- package/api/types/index.d.ts +2 -0
- package/api/types/index.js +2 -0
- package/dist/api/resources/document/client/Client.js +13 -13
- package/dist/api/resources/graph/client/Client.js +7 -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 +5 -5
- package/dist/api/resources/group/client/Client.js +6 -6
- package/dist/api/resources/memory/client/Client.d.ts +1 -1
- package/dist/api/resources/memory/client/Client.js +23 -23
- package/dist/api/resources/memory/client/requests/AddMemoryRequest.d.ts +1 -1
- package/dist/api/resources/user/client/Client.js +8 -8
- package/dist/api/types/ComparisonOperator.d.ts +12 -0
- package/dist/api/types/ComparisonOperator.js +14 -0
- package/dist/api/types/DateFilter.d.ts +10 -0
- package/dist/api/types/DateFilter.js +5 -0
- package/dist/api/types/Episode.d.ts +0 -1
- package/dist/api/types/SearchFilters.d.ts +33 -0
- package/dist/api/types/index.d.ts +2 -0
- package/dist/api/types/index.js +2 -0
- package/dist/serialization/types/ComparisonOperator.d.ts +10 -0
- package/dist/serialization/types/ComparisonOperator.js +41 -0
- package/dist/serialization/types/DateFilter.d.ts +14 -0
- package/dist/serialization/types/DateFilter.js +45 -0
- package/dist/serialization/types/SearchFilters.d.ts +5 -0
- package/dist/serialization/types/SearchFilters.js +5 -0
- package/dist/serialization/types/index.d.ts +2 -0
- package/dist/serialization/types/index.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/examples/memory/memory_example.ts +1 -137
- package/package.json +1 -1
- package/reference.md +1 -1
- package/serialization/types/ComparisonOperator.d.ts +10 -0
- package/serialization/types/ComparisonOperator.js +41 -0
- package/serialization/types/DateFilter.d.ts +14 -0
- package/serialization/types/DateFilter.js +45 -0
- package/serialization/types/SearchFilters.d.ts +5 -0
- package/serialization/types/SearchFilters.js +5 -0
- package/serialization/types/index.d.ts +2 -0
- package/serialization/types/index.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/examples/documents/babbages_calculating_engine.txt +0 -3153
- package/examples/documents/index.ts +0 -188
- package/examples/memory/structured_data_extraction_example.ts +0 -34
|
@@ -0,0 +1,45 @@
|
|
|
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.DateFilter = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const ComparisonOperator_1 = require("./ComparisonOperator");
|
|
42
|
+
exports.DateFilter = core.serialization.object({
|
|
43
|
+
comparisonOperator: core.serialization.property("comparison_operator", ComparisonOperator_1.ComparisonOperator),
|
|
44
|
+
date: core.serialization.string(),
|
|
45
|
+
});
|
|
@@ -4,10 +4,15 @@
|
|
|
4
4
|
import * as serializers from "../index";
|
|
5
5
|
import * as Zep from "../../api/index";
|
|
6
6
|
import * as core from "../../core";
|
|
7
|
+
import { DateFilter } from "./DateFilter";
|
|
7
8
|
export declare const SearchFilters: core.serialization.ObjectSchema<serializers.SearchFilters.Raw, Zep.SearchFilters>;
|
|
8
9
|
export declare namespace SearchFilters {
|
|
9
10
|
interface Raw {
|
|
11
|
+
created_at?: DateFilter.Raw[][] | null;
|
|
10
12
|
edge_types?: string[] | null;
|
|
13
|
+
expired_at?: DateFilter.Raw[][] | null;
|
|
14
|
+
invalid_at?: DateFilter.Raw[][] | null;
|
|
11
15
|
node_labels?: string[] | null;
|
|
16
|
+
valid_at?: DateFilter.Raw[][] | null;
|
|
12
17
|
}
|
|
13
18
|
}
|
|
@@ -38,7 +38,12 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
39
|
exports.SearchFilters = void 0;
|
|
40
40
|
const core = __importStar(require("../../core"));
|
|
41
|
+
const DateFilter_1 = require("./DateFilter");
|
|
41
42
|
exports.SearchFilters = core.serialization.object({
|
|
43
|
+
createdAt: core.serialization.property("created_at", core.serialization.list(core.serialization.list(DateFilter_1.DateFilter)).optional()),
|
|
42
44
|
edgeTypes: core.serialization.property("edge_types", core.serialization.list(core.serialization.string()).optional()),
|
|
45
|
+
expiredAt: core.serialization.property("expired_at", core.serialization.list(core.serialization.list(DateFilter_1.DateFilter)).optional()),
|
|
46
|
+
invalidAt: core.serialization.property("invalid_at", core.serialization.list(core.serialization.list(DateFilter_1.DateFilter)).optional()),
|
|
43
47
|
nodeLabels: core.serialization.property("node_labels", core.serialization.list(core.serialization.string()).optional()),
|
|
48
|
+
validAt: core.serialization.property("valid_at", core.serialization.list(core.serialization.list(DateFilter_1.DateFilter)).optional()),
|
|
44
49
|
});
|
|
@@ -44,6 +44,8 @@ export * from "./User";
|
|
|
44
44
|
export * from "./UserListResponse";
|
|
45
45
|
export * from "./UserNodeResponse";
|
|
46
46
|
export * from "./AddTripleResponse";
|
|
47
|
+
export * from "./ComparisonOperator";
|
|
48
|
+
export * from "./DateFilter";
|
|
47
49
|
export * from "./EntityEdge";
|
|
48
50
|
export * from "./EntityNode";
|
|
49
51
|
export * from "./GraphSearchScope";
|
|
@@ -60,6 +60,8 @@ __exportStar(require("./User"), exports);
|
|
|
60
60
|
__exportStar(require("./UserListResponse"), exports);
|
|
61
61
|
__exportStar(require("./UserNodeResponse"), exports);
|
|
62
62
|
__exportStar(require("./AddTripleResponse"), exports);
|
|
63
|
+
__exportStar(require("./ComparisonOperator"), exports);
|
|
64
|
+
__exportStar(require("./DateFilter"), exports);
|
|
63
65
|
__exportStar(require("./EntityEdge"), exports);
|
|
64
66
|
__exportStar(require("./EntityNode"), exports);
|
|
65
67
|
__exportStar(require("./GraphSearchScope"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.21.0";
|
package/version.js
CHANGED