Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
2ae5251
chore: Fix fact ratings table
paul-paliychuk Apr 16, 2025
791352a
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk May 13, 2025
be6b1b7
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk May 26, 2025
43e3b64
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Jul 17, 2025
94d84f9
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Jul 21, 2025
ee2f7c0
Merge remote-tracking branch 'origin/main'
paul-paliychuk Jul 31, 2025
ecfa894
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Oct 30, 2025
a7239ae
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Nov 18, 2025
e19b12c
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Nov 18, 2025
7a271c0
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Apr 27, 2026
20e7065
Merge branch 'main' of github.com:getzep/zep-python
paul-paliychuk Apr 27, 2026
1595965
SDK regeneration
fern-api[bot] May 1, 2026
ab09c31
chore: Bump version
paul-paliychuk May 1, 2026
ef4ee07
SDK regeneration
fern-api[bot] May 1, 2026
2f45c2f
SDK regeneration
fern-api[bot] May 1, 2026
cf142c7
chore: Bump version
paul-paliychuk May 1, 2026
0ce738e
chore: Bump version
paul-paliychuk May 1, 2026
ad149ae
SDK regeneration
fern-api[bot] May 1, 2026
bee9738
SDK regeneration
fern-api[bot] May 4, 2026
b07c278
SDK regeneration
fern-api[bot] May 4, 2026
3d8edf8
SDK regeneration
fern-api[bot] May 21, 2026
b0705b4
chore: Bump version to 3.23.0
prasmussen15 May 21, 2026
85fb908
SDK regeneration
fern-api[bot] May 21, 2026
be64846
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk May 21, 2026
c312341
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Jun 4, 2026
c58b878
SDK regeneration
fern-api[bot] Jun 4, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,19 @@ client.batch.create()
<dl>
<dd>

**ignore_roles:** `typing.Optional[typing.Sequence[RoleType]]`

Optional list of message role types to skip during graph ingestion for
thread_message items in this batch. The messages are still stored and
retained as context, but no graph extraction is performed for them.
Has no effect on graph_episode items.

</dd>
</dl>

<dl>
<dd>

**metadata:** `typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]`

</dd>
Expand Down Expand Up @@ -2633,6 +2646,76 @@ client.graph.update(
</dl>


</dd>
</dl>
</details>

<details><summary><code>client.graph.<a href="src/zep_cloud/graph/client.py">warm</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Hints Zep to warm a graph for low-latency search
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from zep_cloud import Zep

client = Zep(
api_key="YOUR_API_KEY",
)
client.graph.warm(
graph_id="graphId",
)

```
</dd>
</dl>
</dd>
</dl>

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**graph_id:** `str` — The graph_id of the graph to warm.

</dd>
</dl>

<dl>
<dd>

**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.

</dd>
</dl>
</dd>
</dl>


</dd>
</dl>
</details>
Expand Down
23 changes: 21 additions & 2 deletions src/zep_cloud/batch/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
from ..types.batch_item_list_response import BatchItemListResponse
from ..types.batch_list_response import BatchListResponse
from ..types.batch_summary import BatchSummary
from ..types.role_type import RoleType
from ..types.success_response import SuccessResponse
from .raw_client import AsyncRawBatchClient, RawBatchClient

Expand Down Expand Up @@ -80,6 +81,7 @@ def list(
def create(
self,
*,
ignore_roles: typing.Optional[typing.Sequence[RoleType]] = OMIT,
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> BatchSummary:
Expand All @@ -88,6 +90,12 @@ def create(

Parameters
----------
ignore_roles : typing.Optional[typing.Sequence[RoleType]]
Optional list of message role types to skip during graph ingestion for
thread_message items in this batch. The messages are still stored and
retained as context, but no graph extraction is performed for them.
Has no effect on graph_episode items.

metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]

request_options : typing.Optional[RequestOptions]
Expand All @@ -107,7 +115,9 @@ def create(
)
client.batch.create()
"""
_response = self._raw_client.create(metadata=metadata, request_options=request_options)
_response = self._raw_client.create(
ignore_roles=ignore_roles, metadata=metadata, request_options=request_options
)
return _response.data

def get(self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> BatchSummary:
Expand Down Expand Up @@ -375,6 +385,7 @@ async def main() -> None:
async def create(
self,
*,
ignore_roles: typing.Optional[typing.Sequence[RoleType]] = OMIT,
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> BatchSummary:
Expand All @@ -383,6 +394,12 @@ async def create(

Parameters
----------
ignore_roles : typing.Optional[typing.Sequence[RoleType]]
Optional list of message role types to skip during graph ingestion for
thread_message items in this batch. The messages are still stored and
retained as context, but no graph extraction is performed for them.
Has no effect on graph_episode items.

metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]

request_options : typing.Optional[RequestOptions]
Expand Down Expand Up @@ -410,7 +427,9 @@ async def main() -> None:

asyncio.run(main())
"""
_response = await self._raw_client.create(metadata=metadata, request_options=request_options)
_response = await self._raw_client.create(
ignore_roles=ignore_roles, metadata=metadata, request_options=request_options
)
return _response.data

async def get(self, batch_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> BatchSummary:
Expand Down
17 changes: 17 additions & 0 deletions src/zep_cloud/batch/raw_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
from ..types.batch_item_list_response import BatchItemListResponse
from ..types.batch_list_response import BatchListResponse
from ..types.batch_summary import BatchSummary
from ..types.role_type import RoleType
from ..types.success_response import SuccessResponse

# this is used as the default value for optional parameters
Expand Down Expand Up @@ -126,6 +127,7 @@ def list(
def create(
self,
*,
ignore_roles: typing.Optional[typing.Sequence[RoleType]] = OMIT,
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> HttpResponse[BatchSummary]:
Expand All @@ -134,6 +136,12 @@ def create(

Parameters
----------
ignore_roles : typing.Optional[typing.Sequence[RoleType]]
Optional list of message role types to skip during graph ingestion for
thread_message items in this batch. The messages are still stored and
retained as context, but no graph extraction is performed for them.
Has no effect on graph_episode items.

metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]

request_options : typing.Optional[RequestOptions]
Expand All @@ -148,6 +156,7 @@ def create(
"batches",
method="POST",
json={
"ignore_roles": ignore_roles,
"metadata": metadata,
},
headers={
Expand Down Expand Up @@ -811,6 +820,7 @@ async def list(
async def create(
self,
*,
ignore_roles: typing.Optional[typing.Sequence[RoleType]] = OMIT,
metadata: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> AsyncHttpResponse[BatchSummary]:
Expand All @@ -819,6 +829,12 @@ async def create(

Parameters
----------
ignore_roles : typing.Optional[typing.Sequence[RoleType]]
Optional list of message role types to skip during graph ingestion for
thread_message items in this batch. The messages are still stored and
retained as context, but no graph extraction is performed for them.
Has no effect on graph_episode items.

metadata : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]

request_options : typing.Optional[RequestOptions]
Expand All @@ -833,6 +849,7 @@ async def create(
"batches",
method="POST",
json={
"ignore_roles": ignore_roles,
"metadata": metadata,
},
headers={
Expand Down
70 changes: 70 additions & 0 deletions src/zep_cloud/graph/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -1013,6 +1013,37 @@ def update(
)
return _response.data

def warm(self, graph_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> SuccessResponse:
"""
Hints Zep to warm a graph for low-latency search

Parameters
----------
graph_id : str
The graph_id of the graph to warm.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Returns
-------
SuccessResponse
Warm hint accepted

Examples
--------
from zep_cloud import Zep

client = Zep(
api_key="YOUR_API_KEY",
)
client.graph.warm(
graph_id="graphId",
)
"""
_response = self._raw_client.warm(graph_id, request_options=request_options)
return _response.data


class AsyncGraphClient:
def __init__(self, *, client_wrapper: AsyncClientWrapper):
Expand Down Expand Up @@ -2120,3 +2151,42 @@ async def main() -> None:
graph_id, description=description, name=name, request_options=request_options
)
return _response.data

async def warm(self, graph_id: str, *, request_options: typing.Optional[RequestOptions] = None) -> SuccessResponse:
"""
Hints Zep to warm a graph for low-latency search

Parameters
----------
graph_id : str
The graph_id of the graph to warm.

request_options : typing.Optional[RequestOptions]
Request-specific configuration.

Returns
-------
SuccessResponse
Warm hint accepted

Examples
--------
import asyncio

from zep_cloud import AsyncZep

client = AsyncZep(
api_key="YOUR_API_KEY",
)


async def main() -> None:
await client.graph.warm(
graph_id="graphId",
)


asyncio.run(main())
"""
_response = await self._raw_client.warm(graph_id, request_options=request_options)
return _response.data
Loading
Loading