Skip to content

Commit 8b43ca6

Browse files
SDK regeneration
1 parent bb80906 commit 8b43ca6

14 files changed

Lines changed: 1274 additions & 12 deletions

reference.md

Lines changed: 253 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1431,6 +1431,7 @@ client = Zep(
14311431
client.graph.list_all(
14321432
page_number=1,
14331433
page_size=1,
1434+
search="search",
14341435
order_by="order_by",
14351436
asc=True,
14361437
)
@@ -1465,6 +1466,14 @@ client.graph.list_all(
14651466
<dl>
14661467
<dd>
14671468

1469+
**search:** `typing.Optional[str]` — Search term for filtering graphs by graph_id.
1470+
1471+
</dd>
1472+
</dl>
1473+
1474+
<dl>
1475+
<dd>
1476+
14681477
**order_by:** `typing.Optional[str]` — Column to sort by (created_at, group_id, name).
14691478

14701479
</dd>
@@ -1763,7 +1772,7 @@ client.graph.search(
17631772
<dl>
17641773
<dd>
17651774

1766-
**scope:** `typing.Optional[GraphSearchScope]` — Defaults to Edges. Communities will be added in the future.
1775+
**scope:** `typing.Optional[GraphSearchScope]` — Defaults to Edges.
17671776

17681777
</dd>
17691778
</dl>
@@ -3690,6 +3699,249 @@ client.user.warm(
36903699
</dl>
36913700

36923701

3702+
</dd>
3703+
</dl>
3704+
</details>
3705+
3706+
## Graph Community
3707+
<details><summary><code>client.graph.community.<a href="src/zep_cloud/graph/community/client.py">get_by_graph_id</a>(...)</code></summary>
3708+
<dl>
3709+
<dd>
3710+
3711+
#### 📝 Description
3712+
3713+
<dl>
3714+
<dd>
3715+
3716+
<dl>
3717+
<dd>
3718+
3719+
Returns read-only community nodes for a graph.
3720+
</dd>
3721+
</dl>
3722+
</dd>
3723+
</dl>
3724+
3725+
#### 🔌 Usage
3726+
3727+
<dl>
3728+
<dd>
3729+
3730+
<dl>
3731+
<dd>
3732+
3733+
```python
3734+
from zep_cloud import Zep
3735+
3736+
client = Zep(
3737+
api_key="YOUR_API_KEY",
3738+
)
3739+
client.graph.community.get_by_graph_id(
3740+
graph_id="graph_id",
3741+
)
3742+
3743+
```
3744+
</dd>
3745+
</dl>
3746+
</dd>
3747+
</dl>
3748+
3749+
#### ⚙️ Parameters
3750+
3751+
<dl>
3752+
<dd>
3753+
3754+
<dl>
3755+
<dd>
3756+
3757+
**graph_id:** `str` — Graph ID
3758+
3759+
</dd>
3760+
</dl>
3761+
3762+
<dl>
3763+
<dd>
3764+
3765+
**limit:** `typing.Optional[int]` — Maximum number of items to return
3766+
3767+
</dd>
3768+
</dl>
3769+
3770+
<dl>
3771+
<dd>
3772+
3773+
**uuid_cursor:** `typing.Optional[str]` — UUID based cursor, used for pagination. Should be the UUID of the last item in the previous page
3774+
3775+
</dd>
3776+
</dl>
3777+
3778+
<dl>
3779+
<dd>
3780+
3781+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3782+
3783+
</dd>
3784+
</dl>
3785+
</dd>
3786+
</dl>
3787+
3788+
3789+
</dd>
3790+
</dl>
3791+
</details>
3792+
3793+
<details><summary><code>client.graph.community.<a href="src/zep_cloud/graph/community/client.py">get_by_user_id</a>(...)</code></summary>
3794+
<dl>
3795+
<dd>
3796+
3797+
#### 📝 Description
3798+
3799+
<dl>
3800+
<dd>
3801+
3802+
<dl>
3803+
<dd>
3804+
3805+
Returns read-only community nodes for a user's graph.
3806+
</dd>
3807+
</dl>
3808+
</dd>
3809+
</dl>
3810+
3811+
#### 🔌 Usage
3812+
3813+
<dl>
3814+
<dd>
3815+
3816+
<dl>
3817+
<dd>
3818+
3819+
```python
3820+
from zep_cloud import Zep
3821+
3822+
client = Zep(
3823+
api_key="YOUR_API_KEY",
3824+
)
3825+
client.graph.community.get_by_user_id(
3826+
user_id="user_id",
3827+
)
3828+
3829+
```
3830+
</dd>
3831+
</dl>
3832+
</dd>
3833+
</dl>
3834+
3835+
#### ⚙️ Parameters
3836+
3837+
<dl>
3838+
<dd>
3839+
3840+
<dl>
3841+
<dd>
3842+
3843+
**user_id:** `str` — User ID
3844+
3845+
</dd>
3846+
</dl>
3847+
3848+
<dl>
3849+
<dd>
3850+
3851+
**limit:** `typing.Optional[int]` — Maximum number of items to return
3852+
3853+
</dd>
3854+
</dl>
3855+
3856+
<dl>
3857+
<dd>
3858+
3859+
**uuid_cursor:** `typing.Optional[str]` — UUID based cursor, used for pagination. Should be the UUID of the last item in the previous page
3860+
3861+
</dd>
3862+
</dl>
3863+
3864+
<dl>
3865+
<dd>
3866+
3867+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3868+
3869+
</dd>
3870+
</dl>
3871+
</dd>
3872+
</dl>
3873+
3874+
3875+
</dd>
3876+
</dl>
3877+
</details>
3878+
3879+
<details><summary><code>client.graph.community.<a href="src/zep_cloud/graph/community/client.py">get</a>(...)</code></summary>
3880+
<dl>
3881+
<dd>
3882+
3883+
#### 📝 Description
3884+
3885+
<dl>
3886+
<dd>
3887+
3888+
<dl>
3889+
<dd>
3890+
3891+
Returns a specific community node by UUID. Community nodes are read-only.
3892+
</dd>
3893+
</dl>
3894+
</dd>
3895+
</dl>
3896+
3897+
#### 🔌 Usage
3898+
3899+
<dl>
3900+
<dd>
3901+
3902+
<dl>
3903+
<dd>
3904+
3905+
```python
3906+
from zep_cloud import Zep
3907+
3908+
client = Zep(
3909+
api_key="YOUR_API_KEY",
3910+
)
3911+
client.graph.community.get(
3912+
uuid_="uuid",
3913+
)
3914+
3915+
```
3916+
</dd>
3917+
</dl>
3918+
</dd>
3919+
</dl>
3920+
3921+
#### ⚙️ Parameters
3922+
3923+
<dl>
3924+
<dd>
3925+
3926+
<dl>
3927+
<dd>
3928+
3929+
**uuid_:** `str` — Community UUID
3930+
3931+
</dd>
3932+
</dl>
3933+
3934+
<dl>
3935+
<dd>
3936+
3937+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3938+
3939+
</dd>
3940+
</dl>
3941+
</dd>
3942+
</dl>
3943+
3944+
36933945
</dd>
36943946
</dl>
36953947
</details>

src/zep_cloud/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
CloneGraphResponse,
1111
ClusterDetectConfig,
1212
CoOccurrenceDetectConfig,
13+
CommunityNode,
1314
ComparisonOperator,
1415
ContextTemplateResponse,
1516
CustomInstruction,
@@ -30,6 +31,7 @@
3031
EpisodeResponse,
3132
GetTaskResponse,
3233
Graph,
34+
GraphCommunitiesRequest,
3335
GraphDataType,
3436
GraphEdgesRequest,
3537
GraphListResponse,
@@ -81,6 +83,7 @@
8183
"CloneGraphResponse",
8284
"ClusterDetectConfig",
8385
"CoOccurrenceDetectConfig",
86+
"CommunityNode",
8487
"ComparisonOperator",
8588
"ContextTemplateResponse",
8689
"CustomInstruction",
@@ -102,6 +105,7 @@
102105
"ForbiddenError",
103106
"GetTaskResponse",
104107
"Graph",
108+
"GraphCommunitiesRequest",
105109
"GraphDataType",
106110
"GraphEdgesRequest",
107111
"GraphListResponse",

src/zep_cloud/core/client_wrapper.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ def __init__(
2222

2323
def get_headers(self) -> typing.Dict[str, str]:
2424
headers: typing.Dict[str, str] = {
25-
"User-Agent": "zep-cloud/3.18.0",
25+
"User-Agent": "zep-cloud/3.19.0",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "zep-cloud",
28-
"X-Fern-SDK-Version": "3.18.0",
28+
"X-Fern-SDK-Version": "3.19.0",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
headers["Authorization"] = f"Api-Key {self.api_key}"

src/zep_cloud/graph/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22

33
# isort: skip_file
44

5-
from . import edge, episode, node
5+
from . import community, edge, episode, node
66

7-
__all__ = ["edge", "episode", "node"]
7+
__all__ = ["community", "edge", "episode", "node"]

0 commit comments

Comments
 (0)