@getzep/zep-cloud 2.10.2 → 2.11.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.d.ts +18 -0
- package/api/resources/graph/client/Client.js +85 -5
- package/api/resources/graph/client/requests/AddDataBatchRequest.d.ts +18 -0
- package/api/resources/graph/client/requests/AddDataBatchRequest.js +5 -0
- package/api/resources/graph/client/requests/index.d.ts +1 -0
- 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 +0 -2
- package/api/types/EpisodeData.d.ts +9 -0
- package/api/types/EpisodeData.js +5 -0
- package/api/types/index.d.ts +1 -0
- package/api/types/index.js +1 -0
- package/dist/api/resources/document/client/Client.js +13 -13
- package/dist/api/resources/graph/client/Client.d.ts +18 -0
- package/dist/api/resources/graph/client/Client.js +85 -5
- package/dist/api/resources/graph/client/requests/AddDataBatchRequest.d.ts +18 -0
- package/dist/api/resources/graph/client/requests/AddDataBatchRequest.js +5 -0
- package/dist/api/resources/graph/client/requests/index.d.ts +1 -0
- 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 +0 -2
- package/dist/api/types/EpisodeData.d.ts +9 -0
- package/dist/api/types/EpisodeData.js +5 -0
- package/dist/api/types/index.d.ts +1 -0
- package/dist/api/types/index.js +1 -0
- package/dist/serialization/resources/graph/client/addBatch.d.ts +11 -0
- package/dist/serialization/resources/graph/client/addBatch.js +42 -0
- package/dist/serialization/resources/graph/client/index.d.ts +1 -0
- package/dist/serialization/resources/graph/client/index.js +24 -0
- package/dist/serialization/resources/graph/client/requests/AddDataBatchRequest.d.ts +15 -0
- package/dist/serialization/resources/graph/client/requests/AddDataBatchRequest.js +46 -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/graph/index.d.ts +1 -1
- package/dist/serialization/resources/graph/index.js +1 -1
- package/dist/serialization/resources/index.d.ts +1 -1
- package/dist/serialization/resources/index.js +2 -2
- package/dist/serialization/types/EntityNode.d.ts +0 -1
- package/dist/serialization/types/EntityNode.js +0 -1
- package/dist/serialization/types/EpisodeData.d.ts +15 -0
- package/dist/serialization/types/EpisodeData.js +46 -0
- package/dist/serialization/types/index.d.ts +1 -0
- package/dist/serialization/types/index.js +1 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/reference.md +70 -0
- package/serialization/resources/graph/client/addBatch.d.ts +11 -0
- package/serialization/resources/graph/client/addBatch.js +42 -0
- package/serialization/resources/graph/client/index.d.ts +1 -0
- package/serialization/resources/graph/client/index.js +24 -0
- package/serialization/resources/graph/client/requests/AddDataBatchRequest.d.ts +15 -0
- package/serialization/resources/graph/client/requests/AddDataBatchRequest.js +46 -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/graph/index.d.ts +1 -1
- package/serialization/resources/graph/index.js +1 -1
- package/serialization/resources/index.d.ts +1 -1
- package/serialization/resources/index.js +2 -2
- package/serialization/types/EntityNode.d.ts +0 -1
- package/serialization/types/EntityNode.js +0 -1
- package/serialization/types/EpisodeData.d.ts +15 -0
- package/serialization/types/EpisodeData.js +46 -0
- package/serialization/types/index.d.ts +1 -0
- package/serialization/types/index.js +1 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -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 { GraphDataType } from "./GraphDataType";
|
|
8
|
+
export declare const EpisodeData: core.serialization.ObjectSchema<serializers.EpisodeData.Raw, Zep.EpisodeData>;
|
|
9
|
+
export declare namespace EpisodeData {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: string;
|
|
12
|
+
source_description?: string | null;
|
|
13
|
+
type: GraphDataType.Raw;
|
|
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.EpisodeData = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const GraphDataType_1 = require("./GraphDataType");
|
|
42
|
+
exports.EpisodeData = core.serialization.object({
|
|
43
|
+
data: core.serialization.string(),
|
|
44
|
+
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
|
45
|
+
type: GraphDataType_1.GraphDataType,
|
|
46
|
+
});
|
|
@@ -9,6 +9,7 @@ export * from "./EndSessionsResponse";
|
|
|
9
9
|
export * from "./EntityProperty";
|
|
10
10
|
export * from "./EntityType";
|
|
11
11
|
export * from "./EntityTypeResponse";
|
|
12
|
+
export * from "./EpisodeData";
|
|
12
13
|
export * from "./Fact";
|
|
13
14
|
export * from "./FactRatingInstruction";
|
|
14
15
|
export * from "./FactResponse";
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./EndSessionsResponse"), exports);
|
|
|
25
25
|
__exportStar(require("./EntityProperty"), exports);
|
|
26
26
|
__exportStar(require("./EntityType"), exports);
|
|
27
27
|
__exportStar(require("./EntityTypeResponse"), exports);
|
|
28
|
+
__exportStar(require("./EpisodeData"), exports);
|
|
28
29
|
__exportStar(require("./Fact"), exports);
|
|
29
30
|
__exportStar(require("./FactRatingInstruction"), exports);
|
|
30
31
|
__exportStar(require("./FactResponse"), exports);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.11.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1095,6 +1095,76 @@ await client.graph.add({
|
|
|
1095
1095
|
</dl>
|
|
1096
1096
|
</details>
|
|
1097
1097
|
|
|
1098
|
+
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">addBatch</a>({ ...params }) -> Zep.Episode[]</code></summary>
|
|
1099
|
+
<dl>
|
|
1100
|
+
<dd>
|
|
1101
|
+
|
|
1102
|
+
#### 📝 Description
|
|
1103
|
+
|
|
1104
|
+
<dl>
|
|
1105
|
+
<dd>
|
|
1106
|
+
|
|
1107
|
+
<dl>
|
|
1108
|
+
<dd>
|
|
1109
|
+
|
|
1110
|
+
Add data to the graph in batch mode (each episode processed concurrently). Note: each subscription tier has different limits on the amount of data that can be added to the graph please refer to the pricing page for more information.
|
|
1111
|
+
|
|
1112
|
+
</dd>
|
|
1113
|
+
</dl>
|
|
1114
|
+
</dd>
|
|
1115
|
+
</dl>
|
|
1116
|
+
|
|
1117
|
+
#### 🔌 Usage
|
|
1118
|
+
|
|
1119
|
+
<dl>
|
|
1120
|
+
<dd>
|
|
1121
|
+
|
|
1122
|
+
<dl>
|
|
1123
|
+
<dd>
|
|
1124
|
+
|
|
1125
|
+
```typescript
|
|
1126
|
+
await client.graph.addBatch({
|
|
1127
|
+
episodes: [
|
|
1128
|
+
{
|
|
1129
|
+
data: "data",
|
|
1130
|
+
type: "text",
|
|
1131
|
+
},
|
|
1132
|
+
],
|
|
1133
|
+
});
|
|
1134
|
+
```
|
|
1135
|
+
|
|
1136
|
+
</dd>
|
|
1137
|
+
</dl>
|
|
1138
|
+
</dd>
|
|
1139
|
+
</dl>
|
|
1140
|
+
|
|
1141
|
+
#### ⚙️ Parameters
|
|
1142
|
+
|
|
1143
|
+
<dl>
|
|
1144
|
+
<dd>
|
|
1145
|
+
|
|
1146
|
+
<dl>
|
|
1147
|
+
<dd>
|
|
1148
|
+
|
|
1149
|
+
**request:** `Zep.AddDataBatchRequest`
|
|
1150
|
+
|
|
1151
|
+
</dd>
|
|
1152
|
+
</dl>
|
|
1153
|
+
|
|
1154
|
+
<dl>
|
|
1155
|
+
<dd>
|
|
1156
|
+
|
|
1157
|
+
**requestOptions:** `Graph.RequestOptions`
|
|
1158
|
+
|
|
1159
|
+
</dd>
|
|
1160
|
+
</dl>
|
|
1161
|
+
</dd>
|
|
1162
|
+
</dl>
|
|
1163
|
+
|
|
1164
|
+
</dd>
|
|
1165
|
+
</dl>
|
|
1166
|
+
</details>
|
|
1167
|
+
|
|
1098
1168
|
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">addFactTriple</a>({ ...params }) -> Zep.AddTripleResponse</code></summary>
|
|
1099
1169
|
<dl>
|
|
1100
1170
|
<dd>
|
|
@@ -0,0 +1,11 @@
|
|
|
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 { Episode } from "../../../types/Episode";
|
|
8
|
+
export declare const Response: core.serialization.Schema<serializers.graph.addBatch.Response.Raw, Zep.Episode[]>;
|
|
9
|
+
export declare namespace Response {
|
|
10
|
+
type Raw = Episode.Raw[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,42 @@
|
|
|
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.Response = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../core"));
|
|
41
|
+
const Episode_1 = require("../../../types/Episode");
|
|
42
|
+
exports.Response = core.serialization.list(Episode_1.Episode);
|
|
@@ -10,8 +10,32 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
|
10
10
|
if (k2 === undefined) k2 = k;
|
|
11
11
|
o[k2] = m[k];
|
|
12
12
|
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
13
35
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
37
|
};
|
|
16
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
+
exports.addBatch = void 0;
|
|
40
|
+
exports.addBatch = __importStar(require("./addBatch"));
|
|
17
41
|
__exportStar(require("./requests"), exports);
|
|
@@ -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 { EpisodeData } from "../../../../types/EpisodeData";
|
|
8
|
+
export declare const AddDataBatchRequest: core.serialization.Schema<serializers.AddDataBatchRequest.Raw, Zep.AddDataBatchRequest>;
|
|
9
|
+
export declare namespace AddDataBatchRequest {
|
|
10
|
+
interface Raw {
|
|
11
|
+
episodes: EpisodeData.Raw[];
|
|
12
|
+
group_id?: string | null;
|
|
13
|
+
user_id?: 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.AddDataBatchRequest = void 0;
|
|
40
|
+
const core = __importStar(require("../../../../../core"));
|
|
41
|
+
const EpisodeData_1 = require("../../../../types/EpisodeData");
|
|
42
|
+
exports.AddDataBatchRequest = core.serialization.object({
|
|
43
|
+
episodes: core.serialization.list(EpisodeData_1.EpisodeData),
|
|
44
|
+
groupId: core.serialization.property("group_id", core.serialization.string().optional()),
|
|
45
|
+
userId: core.serialization.property("user_id", core.serialization.string().optional()),
|
|
46
|
+
});
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { EntityTypeRequest } from "./EntityTypeRequest";
|
|
2
2
|
export { AddDataRequest } from "./AddDataRequest";
|
|
3
|
+
export { AddDataBatchRequest } from "./AddDataBatchRequest";
|
|
3
4
|
export { AddTripleRequest } from "./AddTripleRequest";
|
|
4
5
|
export { GraphSearchQuery } from "./GraphSearchQuery";
|
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GraphSearchQuery = exports.AddTripleRequest = exports.AddDataRequest = exports.EntityTypeRequest = void 0;
|
|
3
|
+
exports.GraphSearchQuery = exports.AddTripleRequest = exports.AddDataBatchRequest = exports.AddDataRequest = exports.EntityTypeRequest = void 0;
|
|
4
4
|
var EntityTypeRequest_1 = require("./EntityTypeRequest");
|
|
5
5
|
Object.defineProperty(exports, "EntityTypeRequest", { enumerable: true, get: function () { return EntityTypeRequest_1.EntityTypeRequest; } });
|
|
6
6
|
var AddDataRequest_1 = require("./AddDataRequest");
|
|
7
7
|
Object.defineProperty(exports, "AddDataRequest", { enumerable: true, get: function () { return AddDataRequest_1.AddDataRequest; } });
|
|
8
|
+
var AddDataBatchRequest_1 = require("./AddDataBatchRequest");
|
|
9
|
+
Object.defineProperty(exports, "AddDataBatchRequest", { enumerable: true, get: function () { return AddDataBatchRequest_1.AddDataBatchRequest; } });
|
|
8
10
|
var AddTripleRequest_1 = require("./AddTripleRequest");
|
|
9
11
|
Object.defineProperty(exports, "AddTripleRequest", { enumerable: true, get: function () { return AddTripleRequest_1.AddTripleRequest; } });
|
|
10
12
|
var GraphSearchQuery_1 = require("./GraphSearchQuery");
|
|
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
__exportStar(require("./resources"), exports);
|
|
18
17
|
__exportStar(require("./client"), exports);
|
|
18
|
+
__exportStar(require("./resources"), exports);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * as document from "./document";
|
|
2
|
+
export * as graph from "./graph";
|
|
2
3
|
export * as memory from "./memory";
|
|
3
4
|
export * as user from "./user";
|
|
4
|
-
export * as graph from "./graph";
|
|
5
5
|
export * from "./document/client/requests";
|
|
6
6
|
export * from "./graph/client/requests";
|
|
7
7
|
export * from "./memory/client/requests";
|
|
@@ -36,11 +36,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
36
36
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
37
37
|
};
|
|
38
38
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
39
|
-
exports.group = exports.
|
|
39
|
+
exports.group = exports.user = exports.memory = exports.graph = exports.document = void 0;
|
|
40
40
|
exports.document = __importStar(require("./document"));
|
|
41
|
+
exports.graph = __importStar(require("./graph"));
|
|
41
42
|
exports.memory = __importStar(require("./memory"));
|
|
42
43
|
exports.user = __importStar(require("./user"));
|
|
43
|
-
exports.graph = __importStar(require("./graph"));
|
|
44
44
|
__exportStar(require("./document/client/requests"), exports);
|
|
45
45
|
__exportStar(require("./graph/client/requests"), exports);
|
|
46
46
|
__exportStar(require("./memory/client/requests"), exports);
|
|
@@ -41,7 +41,6 @@ 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(),
|
|
45
44
|
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
46
45
|
name: core.serialization.string(),
|
|
47
46
|
summary: core.serialization.string(),
|
|
@@ -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 { GraphDataType } from "./GraphDataType";
|
|
8
|
+
export declare const EpisodeData: core.serialization.ObjectSchema<serializers.EpisodeData.Raw, Zep.EpisodeData>;
|
|
9
|
+
export declare namespace EpisodeData {
|
|
10
|
+
interface Raw {
|
|
11
|
+
data: string;
|
|
12
|
+
source_description?: string | null;
|
|
13
|
+
type: GraphDataType.Raw;
|
|
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.EpisodeData = void 0;
|
|
40
|
+
const core = __importStar(require("../../core"));
|
|
41
|
+
const GraphDataType_1 = require("./GraphDataType");
|
|
42
|
+
exports.EpisodeData = core.serialization.object({
|
|
43
|
+
data: core.serialization.string(),
|
|
44
|
+
sourceDescription: core.serialization.property("source_description", core.serialization.string().optional()),
|
|
45
|
+
type: GraphDataType_1.GraphDataType,
|
|
46
|
+
});
|
|
@@ -9,6 +9,7 @@ export * from "./EndSessionsResponse";
|
|
|
9
9
|
export * from "./EntityProperty";
|
|
10
10
|
export * from "./EntityType";
|
|
11
11
|
export * from "./EntityTypeResponse";
|
|
12
|
+
export * from "./EpisodeData";
|
|
12
13
|
export * from "./Fact";
|
|
13
14
|
export * from "./FactRatingInstruction";
|
|
14
15
|
export * from "./FactResponse";
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./EndSessionsResponse"), exports);
|
|
|
25
25
|
__exportStar(require("./EntityProperty"), exports);
|
|
26
26
|
__exportStar(require("./EntityType"), exports);
|
|
27
27
|
__exportStar(require("./EntityTypeResponse"), exports);
|
|
28
|
+
__exportStar(require("./EpisodeData"), exports);
|
|
28
29
|
__exportStar(require("./Fact"), exports);
|
|
29
30
|
__exportStar(require("./FactRatingInstruction"), exports);
|
|
30
31
|
__exportStar(require("./FactResponse"), exports);
|
package/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "2.
|
|
1
|
+
export declare const SDK_VERSION = "2.11.0";
|
package/version.js
CHANGED