@getzep/zep-cloud 3.4.0 → 3.4.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.
@@ -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.4.0",
51
- "User-Agent": "zep-cloud/3.4.0",
50
+ "X-Fern-SDK-Version": "3.4.1",
51
+ "User-Agent": "zep-cloud/3.4.1",
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) });
@@ -74,9 +74,9 @@ export declare class Thread {
74
74
  delete(threadId: string, requestOptions?: Thread.RequestOptions): core.HttpResponsePromise<Zep.SuccessResponse>;
75
75
  private __delete;
76
76
  /**
77
- * Returns most relevant context for a given thread.
77
+ * Returns most relevant context from the user graph (including memory from any/all past threads) based on the content of the past few messages of the given thread.
78
78
  *
79
- * @param {string} threadId - The ID of the thread for which to retrieve context.
79
+ * @param {string} threadId - The ID of the current thread (for which context is being retrieved).
80
80
  * @param {Zep.ThreadGetUserContextRequest} request
81
81
  * @param {Thread.RequestOptions} requestOptions - Request-specific configuration.
82
82
  *
@@ -324,9 +324,9 @@ class Thread {
324
324
  });
325
325
  }
326
326
  /**
327
- * Returns most relevant context for a given thread.
327
+ * Returns most relevant context from the user graph (including memory from any/all past threads) based on the content of the past few messages of the given thread.
328
328
  *
329
- * @param {string} threadId - The ID of the thread for which to retrieve context.
329
+ * @param {string} threadId - The ID of the current thread (for which context is being retrieved).
330
330
  * @param {Zep.ThreadGetUserContextRequest} request
331
331
  * @param {Thread.RequestOptions} requestOptions - Request-specific configuration.
332
332
  *
@@ -11,6 +11,6 @@ export interface AddThreadMessagesRequest {
11
11
  ignoreRoles?: Zep.RoleType[];
12
12
  /** A list of message objects, where each message contains a role and content. */
13
13
  messages: Zep.Message[];
14
- /** Optionally return memory context relevant to the most recent messages. */
14
+ /** Optionally return context block relevant to the most recent messages. */
15
15
  returnContext?: boolean;
16
16
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ThreadContextResponse {
5
- /** Memory context containing relevant facts and entities for the session. Can be put into the prompt directly. */
5
+ /** Context block containing relevant facts, entities, and messages/episodes from the user graph. Meant to be replaced in the system prompt on every chat turn. */
6
6
  context?: string;
7
7
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.4.0";
1
+ export declare const SDK_VERSION = "3.4.1";
@@ -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.4.0";
4
+ exports.SDK_VERSION = "3.4.1";
@@ -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.4.0",
15
- "User-Agent": "zep-cloud/3.4.0",
14
+ "X-Fern-SDK-Version": "3.4.1",
15
+ "User-Agent": "zep-cloud/3.4.1",
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) });
@@ -74,9 +74,9 @@ export declare class Thread {
74
74
  delete(threadId: string, requestOptions?: Thread.RequestOptions): core.HttpResponsePromise<Zep.SuccessResponse>;
75
75
  private __delete;
76
76
  /**
77
- * Returns most relevant context for a given thread.
77
+ * Returns most relevant context from the user graph (including memory from any/all past threads) based on the content of the past few messages of the given thread.
78
78
  *
79
- * @param {string} threadId - The ID of the thread for which to retrieve context.
79
+ * @param {string} threadId - The ID of the current thread (for which context is being retrieved).
80
80
  * @param {Zep.ThreadGetUserContextRequest} request
81
81
  * @param {Thread.RequestOptions} requestOptions - Request-specific configuration.
82
82
  *
@@ -288,9 +288,9 @@ export class Thread {
288
288
  });
289
289
  }
290
290
  /**
291
- * Returns most relevant context for a given thread.
291
+ * Returns most relevant context from the user graph (including memory from any/all past threads) based on the content of the past few messages of the given thread.
292
292
  *
293
- * @param {string} threadId - The ID of the thread for which to retrieve context.
293
+ * @param {string} threadId - The ID of the current thread (for which context is being retrieved).
294
294
  * @param {Zep.ThreadGetUserContextRequest} request
295
295
  * @param {Thread.RequestOptions} requestOptions - Request-specific configuration.
296
296
  *
@@ -11,6 +11,6 @@ export interface AddThreadMessagesRequest {
11
11
  ignoreRoles?: Zep.RoleType[];
12
12
  /** A list of message objects, where each message contains a role and content. */
13
13
  messages: Zep.Message[];
14
- /** Optionally return memory context relevant to the most recent messages. */
14
+ /** Optionally return context block relevant to the most recent messages. */
15
15
  returnContext?: boolean;
16
16
  }
@@ -2,6 +2,6 @@
2
2
  * This file was auto-generated by Fern from our API Definition.
3
3
  */
4
4
  export interface ThreadContextResponse {
5
- /** Memory context containing relevant facts and entities for the session. Can be put into the prompt directly. */
5
+ /** Context block containing relevant facts, entities, and messages/episodes from the user graph. Meant to be replaced in the system prompt on every chat turn. */
6
6
  context?: string;
7
7
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.4.0";
1
+ export declare const SDK_VERSION = "3.4.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "3.4.0";
1
+ export const SDK_VERSION = "3.4.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getzep/zep-cloud",
3
- "version": "3.4.0",
3
+ "version": "3.4.1",
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",
package/reference.md CHANGED
@@ -990,7 +990,7 @@ await client.thread.delete("threadId");
990
990
  <dl>
991
991
  <dd>
992
992
 
993
- Returns most relevant context for a given thread.
993
+ Returns most relevant context from the user graph (including memory from any/all past threads) based on the content of the past few messages of the given thread.
994
994
 
995
995
  </dd>
996
996
  </dl>
@@ -1022,7 +1022,7 @@ await client.thread.getUserContext("threadId");
1022
1022
  <dl>
1023
1023
  <dd>
1024
1024
 
1025
- **threadId:** `string` — The ID of the thread for which to retrieve context.
1025
+ **threadId:** `string` — The ID of the current thread (for which context is being retrieved).
1026
1026
 
1027
1027
  </dd>
1028
1028
  </dl>