@getzep/zep-cloud 2.1.0 → 2.2.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.
Files changed (67) hide show
  1. package/api/resources/document/client/Client.js +13 -13
  2. package/api/resources/graph/client/Client.d.ts +1 -1
  3. package/api/resources/graph/client/Client.js +3 -3
  4. package/api/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -2
  5. package/api/resources/graph/resources/edge/client/Client.js +4 -4
  6. package/api/resources/graph/resources/episode/client/Client.js +3 -3
  7. package/api/resources/graph/resources/node/client/Client.js +3 -3
  8. package/api/resources/group/client/Client.d.ts +4 -2
  9. package/api/resources/group/client/Client.js +6 -4
  10. package/api/resources/group/client/requests/CreateGroupRequest.d.ts +4 -2
  11. package/api/resources/memory/client/Client.d.ts +1 -1
  12. package/api/resources/memory/client/Client.js +23 -23
  13. package/api/resources/memory/client/requests/AddMemoryRequest.d.ts +2 -0
  14. package/api/resources/user/client/Client.js +7 -7
  15. package/api/types/AddMemoryResponse.d.ts +6 -0
  16. package/api/types/AddMemoryResponse.js +5 -0
  17. package/api/types/Reranker.d.ts +2 -1
  18. package/api/types/Reranker.js +1 -0
  19. package/api/types/User.d.ts +2 -0
  20. package/api/types/index.d.ts +1 -0
  21. package/api/types/index.js +1 -0
  22. package/dist/api/resources/document/client/Client.js +13 -13
  23. package/dist/api/resources/graph/client/Client.d.ts +1 -1
  24. package/dist/api/resources/graph/client/Client.js +3 -3
  25. package/dist/api/resources/graph/client/requests/GraphSearchQuery.d.ts +2 -2
  26. package/dist/api/resources/graph/resources/edge/client/Client.js +4 -4
  27. package/dist/api/resources/graph/resources/episode/client/Client.js +3 -3
  28. package/dist/api/resources/graph/resources/node/client/Client.js +3 -3
  29. package/dist/api/resources/group/client/Client.d.ts +4 -2
  30. package/dist/api/resources/group/client/Client.js +6 -4
  31. package/dist/api/resources/group/client/requests/CreateGroupRequest.d.ts +4 -2
  32. package/dist/api/resources/memory/client/Client.d.ts +1 -1
  33. package/dist/api/resources/memory/client/Client.js +23 -23
  34. package/dist/api/resources/memory/client/requests/AddMemoryRequest.d.ts +2 -0
  35. package/dist/api/resources/user/client/Client.js +7 -7
  36. package/dist/api/types/AddMemoryResponse.d.ts +6 -0
  37. package/dist/api/types/AddMemoryResponse.js +5 -0
  38. package/dist/api/types/Reranker.d.ts +2 -1
  39. package/dist/api/types/Reranker.js +1 -0
  40. package/dist/api/types/User.d.ts +2 -0
  41. package/dist/api/types/index.d.ts +1 -0
  42. package/dist/api/types/index.js +1 -0
  43. package/dist/serialization/resources/group/client/requests/CreateGroupRequest.d.ts +1 -1
  44. package/dist/serialization/resources/group/client/requests/CreateGroupRequest.js +1 -1
  45. package/dist/serialization/resources/memory/client/requests/AddMemoryRequest.d.ts +1 -0
  46. package/dist/serialization/resources/memory/client/requests/AddMemoryRequest.js +1 -0
  47. package/dist/serialization/types/AddMemoryResponse.d.ts +12 -0
  48. package/dist/serialization/types/AddMemoryResponse.js +33 -0
  49. package/dist/serialization/types/Reranker.d.ts +1 -1
  50. package/dist/serialization/types/Reranker.js +1 -0
  51. package/dist/serialization/types/User.d.ts +2 -0
  52. package/dist/serialization/types/User.js +2 -0
  53. package/dist/serialization/types/index.d.ts +1 -0
  54. package/dist/serialization/types/index.js +1 -0
  55. package/package.json +1 -1
  56. package/serialization/resources/group/client/requests/CreateGroupRequest.d.ts +1 -1
  57. package/serialization/resources/group/client/requests/CreateGroupRequest.js +1 -1
  58. package/serialization/resources/memory/client/requests/AddMemoryRequest.d.ts +1 -0
  59. package/serialization/resources/memory/client/requests/AddMemoryRequest.js +1 -0
  60. package/serialization/types/AddMemoryResponse.d.ts +12 -0
  61. package/serialization/types/AddMemoryResponse.js +33 -0
  62. package/serialization/types/Reranker.d.ts +1 -1
  63. package/serialization/types/Reranker.js +1 -0
  64. package/serialization/types/User.d.ts +2 -0
  65. package/serialization/types/User.js +2 -0
  66. package/serialization/types/index.d.ts +1 -0
  67. package/serialization/types/index.js +1 -0
@@ -0,0 +1,33 @@
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 (mod) {
22
+ if (mod && mod.__esModule) return mod;
23
+ var result = {};
24
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
25
+ __setModuleDefault(result, mod);
26
+ return result;
27
+ };
28
+ Object.defineProperty(exports, "__esModule", { value: true });
29
+ exports.AddMemoryResponse = void 0;
30
+ const core = __importStar(require("../../core"));
31
+ exports.AddMemoryResponse = core.serialization.object({
32
+ context: core.serialization.string().optional(),
33
+ });
@@ -6,5 +6,5 @@ import * as Zep from "../../api/index";
6
6
  import * as core from "../../core";
7
7
  export declare const Reranker: core.serialization.Schema<serializers.Reranker.Raw, Zep.Reranker>;
8
8
  export declare namespace Reranker {
9
- type Raw = "rrf" | "mmr" | "node_distance" | "episode_mentions";
9
+ type Raw = "rrf" | "mmr" | "node_distance" | "episode_mentions" | "cross_encoder";
10
10
  }
@@ -33,4 +33,5 @@ exports.Reranker = core.serialization.enum_([
33
33
  "mmr",
34
34
  "node_distance",
35
35
  "episode_mentions",
36
+ "cross_encoder",
36
37
  ]);
@@ -4,12 +4,14 @@
4
4
  import * as serializers from "../index";
5
5
  import * as Zep from "../../api/index";
6
6
  import * as core from "../../core";
7
+ import { FactRatingInstruction } from "./FactRatingInstruction";
7
8
  export declare const User: core.serialization.ObjectSchema<serializers.User.Raw, Zep.User>;
8
9
  export declare namespace User {
9
10
  interface Raw {
10
11
  created_at?: string | null;
11
12
  deleted_at?: string | null;
12
13
  email?: string | null;
14
+ fact_rating_instruction?: FactRatingInstruction.Raw | null;
13
15
  first_name?: string | null;
14
16
  id?: number | null;
15
17
  last_name?: string | null;
@@ -28,10 +28,12 @@ var __importStar = (this && this.__importStar) || function (mod) {
28
28
  Object.defineProperty(exports, "__esModule", { value: true });
29
29
  exports.User = void 0;
30
30
  const core = __importStar(require("../../core"));
31
+ const FactRatingInstruction_1 = require("./FactRatingInstruction");
31
32
  exports.User = core.serialization.object({
32
33
  createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
33
34
  deletedAt: core.serialization.property("deleted_at", core.serialization.string().optional()),
34
35
  email: core.serialization.string().optional(),
36
+ factRatingInstruction: core.serialization.property("fact_rating_instruction", FactRatingInstruction_1.FactRatingInstruction.optional()),
35
37
  firstName: core.serialization.property("first_name", core.serialization.string().optional()),
36
38
  id: core.serialization.number().optional(),
37
39
  lastName: core.serialization.property("last_name", core.serialization.string().optional()),
@@ -1,4 +1,5 @@
1
1
  export * from "./ApiError";
2
+ export * from "./AddMemoryResponse";
2
3
  export * from "./ApidataDocument";
3
4
  export * from "./ApidataDocumentCollection";
4
5
  export * from "./ApidataDocumentSearchResponse";
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./ApiError"), exports);
18
+ __exportStar(require("./AddMemoryResponse"), exports);
18
19
  __exportStar(require("./ApidataDocument"), exports);
19
20
  __exportStar(require("./ApidataDocumentCollection"), exports);
20
21
  __exportStar(require("./ApidataDocumentSearchResponse"), exports);