@getzep/zep-cloud 3.5.0 → 3.6.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.
@@ -47,8 +47,8 @@ class ZepClient {
47
47
  this._options = Object.assign(Object.assign({}, _options), { headers: (0, headers_js_1.mergeHeaders)({
48
48
  "X-Fern-Language": "JavaScript",
49
49
  "X-Fern-SDK-Name": "zep-cloud",
50
- "X-Fern-SDK-Version": "3.5.0",
51
- "User-Agent": "zep-cloud/3.5.0",
50
+ "X-Fern-SDK-Version": "3.6.0",
51
+ "User-Agent": "zep-cloud/3.6.0",
52
52
  "X-Fern-Runtime": core.RUNTIME.type,
53
53
  "X-Fern-Runtime-Version": core.RUNTIME.version,
54
54
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -16,6 +16,12 @@ export interface EntityEdge {
16
16
  invalidAt?: string;
17
17
  /** Name of the edge, relation name */
18
18
  name: string;
19
+ /**
20
+ * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
21
+ * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
22
+ */
23
+ relevance?: number;
24
+ /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
19
25
  score?: number;
20
26
  /** UUID of the source node */
21
27
  sourceNodeUuid: string;
@@ -10,6 +10,12 @@ export interface EntityNode {
10
10
  labels?: string[];
11
11
  /** Name of the node */
12
12
  name: string;
13
+ /**
14
+ * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
15
+ * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
16
+ */
17
+ relevance?: number;
18
+ /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
13
19
  score?: number;
14
20
  /** Regional summary of surrounding edges */
15
21
  summary: string;
@@ -6,10 +6,16 @@ export interface Episode {
6
6
  content: string;
7
7
  createdAt: string;
8
8
  processed?: boolean;
9
+ /**
10
+ * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
11
+ * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
12
+ */
13
+ relevance?: number;
9
14
  /** Optional role, will only be present if the episode was created using memory.add API */
10
15
  role?: string;
11
16
  /** Optional role_type, will only be present if the episode was created using memory.add API */
12
17
  roleType?: Zep.RoleType;
18
+ /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
13
19
  score?: number;
14
20
  sessionId?: string;
15
21
  source?: Zep.GraphDataType;
@@ -14,6 +14,7 @@ export declare namespace EntityEdge {
14
14
  fact: string;
15
15
  invalid_at?: string | null;
16
16
  name: string;
17
+ relevance?: number | null;
17
18
  score?: number | null;
18
19
  source_node_uuid: string;
19
20
  target_node_uuid: string;
@@ -46,6 +46,7 @@ exports.EntityEdge = core.serialization.object({
46
46
  fact: core.serialization.string(),
47
47
  invalidAt: core.serialization.property("invalid_at", core.serialization.string().optional()),
48
48
  name: core.serialization.string(),
49
+ relevance: core.serialization.number().optional(),
49
50
  score: core.serialization.number().optional(),
50
51
  sourceNodeUuid: core.serialization.property("source_node_uuid", core.serialization.string()),
51
52
  targetNodeUuid: core.serialization.property("target_node_uuid", core.serialization.string()),
@@ -11,6 +11,7 @@ export declare namespace EntityNode {
11
11
  created_at: string;
12
12
  labels?: string[] | null;
13
13
  name: string;
14
+ relevance?: number | null;
14
15
  score?: number | null;
15
16
  summary: string;
16
17
  uuid: string;
@@ -43,6 +43,7 @@ exports.EntityNode = core.serialization.object({
43
43
  createdAt: core.serialization.property("created_at", core.serialization.string()),
44
44
  labels: core.serialization.list(core.serialization.string()).optional(),
45
45
  name: core.serialization.string(),
46
+ relevance: core.serialization.number().optional(),
46
47
  score: core.serialization.number().optional(),
47
48
  summary: core.serialization.string(),
48
49
  uuid: core.serialization.string(),
@@ -12,6 +12,7 @@ export declare namespace Episode {
12
12
  content: string;
13
13
  created_at: string;
14
14
  processed?: boolean | null;
15
+ relevance?: number | null;
15
16
  role?: string | null;
16
17
  role_type?: RoleType.Raw | null;
17
18
  score?: number | null;
@@ -44,6 +44,7 @@ exports.Episode = core.serialization.object({
44
44
  content: core.serialization.string(),
45
45
  createdAt: core.serialization.property("created_at", core.serialization.string()),
46
46
  processed: core.serialization.boolean().optional(),
47
+ relevance: core.serialization.number().optional(),
47
48
  role: core.serialization.string().optional(),
48
49
  roleType: core.serialization.property("role_type", RoleType_js_1.RoleType.optional()),
49
50
  score: core.serialization.number().optional(),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.5.0";
1
+ export declare const SDK_VERSION = "3.6.0";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.5.0";
4
+ exports.SDK_VERSION = "3.6.0";
@@ -11,8 +11,8 @@ export class ZepClient {
11
11
  this._options = Object.assign(Object.assign({}, _options), { headers: mergeHeaders({
12
12
  "X-Fern-Language": "JavaScript",
13
13
  "X-Fern-SDK-Name": "zep-cloud",
14
- "X-Fern-SDK-Version": "3.5.0",
15
- "User-Agent": "zep-cloud/3.5.0",
14
+ "X-Fern-SDK-Version": "3.6.0",
15
+ "User-Agent": "zep-cloud/3.6.0",
16
16
  "X-Fern-Runtime": core.RUNTIME.type,
17
17
  "X-Fern-Runtime-Version": core.RUNTIME.version,
18
18
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -16,6 +16,12 @@ export interface EntityEdge {
16
16
  invalidAt?: string;
17
17
  /** Name of the edge, relation name */
18
18
  name: string;
19
+ /**
20
+ * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
21
+ * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
22
+ */
23
+ relevance?: number;
24
+ /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
19
25
  score?: number;
20
26
  /** UUID of the source node */
21
27
  sourceNodeUuid: string;
@@ -10,6 +10,12 @@ export interface EntityNode {
10
10
  labels?: string[];
11
11
  /** Name of the node */
12
12
  name: string;
13
+ /**
14
+ * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
15
+ * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
16
+ */
17
+ relevance?: number;
18
+ /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
13
19
  score?: number;
14
20
  /** Regional summary of surrounding edges */
15
21
  summary: string;
@@ -6,10 +6,16 @@ export interface Episode {
6
6
  content: string;
7
7
  createdAt: string;
8
8
  processed?: boolean;
9
+ /**
10
+ * Relevance is an experimental rank-aligned score in [0,1] derived from Score via logit transformation.
11
+ * Only populated when using cross_encoder reranker; omitted for other reranker types (e.g., RRF).
12
+ */
13
+ relevance?: number;
9
14
  /** Optional role, will only be present if the episode was created using memory.add API */
10
15
  role?: string;
11
16
  /** Optional role_type, will only be present if the episode was created using memory.add API */
12
17
  roleType?: Zep.RoleType;
18
+ /** Score is the reranker output: sigmoid-distributed logits [0,1] when using cross_encoder reranker, or RRF ordinal rank when using rrf reranker */
13
19
  score?: number;
14
20
  sessionId?: string;
15
21
  source?: Zep.GraphDataType;
@@ -14,6 +14,7 @@ export declare namespace EntityEdge {
14
14
  fact: string;
15
15
  invalid_at?: string | null;
16
16
  name: string;
17
+ relevance?: number | null;
17
18
  score?: number | null;
18
19
  source_node_uuid: string;
19
20
  target_node_uuid: string;
@@ -10,6 +10,7 @@ export const EntityEdge = core.serialization.object({
10
10
  fact: core.serialization.string(),
11
11
  invalidAt: core.serialization.property("invalid_at", core.serialization.string().optional()),
12
12
  name: core.serialization.string(),
13
+ relevance: core.serialization.number().optional(),
13
14
  score: core.serialization.number().optional(),
14
15
  sourceNodeUuid: core.serialization.property("source_node_uuid", core.serialization.string()),
15
16
  targetNodeUuid: core.serialization.property("target_node_uuid", core.serialization.string()),
@@ -11,6 +11,7 @@ export declare namespace EntityNode {
11
11
  created_at: string;
12
12
  labels?: string[] | null;
13
13
  name: string;
14
+ relevance?: number | null;
14
15
  score?: number | null;
15
16
  summary: string;
16
17
  uuid: string;
@@ -7,6 +7,7 @@ export const EntityNode = core.serialization.object({
7
7
  createdAt: core.serialization.property("created_at", core.serialization.string()),
8
8
  labels: core.serialization.list(core.serialization.string()).optional(),
9
9
  name: core.serialization.string(),
10
+ relevance: core.serialization.number().optional(),
10
11
  score: core.serialization.number().optional(),
11
12
  summary: core.serialization.string(),
12
13
  uuid: core.serialization.string(),
@@ -12,6 +12,7 @@ export declare namespace Episode {
12
12
  content: string;
13
13
  created_at: string;
14
14
  processed?: boolean | null;
15
+ relevance?: number | null;
15
16
  role?: string | null;
16
17
  role_type?: RoleType.Raw | null;
17
18
  score?: number | null;
@@ -8,6 +8,7 @@ export const Episode = core.serialization.object({
8
8
  content: core.serialization.string(),
9
9
  createdAt: core.serialization.property("created_at", core.serialization.string()),
10
10
  processed: core.serialization.boolean().optional(),
11
+ relevance: core.serialization.number().optional(),
11
12
  role: core.serialization.string().optional(),
12
13
  roleType: core.serialization.property("role_type", RoleType.optional()),
13
14
  score: core.serialization.number().optional(),
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.5.0";
1
+ export declare const SDK_VERSION = "3.6.0";
@@ -1 +1 @@
1
- export const SDK_VERSION = "3.5.0";
1
+ export const SDK_VERSION = "3.6.0";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getzep/zep-cloud",
3
- "version": "3.5.0",
3
+ "version": "3.6.0",
4
4
  "private": false,
5
5
  "repository": "https://github.com/getzep/zep-js",
6
6
  "description": "Zep: Fast, scalable building blocks for production LLM apps",