@getzep/zep-cloud 3.22.0 → 3.23.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/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/batch/client/requests/ApidataCreateBatchRequest.d.ts +8 -0
- package/dist/cjs/api/resources/graph/client/Client.d.ts +17 -1
- package/dist/cjs/api/resources/graph/client/Client.js +84 -1
- package/dist/cjs/api/resources/graph/client/requests/AddTripleRequest.d.ts +14 -2
- package/dist/cjs/api/resources/graph/client/requests/GraphSearchQuery.d.ts +3 -4
- package/dist/cjs/api/resources/thread/client/Client.d.ts +4 -2
- package/dist/cjs/api/resources/thread/client/Client.js +4 -2
- package/dist/cjs/api/resources/thread/client/requests/ThreadGetRequest.d.ts +1 -1
- package/dist/cjs/api/types/BatchItemDetail.d.ts +6 -0
- package/dist/cjs/api/types/BatchItemStatus.d.ts +2 -1
- package/dist/cjs/api/types/BatchItemStatus.js +1 -0
- package/dist/cjs/api/types/BatchProgress.d.ts +1 -0
- package/dist/cjs/api/types/BatchStatus.d.ts +2 -1
- package/dist/cjs/api/types/BatchStatus.js +1 -0
- package/dist/cjs/api/types/BatchSummary.d.ts +1 -0
- package/dist/cjs/api/types/DerivedNode.d.ts +16 -0
- package/dist/cjs/api/types/GraphSearchResponseMetadata.d.ts +7 -0
- package/dist/cjs/api/types/GraphSearchResponseMetadata.js +5 -0
- package/dist/cjs/api/types/GraphSearchResults.d.ts +1 -0
- package/dist/cjs/api/types/GraphitiSagaNode.d.ts +10 -1
- package/dist/cjs/api/types/ThreadSummary.d.ts +12 -1
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.d.ts +2 -0
- package/dist/cjs/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.js +2 -0
- package/dist/cjs/serialization/types/BatchItemStatus.d.ts +1 -1
- package/dist/cjs/serialization/types/BatchItemStatus.js +1 -1
- package/dist/cjs/serialization/types/BatchProgress.d.ts +1 -0
- package/dist/cjs/serialization/types/BatchProgress.js +1 -0
- package/dist/cjs/serialization/types/BatchStatus.d.ts +1 -1
- package/dist/cjs/serialization/types/BatchStatus.js +10 -1
- package/dist/cjs/serialization/types/BatchSummary.d.ts +2 -0
- package/dist/cjs/serialization/types/BatchSummary.js +2 -0
- package/dist/cjs/serialization/types/DerivedNode.d.ts +3 -0
- package/dist/cjs/serialization/types/DerivedNode.js +3 -0
- package/dist/cjs/serialization/types/GraphSearchResponseMetadata.d.ts +12 -0
- package/dist/cjs/serialization/types/GraphSearchResponseMetadata.js +43 -0
- package/dist/cjs/serialization/types/GraphSearchResults.d.ts +2 -0
- package/dist/cjs/serialization/types/GraphSearchResults.js +2 -0
- package/dist/cjs/serialization/types/GraphitiSagaNode.d.ts +1 -0
- package/dist/cjs/serialization/types/GraphitiSagaNode.js +1 -0
- package/dist/cjs/serialization/types/ThreadSummary.d.ts +1 -0
- package/dist/cjs/serialization/types/ThreadSummary.js +1 -0
- package/dist/cjs/serialization/types/index.d.ts +1 -0
- package/dist/cjs/serialization/types/index.js +1 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/resources/batch/client/requests/ApidataCreateBatchRequest.d.mts +8 -0
- package/dist/esm/api/resources/graph/client/Client.d.mts +17 -1
- package/dist/esm/api/resources/graph/client/Client.mjs +84 -1
- package/dist/esm/api/resources/graph/client/requests/AddTripleRequest.d.mts +14 -2
- package/dist/esm/api/resources/graph/client/requests/GraphSearchQuery.d.mts +3 -4
- package/dist/esm/api/resources/thread/client/Client.d.mts +4 -2
- package/dist/esm/api/resources/thread/client/Client.mjs +4 -2
- package/dist/esm/api/resources/thread/client/requests/ThreadGetRequest.d.mts +1 -1
- package/dist/esm/api/types/BatchItemDetail.d.mts +6 -0
- package/dist/esm/api/types/BatchItemStatus.d.mts +2 -1
- package/dist/esm/api/types/BatchItemStatus.mjs +1 -0
- package/dist/esm/api/types/BatchProgress.d.mts +1 -0
- package/dist/esm/api/types/BatchStatus.d.mts +2 -1
- package/dist/esm/api/types/BatchStatus.mjs +1 -0
- package/dist/esm/api/types/BatchSummary.d.mts +1 -0
- package/dist/esm/api/types/DerivedNode.d.mts +16 -0
- package/dist/esm/api/types/GraphSearchResponseMetadata.d.mts +7 -0
- package/dist/esm/api/types/GraphSearchResponseMetadata.mjs +4 -0
- package/dist/esm/api/types/GraphSearchResults.d.mts +1 -0
- package/dist/esm/api/types/GraphitiSagaNode.d.mts +10 -1
- package/dist/esm/api/types/ThreadSummary.d.mts +12 -1
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.d.mts +2 -0
- package/dist/esm/serialization/resources/batch/client/requests/ApidataCreateBatchRequest.mjs +2 -0
- package/dist/esm/serialization/types/BatchItemStatus.d.mts +1 -1
- package/dist/esm/serialization/types/BatchItemStatus.mjs +1 -1
- package/dist/esm/serialization/types/BatchProgress.d.mts +1 -0
- package/dist/esm/serialization/types/BatchProgress.mjs +1 -0
- package/dist/esm/serialization/types/BatchStatus.d.mts +1 -1
- package/dist/esm/serialization/types/BatchStatus.mjs +10 -1
- package/dist/esm/serialization/types/BatchSummary.d.mts +2 -0
- package/dist/esm/serialization/types/BatchSummary.mjs +2 -0
- package/dist/esm/serialization/types/DerivedNode.d.mts +3 -0
- package/dist/esm/serialization/types/DerivedNode.mjs +3 -0
- package/dist/esm/serialization/types/GraphSearchResponseMetadata.d.mts +12 -0
- package/dist/esm/serialization/types/GraphSearchResponseMetadata.mjs +7 -0
- package/dist/esm/serialization/types/GraphSearchResults.d.mts +2 -0
- package/dist/esm/serialization/types/GraphSearchResults.mjs +2 -0
- package/dist/esm/serialization/types/GraphitiSagaNode.d.mts +1 -0
- package/dist/esm/serialization/types/GraphitiSagaNode.mjs +1 -0
- package/dist/esm/serialization/types/ThreadSummary.d.mts +1 -0
- package/dist/esm/serialization/types/ThreadSummary.mjs +1 -0
- package/dist/esm/serialization/types/index.d.mts +1 -0
- package/dist/esm/serialization/types/index.mjs +1 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +70 -3
|
@@ -2,4 +2,4 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
|
-
export const BatchItemStatus = core.serialization.enum_(["pending", "queued", "processing", "succeeded", "failed", "skipped"]);
|
|
5
|
+
export const BatchItemStatus = core.serialization.enum_(["pending", "queued", "processing", "succeeded", "failed", "skipped", "canceled"]);
|
|
@@ -7,6 +7,7 @@ import * as core from "../../core/index.mjs";
|
|
|
7
7
|
export declare const BatchProgress: core.serialization.ObjectSchema<serializers.BatchProgress.Raw, Zep.BatchProgress>;
|
|
8
8
|
export declare namespace BatchProgress {
|
|
9
9
|
interface Raw {
|
|
10
|
+
canceled_items?: number | null;
|
|
10
11
|
failed_items?: number | null;
|
|
11
12
|
percent_complete?: number | null;
|
|
12
13
|
processing_items?: number | null;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
5
|
export const BatchProgress = core.serialization.object({
|
|
6
|
+
canceledItems: core.serialization.property("canceled_items", core.serialization.number().optional()),
|
|
6
7
|
failedItems: core.serialization.property("failed_items", core.serialization.number().optional()),
|
|
7
8
|
percentComplete: core.serialization.property("percent_complete", core.serialization.number().optional()),
|
|
8
9
|
processingItems: core.serialization.property("processing_items", core.serialization.number().optional()),
|
|
@@ -6,5 +6,5 @@ import * as Zep from "../../api/index.mjs";
|
|
|
6
6
|
import * as core from "../../core/index.mjs";
|
|
7
7
|
export declare const BatchStatus: core.serialization.Schema<serializers.BatchStatus.Raw, Zep.BatchStatus>;
|
|
8
8
|
export declare namespace BatchStatus {
|
|
9
|
-
type Raw = "draft" | "invalid" | "queued" | "processing" | "succeeded" | "partial" | "failed";
|
|
9
|
+
type Raw = "draft" | "invalid" | "queued" | "processing" | "succeeded" | "partial" | "failed" | "canceled";
|
|
10
10
|
}
|
|
@@ -2,4 +2,13 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
|
-
export const BatchStatus = core.serialization.enum_([
|
|
5
|
+
export const BatchStatus = core.serialization.enum_([
|
|
6
|
+
"draft",
|
|
7
|
+
"invalid",
|
|
8
|
+
"queued",
|
|
9
|
+
"processing",
|
|
10
|
+
"succeeded",
|
|
11
|
+
"partial",
|
|
12
|
+
"failed",
|
|
13
|
+
"canceled",
|
|
14
|
+
]);
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
import * as serializers from "../index.mjs";
|
|
5
5
|
import * as Zep from "../../api/index.mjs";
|
|
6
6
|
import * as core from "../../core/index.mjs";
|
|
7
|
+
import { RoleType } from "./RoleType.mjs";
|
|
7
8
|
import { BatchProgress } from "./BatchProgress.mjs";
|
|
8
9
|
import { BatchStatus } from "./BatchStatus.mjs";
|
|
9
10
|
export declare const BatchSummary: core.serialization.ObjectSchema<serializers.BatchSummary.Raw, Zep.BatchSummary>;
|
|
@@ -12,6 +13,7 @@ export declare namespace BatchSummary {
|
|
|
12
13
|
batch_id?: string | null;
|
|
13
14
|
completed_at?: string | null;
|
|
14
15
|
created_at?: string | null;
|
|
16
|
+
ignore_roles?: RoleType.Raw[] | null;
|
|
15
17
|
item_count?: number | null;
|
|
16
18
|
metadata?: Record<string, unknown> | null;
|
|
17
19
|
processed_at?: string | null;
|
|
@@ -2,12 +2,14 @@
|
|
|
2
2
|
* This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
*/
|
|
4
4
|
import * as core from "../../core/index.mjs";
|
|
5
|
+
import { RoleType } from "./RoleType.mjs";
|
|
5
6
|
import { BatchProgress } from "./BatchProgress.mjs";
|
|
6
7
|
import { BatchStatus } from "./BatchStatus.mjs";
|
|
7
8
|
export const BatchSummary = core.serialization.object({
|
|
8
9
|
batchId: core.serialization.property("batch_id", core.serialization.string().optional()),
|
|
9
10
|
completedAt: core.serialization.property("completed_at", core.serialization.string().optional()),
|
|
10
11
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
12
|
+
ignoreRoles: core.serialization.property("ignore_roles", core.serialization.list(RoleType).optional()),
|
|
11
13
|
itemCount: core.serialization.property("item_count", core.serialization.number().optional()),
|
|
12
14
|
metadata: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
13
15
|
processedAt: core.serialization.property("processed_at", core.serialization.string().optional()),
|
|
@@ -9,12 +9,15 @@ export declare namespace DerivedNode {
|
|
|
9
9
|
interface Raw {
|
|
10
10
|
attributes?: Record<string, unknown> | null;
|
|
11
11
|
created_at: string;
|
|
12
|
+
end_at?: string | null;
|
|
12
13
|
episode_ids?: string[] | null;
|
|
13
14
|
labels?: string[] | null;
|
|
15
|
+
latest_evidence_at?: string | null;
|
|
14
16
|
name: string;
|
|
15
17
|
relevance?: number | null;
|
|
16
18
|
score?: number | null;
|
|
17
19
|
selection_rank?: number | null;
|
|
20
|
+
start_at?: string | null;
|
|
18
21
|
summary?: string | null;
|
|
19
22
|
uuid: string;
|
|
20
23
|
}
|
|
@@ -5,12 +5,15 @@ import * as core from "../../core/index.mjs";
|
|
|
5
5
|
export const DerivedNode = core.serialization.object({
|
|
6
6
|
attributes: core.serialization.record(core.serialization.string(), core.serialization.unknown()).optional(),
|
|
7
7
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
8
|
+
endAt: core.serialization.property("end_at", core.serialization.string().optional()),
|
|
8
9
|
episodeIds: core.serialization.property("episode_ids", core.serialization.list(core.serialization.string()).optional()),
|
|
9
10
|
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
11
|
+
latestEvidenceAt: core.serialization.property("latest_evidence_at", core.serialization.string().optional()),
|
|
10
12
|
name: core.serialization.string(),
|
|
11
13
|
relevance: core.serialization.number().optional(),
|
|
12
14
|
score: core.serialization.number().optional(),
|
|
13
15
|
selectionRank: core.serialization.property("selection_rank", core.serialization.number().optional()),
|
|
16
|
+
startAt: core.serialization.property("start_at", core.serialization.string().optional()),
|
|
14
17
|
summary: core.serialization.string().optional(),
|
|
15
18
|
uuid: core.serialization.string(),
|
|
16
19
|
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as serializers from "../index.mjs";
|
|
5
|
+
import * as Zep from "../../api/index.mjs";
|
|
6
|
+
import * as core from "../../core/index.mjs";
|
|
7
|
+
export declare const GraphSearchResponseMetadata: core.serialization.ObjectSchema<serializers.GraphSearchResponseMetadata.Raw, Zep.GraphSearchResponseMetadata>;
|
|
8
|
+
export declare namespace GraphSearchResponseMetadata {
|
|
9
|
+
interface Raw {
|
|
10
|
+
server_latency_ms?: number | null;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
*/
|
|
4
|
+
import * as core from "../../core/index.mjs";
|
|
5
|
+
export const GraphSearchResponseMetadata = core.serialization.object({
|
|
6
|
+
serverLatencyMs: core.serialization.property("server_latency_ms", core.serialization.number().optional()),
|
|
7
|
+
});
|
|
@@ -8,6 +8,7 @@ import { EntityEdge } from "./EntityEdge.mjs";
|
|
|
8
8
|
import { Episode } from "./Episode.mjs";
|
|
9
9
|
import { EntityNode } from "./EntityNode.mjs";
|
|
10
10
|
import { DerivedNode } from "./DerivedNode.mjs";
|
|
11
|
+
import { GraphSearchResponseMetadata } from "./GraphSearchResponseMetadata.mjs";
|
|
11
12
|
import { GraphitiSagaNode } from "./GraphitiSagaNode.mjs";
|
|
12
13
|
export declare const GraphSearchResults: core.serialization.ObjectSchema<serializers.GraphSearchResults.Raw, Zep.GraphSearchResults>;
|
|
13
14
|
export declare namespace GraphSearchResults {
|
|
@@ -17,6 +18,7 @@ export declare namespace GraphSearchResults {
|
|
|
17
18
|
episodes?: Episode.Raw[] | null;
|
|
18
19
|
nodes?: EntityNode.Raw[] | null;
|
|
19
20
|
observations?: DerivedNode.Raw[] | null;
|
|
21
|
+
response?: GraphSearchResponseMetadata.Raw | null;
|
|
20
22
|
thread_summaries?: GraphitiSagaNode.Raw[] | null;
|
|
21
23
|
}
|
|
22
24
|
}
|
|
@@ -6,6 +6,7 @@ import { EntityEdge } from "./EntityEdge.mjs";
|
|
|
6
6
|
import { Episode } from "./Episode.mjs";
|
|
7
7
|
import { EntityNode } from "./EntityNode.mjs";
|
|
8
8
|
import { DerivedNode } from "./DerivedNode.mjs";
|
|
9
|
+
import { GraphSearchResponseMetadata } from "./GraphSearchResponseMetadata.mjs";
|
|
9
10
|
import { GraphitiSagaNode } from "./GraphitiSagaNode.mjs";
|
|
10
11
|
export const GraphSearchResults = core.serialization.object({
|
|
11
12
|
context: core.serialization.string().optional(),
|
|
@@ -13,5 +14,6 @@ export const GraphSearchResults = core.serialization.object({
|
|
|
13
14
|
episodes: core.serialization.list(Episode).optional(),
|
|
14
15
|
nodes: core.serialization.list(EntityNode).optional(),
|
|
15
16
|
observations: core.serialization.list(DerivedNode).optional(),
|
|
17
|
+
response: GraphSearchResponseMetadata.optional(),
|
|
16
18
|
threadSummaries: core.serialization.property("thread_summaries", core.serialization.list(GraphitiSagaNode).optional()),
|
|
17
19
|
});
|
|
@@ -6,6 +6,7 @@ export const GraphitiSagaNode = core.serialization.object({
|
|
|
6
6
|
createdAt: core.serialization.property("created_at", core.serialization.string()),
|
|
7
7
|
labels: core.serialization.list(core.serialization.string()).optional(),
|
|
8
8
|
lastSummarizedAt: core.serialization.property("last_summarized_at", core.serialization.string().optional()),
|
|
9
|
+
lastSummarizedEpisodeValidAt: core.serialization.property("last_summarized_episode_valid_at", core.serialization.string().optional()),
|
|
9
10
|
name: core.serialization.string(),
|
|
10
11
|
relevance: core.serialization.number().optional(),
|
|
11
12
|
score: core.serialization.number().optional(),
|
|
@@ -5,6 +5,7 @@ import * as core from "../../core/index.mjs";
|
|
|
5
5
|
export const ThreadSummary = core.serialization.object({
|
|
6
6
|
createdAt: core.serialization.property("created_at", core.serialization.string().optional()),
|
|
7
7
|
lastSummarizedAt: core.serialization.property("last_summarized_at", core.serialization.string().optional()),
|
|
8
|
+
lastSummarizedEpisodeValidAt: core.serialization.property("last_summarized_episode_valid_at", core.serialization.string().optional()),
|
|
8
9
|
summary: core.serialization.string().optional(),
|
|
9
10
|
threadId: core.serialization.property("thread_id", core.serialization.string().optional()),
|
|
10
11
|
uuid: core.serialization.string().optional(),
|
|
@@ -31,6 +31,7 @@ export * from "./EpisodeResponse.mjs";
|
|
|
31
31
|
export * from "./GraphListResponse.mjs";
|
|
32
32
|
export * from "./GraphNodesRequest.mjs";
|
|
33
33
|
export * from "./GraphObservationsRequest.mjs";
|
|
34
|
+
export * from "./GraphSearchResponseMetadata.mjs";
|
|
34
35
|
export * from "./GraphSearchResults.mjs";
|
|
35
36
|
export * from "./GraphThreadSummariesRequest.mjs";
|
|
36
37
|
export * from "./HubDetectConfig.mjs";
|
|
@@ -31,6 +31,7 @@ export * from "./EpisodeResponse.mjs";
|
|
|
31
31
|
export * from "./GraphListResponse.mjs";
|
|
32
32
|
export * from "./GraphNodesRequest.mjs";
|
|
33
33
|
export * from "./GraphObservationsRequest.mjs";
|
|
34
|
+
export * from "./GraphSearchResponseMetadata.mjs";
|
|
34
35
|
export * from "./GraphSearchResults.mjs";
|
|
35
36
|
export * from "./GraphThreadSummariesRequest.mjs";
|
|
36
37
|
export * from "./HubDetectConfig.mjs";
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.
|
|
1
|
+
export declare const SDK_VERSION = "3.23.0";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "3.
|
|
1
|
+
export const SDK_VERSION = "3.23.0";
|
package/package.json
CHANGED
package/reference.md
CHANGED
|
@@ -1203,7 +1203,9 @@ await client.graph.add({
|
|
|
1203
1203
|
<dl>
|
|
1204
1204
|
<dd>
|
|
1205
1205
|
|
|
1206
|
-
|
|
1206
|
+
Deprecated. Use the [Batch API](/adding-batch-data) (`client.batch.*`) instead.
|
|
1207
|
+
|
|
1208
|
+
Adds data to the graph in batch mode, processing episodes concurrently.
|
|
1207
1209
|
|
|
1208
1210
|
</dd>
|
|
1209
1211
|
</dl>
|
|
@@ -1852,6 +1854,69 @@ await client.graph.update("graphId");
|
|
|
1852
1854
|
</dl>
|
|
1853
1855
|
</details>
|
|
1854
1856
|
|
|
1857
|
+
<details><summary><code>client.graph.<a href="/src/api/resources/graph/client/Client.ts">warm</a>(graphId) -> Zep.SuccessResponse</code></summary>
|
|
1858
|
+
<dl>
|
|
1859
|
+
<dd>
|
|
1860
|
+
|
|
1861
|
+
#### 📝 Description
|
|
1862
|
+
|
|
1863
|
+
<dl>
|
|
1864
|
+
<dd>
|
|
1865
|
+
|
|
1866
|
+
<dl>
|
|
1867
|
+
<dd>
|
|
1868
|
+
|
|
1869
|
+
Hints Zep to warm a graph for low-latency search
|
|
1870
|
+
|
|
1871
|
+
</dd>
|
|
1872
|
+
</dl>
|
|
1873
|
+
</dd>
|
|
1874
|
+
</dl>
|
|
1875
|
+
|
|
1876
|
+
#### 🔌 Usage
|
|
1877
|
+
|
|
1878
|
+
<dl>
|
|
1879
|
+
<dd>
|
|
1880
|
+
|
|
1881
|
+
<dl>
|
|
1882
|
+
<dd>
|
|
1883
|
+
|
|
1884
|
+
```typescript
|
|
1885
|
+
await client.graph.warm("graphId");
|
|
1886
|
+
```
|
|
1887
|
+
|
|
1888
|
+
</dd>
|
|
1889
|
+
</dl>
|
|
1890
|
+
</dd>
|
|
1891
|
+
</dl>
|
|
1892
|
+
|
|
1893
|
+
#### ⚙️ Parameters
|
|
1894
|
+
|
|
1895
|
+
<dl>
|
|
1896
|
+
<dd>
|
|
1897
|
+
|
|
1898
|
+
<dl>
|
|
1899
|
+
<dd>
|
|
1900
|
+
|
|
1901
|
+
**graphId:** `string` — The graph_id of the graph to warm.
|
|
1902
|
+
|
|
1903
|
+
</dd>
|
|
1904
|
+
</dl>
|
|
1905
|
+
|
|
1906
|
+
<dl>
|
|
1907
|
+
<dd>
|
|
1908
|
+
|
|
1909
|
+
**requestOptions:** `Graph.RequestOptions`
|
|
1910
|
+
|
|
1911
|
+
</dd>
|
|
1912
|
+
</dl>
|
|
1913
|
+
</dd>
|
|
1914
|
+
</dl>
|
|
1915
|
+
|
|
1916
|
+
</dd>
|
|
1917
|
+
</dl>
|
|
1918
|
+
</details>
|
|
1919
|
+
|
|
1855
1920
|
## Project
|
|
1856
1921
|
|
|
1857
1922
|
<details><summary><code>client.project.<a href="/src/api/resources/project/client/Client.ts">get</a>() -> Zep.ProjectInfoResponse</code></summary>
|
|
@@ -2276,7 +2341,7 @@ Returns messages for a thread.
|
|
|
2276
2341
|
```typescript
|
|
2277
2342
|
await client.thread.get("threadId", {
|
|
2278
2343
|
limit: 1,
|
|
2279
|
-
cursor:
|
|
2344
|
+
cursor: 1000000,
|
|
2280
2345
|
lastn: 1,
|
|
2281
2346
|
});
|
|
2282
2347
|
```
|
|
@@ -2411,7 +2476,9 @@ await client.thread.addMessages("threadId", {
|
|
|
2411
2476
|
<dl>
|
|
2412
2477
|
<dd>
|
|
2413
2478
|
|
|
2414
|
-
|
|
2479
|
+
Deprecated. Use the [Batch API](/adding-batch-data) (`client.batch.*` with `type: "thread_message"`) instead.
|
|
2480
|
+
|
|
2481
|
+
Adds messages to a thread in batch mode, processing messages concurrently.
|
|
2415
2482
|
|
|
2416
2483
|
</dd>
|
|
2417
2484
|
</dl>
|