@@ -32,7 +32,10 @@ from zep_cloud import Zep
3232client = Zep(
3333 api_key = " YOUR_API_KEY" ,
3434)
35- client.graph.list_entity_types()
35+ client.graph.list_entity_types(
36+ user_id = " user_id" ,
37+ graph_id = " graph_id" ,
38+ )
3639
3740```
3841</dd >
@@ -772,7 +775,10 @@ from zep_cloud import Zep
772775client = Zep(
773776 api_key = " YOUR_API_KEY" ,
774777)
775- client.graph.list_all()
778+ client.graph.list_all(
779+ page_number = 1 ,
780+ page_size = 1 ,
781+ )
776782
777783```
778784</dd >
@@ -1209,7 +1215,7 @@ client.graph.update(
12091215</details >
12101216
12111217## Project
1212- <details ><summary ><code >client.project.<a href =" src/zep_cloud/project/client.py " >get </a >()</code ></summary >
1218+ <details ><summary ><code >client.project.<a href =" src/zep_cloud/project/client.py " >get_info </a >()</code ></summary >
12131219<dl >
12141220<dd >
12151221
@@ -1241,7 +1247,7 @@ from zep_cloud import Zep
12411247client = Zep(
12421248 api_key = " YOUR_API_KEY" ,
12431249)
1244- client.project.get ()
1250+ client.project.get_info ()
12451251
12461252```
12471253</dd >
@@ -1270,7 +1276,7 @@ client.project.get()
12701276</details >
12711277
12721278## Thread
1273- <details ><summary ><code >client.thread.<a href =" src/zep_cloud/thread/client.py " >list_all </a >(...)</code ></summary >
1279+ <details ><summary ><code >client.thread.<a href =" src/zep_cloud/thread/client.py " >list </a >(...)</code ></summary >
12741280<dl >
12751281<dd >
12761282
@@ -1302,7 +1308,12 @@ from zep_cloud import Zep
13021308client = Zep(
13031309 api_key = " YOUR_API_KEY" ,
13041310)
1305- client.thread.list_all()
1311+ client.thread.list(
1312+ page_number = 1 ,
1313+ page_size = 1 ,
1314+ order_by = " order_by" ,
1315+ asc = True ,
1316+ )
13061317
13071318```
13081319</dd >
@@ -1511,7 +1522,7 @@ client.thread.delete(
15111522</dl >
15121523</details >
15131524
1514- <details ><summary ><code >client.thread.<a href =" src/zep_cloud/thread/client.py " >get_user_context </a >(...)</code ></summary >
1525+ <details ><summary ><code >client.thread.<a href =" src/zep_cloud/thread/client.py " >get_context </a >(...)</code ></summary >
15151526<dl >
15161527<dd >
15171528
@@ -1543,8 +1554,10 @@ from zep_cloud import Zep
15431554client = Zep(
15441555 api_key = " YOUR_API_KEY" ,
15451556)
1546- client.thread.get_user_context (
1557+ client.thread.get_context (
15471558 thread_id = " threadId" ,
1559+ min_rating = 1.1 ,
1560+ mode = " basic" ,
15481561)
15491562
15501563```
@@ -1577,7 +1590,7 @@ client.thread.get_user_context(
15771590<dl >
15781591<dd >
15791592
1580- ** mode:** ` typing.Optional[ThreadGetUserContextRequestMode ] ` — Defaults to summary mode. Use basic for lower latency
1593+ ** mode:** ` typing.Optional[ThreadGetContextRequestMode ] ` — Defaults to summary mode. Use basic for lower latency
15811594
15821595</dd >
15831596</dl >
@@ -1597,7 +1610,7 @@ client.thread.get_user_context(
15971610</dl >
15981611</details >
15991612
1600- <details ><summary ><code >client.thread.<a href =" src/zep_cloud/thread/client.py " >get </a >(...)</code ></summary >
1613+ <details ><summary ><code >client.thread.<a href =" src/zep_cloud/thread/client.py " >get_messages </a >(...)</code ></summary >
16011614<dl >
16021615<dd >
16031616
@@ -1629,8 +1642,11 @@ from zep_cloud import Zep
16291642client = Zep(
16301643 api_key = " YOUR_API_KEY" ,
16311644)
1632- client.thread.get (
1645+ client.thread.get_messages (
16331646 thread_id = " threadId" ,
1647+ limit = 1 ,
1648+ cursor = 1 ,
1649+ lastn = 1 ,
16341650)
16351651
16361652```
@@ -1958,6 +1974,14 @@ client.user.add(
19581974<dl >
19591975<dd >
19601976
1977+ ** disable_default_ontology:** ` typing.Optional[bool] ` — When true, disables the use of default/fallback ontology for the user's graph.
1978+
1979+ </dd >
1980+ </dl >
1981+
1982+ <dl >
1983+ <dd >
1984+
19611985** email:** ` typing.Optional[str] ` — The email address of the user.
19621986
19631987</dd >
@@ -2042,7 +2066,10 @@ from zep_cloud import Zep
20422066client = Zep(
20432067 api_key = " YOUR_API_KEY" ,
20442068)
2045- client.user.list_ordered()
2069+ client.user.list_ordered(
2070+ page_number = 1 ,
2071+ page_size = 1 ,
2072+ )
20462073
20472074```
20482075</dd >
@@ -2284,6 +2311,14 @@ client.user.update(
22842311<dl >
22852312<dd >
22862313
2314+ ** disable_default_ontology:** ` typing.Optional[bool] ` — When true, disables the use of default/fallback ontology for the user's graph.
2315+
2316+ </dd >
2317+ </dl >
2318+
2319+ <dl >
2320+ <dd >
2321+
22872322** email:** ` typing.Optional[str] ` — The email address of the user.
22882323
22892324</dd >
@@ -2547,7 +2582,7 @@ client.user.warm(
25472582</details >
25482583
25492584## Graph Edge
2550- <details ><summary ><code >client.graph.edge.<a href =" src/zep_cloud/graph/edge/client.py " >get_by_graph_id </a >(...)</code ></summary >
2585+ <details ><summary ><code >client.graph.edge.<a href =" src/zep_cloud/graph/edge/client.py " >get_graph_edges </a >(...)</code ></summary >
25512586<dl >
25522587<dd >
25532588
@@ -2579,7 +2614,7 @@ from zep_cloud import Zep
25792614client = Zep(
25802615 api_key = " YOUR_API_KEY" ,
25812616)
2582- client.graph.edge.get_by_graph_id (
2617+ client.graph.edge.get_graph_edges (
25832618 graph_id = " graph_id" ,
25842619)
25852620
@@ -2633,7 +2668,7 @@ client.graph.edge.get_by_graph_id(
26332668</dl >
26342669</details >
26352670
2636- <details ><summary ><code >client.graph.edge.<a href =" src/zep_cloud/graph/edge/client.py " >get_by_user_id </a >(...)</code ></summary >
2671+ <details ><summary ><code >client.graph.edge.<a href =" src/zep_cloud/graph/edge/client.py " >get_user_edges </a >(...)</code ></summary >
26372672<dl >
26382673<dd >
26392674
@@ -2665,7 +2700,7 @@ from zep_cloud import Zep
26652700client = Zep(
26662701 api_key = " YOUR_API_KEY" ,
26672702)
2668- client.graph.edge.get_by_user_id (
2703+ client.graph.edge.get_user_edges (
26692704 user_id = " user_id" ,
26702705)
26712706
@@ -2860,7 +2895,7 @@ client.graph.edge.delete(
28602895</details >
28612896
28622897## Graph Episode
2863- <details ><summary ><code >client.graph.episode.<a href =" src/zep_cloud/graph/episode/client.py " >get_by_graph_id </a >(...)</code ></summary >
2898+ <details ><summary ><code >client.graph.episode.<a href =" src/zep_cloud/graph/episode/client.py " >get_graph_episodes </a >(...)</code ></summary >
28642899<dl >
28652900<dd >
28662901
@@ -2892,8 +2927,9 @@ from zep_cloud import Zep
28922927client = Zep(
28932928 api_key = " YOUR_API_KEY" ,
28942929)
2895- client.graph.episode.get_by_graph_id (
2930+ client.graph.episode.get_graph_episodes (
28962931 graph_id = " graph_id" ,
2932+ lastn = 1 ,
28972933)
28982934
28992935```
@@ -2938,7 +2974,7 @@ client.graph.episode.get_by_graph_id(
29382974</dl >
29392975</details >
29402976
2941- <details ><summary ><code >client.graph.episode.<a href =" src/zep_cloud/graph/episode/client.py " >get_by_user_id </a >(...)</code ></summary >
2977+ <details ><summary ><code >client.graph.episode.<a href =" src/zep_cloud/graph/episode/client.py " >get_user_episodes </a >(...)</code ></summary >
29422978<dl >
29432979<dd >
29442980
@@ -2970,8 +3006,9 @@ from zep_cloud import Zep
29703006client = Zep(
29713007 api_key = " YOUR_API_KEY" ,
29723008)
2973- client.graph.episode.get_by_user_id (
3009+ client.graph.episode.get_user_episodes (
29743010 user_id = " user_id" ,
3011+ lastn = 1 ,
29753012)
29763013
29773014```
@@ -3156,7 +3193,7 @@ client.graph.episode.delete(
31563193</dl >
31573194</details >
31583195
3159- <details ><summary ><code >client.graph.episode.<a href =" src/zep_cloud/graph/episode/client.py " >get_nodes_and_edges </a >(...)</code ></summary >
3196+ <details ><summary ><code >client.graph.episode.<a href =" src/zep_cloud/graph/episode/client.py " >get_mentions </a >(...)</code ></summary >
31603197<dl >
31613198<dd >
31623199
@@ -3188,7 +3225,7 @@ from zep_cloud import Zep
31883225client = Zep(
31893226 api_key = " YOUR_API_KEY" ,
31903227)
3191- client.graph.episode.get_nodes_and_edges (
3228+ client.graph.episode.get_mentions (
31923229 uuid_ = " uuid" ,
31933230)
31943231
@@ -3227,7 +3264,7 @@ client.graph.episode.get_nodes_and_edges(
32273264</details >
32283265
32293266## Graph Node
3230- <details ><summary ><code >client.graph.node.<a href =" src/zep_cloud/graph/node/client.py " >get_by_graph_id </a >(...)</code ></summary >
3267+ <details ><summary ><code >client.graph.node.<a href =" src/zep_cloud/graph/node/client.py " >get_graph_nodes </a >(...)</code ></summary >
32313268<dl >
32323269<dd >
32333270
@@ -3259,7 +3296,7 @@ from zep_cloud import Zep
32593296client = Zep(
32603297 api_key = " YOUR_API_KEY" ,
32613298)
3262- client.graph.node.get_by_graph_id (
3299+ client.graph.node.get_graph_nodes (
32633300 graph_id = " graph_id" ,
32643301)
32653302
@@ -3313,7 +3350,7 @@ client.graph.node.get_by_graph_id(
33133350</dl >
33143351</details >
33153352
3316- <details ><summary ><code >client.graph.node.<a href =" src/zep_cloud/graph/node/client.py " >get_by_user_id </a >(...)</code ></summary >
3353+ <details ><summary ><code >client.graph.node.<a href =" src/zep_cloud/graph/node/client.py " >get_user_nodes </a >(...)</code ></summary >
33173354<dl >
33183355<dd >
33193356
@@ -3345,7 +3382,7 @@ from zep_cloud import Zep
33453382client = Zep(
33463383 api_key = " YOUR_API_KEY" ,
33473384)
3348- client.graph.node.get_by_user_id (
3385+ client.graph.node.get_user_nodes (
33493386 user_id = " user_id" ,
33503387)
33513388
@@ -3399,7 +3436,7 @@ client.graph.node.get_by_user_id(
33993436</dl >
34003437</details >
34013438
3402- <details ><summary ><code >client.graph.node.<a href =" src/zep_cloud/graph/node/client.py " >get_edges </a >(...)</code ></summary >
3439+ <details ><summary ><code >client.graph.node.<a href =" src/zep_cloud/graph/node/client.py " >get_entity_edges </a >(...)</code ></summary >
34033440<dl >
34043441<dd >
34053442
@@ -3431,7 +3468,7 @@ from zep_cloud import Zep
34313468client = Zep(
34323469 api_key = " YOUR_API_KEY" ,
34333470)
3434- client.graph.node.get_edges (
3471+ client.graph.node.get_entity_edges (
34353472 node_uuid = " node_uuid" ,
34363473)
34373474
0 commit comments