Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
93 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
9481ce5
SDK regeneration
fern-api[bot] Aug 1, 2025
f28745d
chore: Version bump
paul-paliychuk Aug 1, 2025
a8ff88e
Merge remote-tracking branch 'origin/main' into v3
paul-paliychuk Aug 1, 2025
af6e2b0
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 5, 2025
acb509b
chore: Version bump
paul-paliychuk Aug 5, 2025
94691fb
SDK regeneration
fern-api[bot] Aug 5, 2025
8cae63f
chore: Add support for user/graph ontology targets
paul-paliychuk Aug 5, 2025
a905a3d
SDK regeneration
fern-api[bot] Aug 5, 2025
e6f2a20
chore: Add support for setting entity/edges on a list of users/graphs
paul-paliychuk Aug 5, 2025
86d6b3f
SDK regeneration
fern-api[bot] Aug 5, 2025
f454495
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 9, 2025
6792ca0
chore: Bump version
paul-paliychuk Aug 9, 2025
7ee9f5c
SDK regeneration
fern-api[bot] Aug 9, 2025
244a9af
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 9, 2025
f2a4c53
feat: Update compose context string util to include episodes and disp…
paul-paliychuk Aug 12, 2025
d24c433
chore: Bump version
paul-paliychuk Aug 12, 2025
32dd118
fix: tests
paul-paliychuk Aug 12, 2025
9209d7a
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 12, 2025
f41124c
chore: Remove redundant timestamp conversion branch
paul-paliychuk Aug 12, 2025
c168aea
SDK regeneration
fern-api[bot] Aug 12, 2025
93cfb7c
chore: Version bump
paul-paliychuk Aug 12, 2025
bbfe19c
Merge branch 'v3' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 12, 2025
8b33366
SDK regeneration
fern-api[bot] Aug 14, 2025
7be10f2
SDK regeneration
fern-api[bot] Aug 14, 2025
4aee67c
fix: tests
paul-paliychuk Aug 15, 2025
93d8bd2
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 16, 2025
6604932
chore: Version bump
paul-paliychuk Aug 16, 2025
6f79532
SDK regeneration
fern-api[bot] Aug 16, 2025
b9301c5
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 27, 2025
c395f57
chore: Simplify date parsing in string composition utility
paul-paliychuk Aug 27, 2025
15e5ff1
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Aug 27, 2025
2493c80
chore: Add python date util dep
paul-paliychuk Aug 27, 2025
18e1371
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Oct 3, 2025
410b862
chore: Bump version
paul-paliychuk Oct 3, 2025
abfdca1
SDK regeneration
fern-api[bot] Oct 3, 2025
fae9dec
SDK regeneration
fern-api[bot] Oct 3, 2025
ded04bb
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Oct 20, 2025
45cc7f6
chore: Bump version
paul-paliychuk Oct 20, 2025
03bd3ed
SDK regeneration
fern-api[bot] Oct 20, 2025
b40e1ee
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Oct 20, 2025
24d6bef
chore: Remove langchain dependency
paul-paliychuk Oct 20, 2025
f2b3762
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Oct 20, 2025
f2cbf6c
chore: Bump version
paul-paliychuk Oct 20, 2025
4c46ca3
SDK regeneration
fern-api[bot] Oct 20, 2025
e4b95ad
SDK regeneration
fern-api[bot] Oct 20, 2025
f304d37
SDK regeneration
fern-api[bot] Oct 21, 2025
767a0a4
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Oct 21, 2025
4a2f655
chore: Bump version
paul-paliychuk Oct 21, 2025
0c97c25
SDK regeneration
fern-api[bot] Oct 21, 2025
7d3634b
SDK regeneration
fern-api[bot] Oct 21, 2025
2ad98f5
SDK regeneration
fern-api[bot] Oct 21, 2025
fec0e27
SDK regeneration
fern-api[bot] Oct 21, 2025
c98a9d7
SDK regeneration
fern-api[bot] Oct 21, 2025
56bc835
SDK regeneration
fern-api[bot] Oct 21, 2025
3bcf751
SDK regeneration
fern-api[bot] Oct 21, 2025
3076b35
SDK regeneration
fern-api[bot] Oct 21, 2025
7bfff0c
SDK regeneration
fern-api[bot] Oct 21, 2025
55dbc18
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Oct 30, 2025
284de23
chore: Bump version
paul-paliychuk Oct 30, 2025
e06adad
SDK regeneration
fern-api[bot] Oct 30, 2025
93cab54
SDK regeneration
fern-api[bot] Oct 30, 2025
bc2c390
SDK regeneration
fern-api[bot] Oct 30, 2025
ee1caaa
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Nov 4, 2025
31ce377
chore: Bump version
paul-paliychuk Nov 4, 2025
ca5b77f
Merge branch 'v3' of github.com:getzep/zep-python into v3
paul-paliychuk Nov 4, 2025
ddccfaa
SDK regeneration
fern-api[bot] Nov 4, 2025
1343eae
SDK regeneration
fern-api[bot] Nov 4, 2025
673d70e
SDK regeneration
fern-api[bot] Nov 4, 2025
a4ae580
SDK regeneration
fern-api[bot] Nov 6, 2025
2277c0f
SDK regeneration
fern-api[bot] Nov 6, 2025
c22171a
Merge branch 'main' into v3
paul-paliychuk Nov 6, 2025
ad3c04f
chore: Bump version
paul-paliychuk Nov 14, 2025
ac83723
SDK regeneration
fern-api[bot] Nov 14, 2025
60a9858
SDK regeneration
fern-api[bot] Nov 15, 2025
a60ac4d
SDK regeneration
fern-api[bot] Nov 15, 2025
609f6e8
SDK regeneration
fern-api[bot] Nov 17, 2025
c876f15
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Nov 17, 2025
bb167fd
SDK regeneration
fern-api[bot] Nov 17, 2025
d8c7fc2
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Nov 18, 2025
24dfb9d
chore: Bump version
paul-paliychuk Nov 18, 2025
c430a93
SDK regeneration
fern-api[bot] Nov 18, 2025
6de11a7
chore: Bump version
paul-paliychuk Nov 18, 2025
9a0d4d2
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Nov 18, 2025
2ceb833
Merge branch 'v3' of github.com:getzep/zep-python into v3
paul-paliychuk Nov 18, 2025
1677e38
SDK regeneration
fern-api[bot] Nov 18, 2025
0b04e7b
SDK regeneration
fern-api[bot] Nov 20, 2025
a102f68
SDK regeneration
fern-api[bot] Nov 20, 2025
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
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name = "zep-cloud"

[tool.poetry]
name = "zep-cloud"
version = "3.12.0"
version = "3.13.0"
description = ""
readme = "README.md"
authors = []
Expand Down
86 changes: 79 additions & 7 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -767,6 +767,7 @@ client = Zep(
client.graph.add_fact_triple(
fact="fact",
fact_name="fact_name",
source_node_name="source_node_name",
target_node_name="target_node_name",
)

Expand Down Expand Up @@ -800,55 +801,55 @@ client.graph.add_fact_triple(
<dl>
<dd>

**target_node_name:** `str` — The name of the target node to add
**source_node_name:** `str` — The name of the source node to add

</dd>
</dl>

<dl>
<dd>

**created_at:** `typing.Optional[str]` — The timestamp of the message
**target_node_name:** `str` — The name of the target node to add

</dd>
</dl>

<dl>
<dd>

**expired_at:** `typing.Optional[str]` — The time (if any) at which the edge expires
**created_at:** `typing.Optional[str]` — The timestamp of the message

</dd>
</dl>

<dl>
<dd>

**fact_uuid:** `typing.Optional[str]` — The uuid of the edge to add
**expired_at:** `typing.Optional[str]` — The time (if any) at which the edge expires

</dd>
</dl>

<dl>
<dd>

**graph_id:** `typing.Optional[str]`
**fact_uuid:** `typing.Optional[str]` — The uuid of the edge to add

</dd>
</dl>

<dl>
<dd>

**invalid_at:** `typing.Optional[str]` — The time (if any) at which the fact stops being true
**graph_id:** `typing.Optional[str]`

</dd>
</dl>

<dl>
<dd>

**source_node_name:** `typing.Optional[str]` — The name of the source node to add
**invalid_at:** `typing.Optional[str]` — The time (if any) at which the fact stops being true

</dd>
</dl>
Expand Down Expand Up @@ -1630,6 +1631,77 @@ client.project.get()
</dl>


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

## Task
<details><summary><code>client.task.<a href="src/zep_cloud/task/client.py">get</a>(...)</code></summary>
<dl>
<dd>

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Gets a task by its ID
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from zep_cloud import Zep

client = Zep(
api_key="YOUR_API_KEY",
)
client.task.get(
task_id="task_id",
)

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**task_id:** `str` — Task ID

</dd>
</dl>

<dl>
<dd>

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

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


</dd>
</dl>
</details>
Expand Down
9 changes: 8 additions & 1 deletion src/zep_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
EpisodeResponse,
FactRatingExamples,
FactRatingInstruction,
GetTaskResponse,
Graph,
GraphDataType,
GraphEdgesRequest,
Expand All @@ -44,6 +45,8 @@
RoleType,
SearchFilters,
SuccessResponse,
TaskErrorResponse,
TaskProgress,
Thread,
ThreadContextResponse,
ThreadListResponse,
Expand All @@ -53,7 +56,7 @@
UserNodeResponse,
)
from .errors import BadRequestError, InternalServerError, NotFoundError
from . import context, graph, project, thread, user
from . import context, graph, project, task, thread, user
from .client import AsyncZep, Zep
from .environment import ZepEnvironment
from .thread import ThreadGetUserContextRequestMode
Expand Down Expand Up @@ -84,6 +87,7 @@
"EpisodeResponse",
"FactRatingExamples",
"FactRatingInstruction",
"GetTaskResponse",
"Graph",
"GraphDataType",
"GraphEdgesRequest",
Expand All @@ -105,6 +109,8 @@
"RoleType",
"SearchFilters",
"SuccessResponse",
"TaskErrorResponse",
"TaskProgress",
"Thread",
"ThreadContextResponse",
"ThreadGetUserContextRequestMode",
Expand All @@ -119,6 +125,7 @@
"context",
"graph",
"project",
"task",
"thread",
"user",
]
3 changes: 3 additions & 0 deletions src/zep_cloud/base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
from .environment import ZepEnvironment
from .graph.client import AsyncGraphClient, GraphClient
from .project.client import AsyncProjectClient, ProjectClient
from .task.client import AsyncTaskClient, TaskClient
from .thread.client import AsyncThreadClient, ThreadClient
from .user.client import AsyncUserClient, UserClient

Expand Down Expand Up @@ -84,6 +85,7 @@ def __init__(
self.context = ContextClient(client_wrapper=self._client_wrapper)
self.graph = GraphClient(client_wrapper=self._client_wrapper)
self.project = ProjectClient(client_wrapper=self._client_wrapper)
self.task = TaskClient(client_wrapper=self._client_wrapper)
self.thread = ThreadClient(client_wrapper=self._client_wrapper)
self.user = UserClient(client_wrapper=self._client_wrapper)

Expand Down Expand Up @@ -158,6 +160,7 @@ def __init__(
self.context = AsyncContextClient(client_wrapper=self._client_wrapper)
self.graph = AsyncGraphClient(client_wrapper=self._client_wrapper)
self.project = AsyncProjectClient(client_wrapper=self._client_wrapper)
self.task = AsyncTaskClient(client_wrapper=self._client_wrapper)
self.thread = AsyncThreadClient(client_wrapper=self._client_wrapper)
self.user = AsyncUserClient(client_wrapper=self._client_wrapper)

Expand Down
4 changes: 2 additions & 2 deletions src/zep_cloud/core/client_wrapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ def __init__(

def get_headers(self) -> typing.Dict[str, str]:
headers: typing.Dict[str, str] = {
"User-Agent": "zep-cloud/3.12.0",
"User-Agent": "zep-cloud/3.13.0",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "3.12.0",
"X-Fern-SDK-Version": "3.13.0",
**(self.get_custom_headers() or {}),
}
headers["Authorization"] = f"Api-Key {self.api_key}"
Expand Down
22 changes: 12 additions & 10 deletions src/zep_cloud/graph/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -256,13 +256,13 @@ def add_fact_triple(
*,
fact: str,
fact_name: str,
source_node_name: str,
target_node_name: str,
created_at: typing.Optional[str] = OMIT,
expired_at: typing.Optional[str] = OMIT,
fact_uuid: typing.Optional[str] = OMIT,
graph_id: typing.Optional[str] = OMIT,
invalid_at: typing.Optional[str] = OMIT,
source_node_name: typing.Optional[str] = OMIT,
source_node_summary: typing.Optional[str] = OMIT,
source_node_uuid: typing.Optional[str] = OMIT,
target_node_summary: typing.Optional[str] = OMIT,
Expand All @@ -282,6 +282,9 @@ def add_fact_triple(
fact_name : str
The name of the edge to add. Should be all caps using snake case (eg RELATES_TO)

source_node_name : str
The name of the source node to add

target_node_name : str
The name of the target node to add

Expand All @@ -299,9 +302,6 @@ def add_fact_triple(
invalid_at : typing.Optional[str]
The time (if any) at which the fact stops being true

source_node_name : typing.Optional[str]
The name of the source node to add

source_node_summary : typing.Optional[str]
The summary of the source node to add

Expand Down Expand Up @@ -337,19 +337,20 @@ def add_fact_triple(
client.graph.add_fact_triple(
fact="fact",
fact_name="fact_name",
source_node_name="source_node_name",
target_node_name="target_node_name",
)
"""
_response = self._raw_client.add_fact_triple(
fact=fact,
fact_name=fact_name,
source_node_name=source_node_name,
target_node_name=target_node_name,
created_at=created_at,
expired_at=expired_at,
fact_uuid=fact_uuid,
graph_id=graph_id,
invalid_at=invalid_at,
source_node_name=source_node_name,
source_node_summary=source_node_summary,
source_node_uuid=source_node_uuid,
target_node_summary=target_node_summary,
Expand Down Expand Up @@ -972,13 +973,13 @@ async def add_fact_triple(
*,
fact: str,
fact_name: str,
source_node_name: str,
target_node_name: str,
created_at: typing.Optional[str] = OMIT,
expired_at: typing.Optional[str] = OMIT,
fact_uuid: typing.Optional[str] = OMIT,
graph_id: typing.Optional[str] = OMIT,
invalid_at: typing.Optional[str] = OMIT,
source_node_name: typing.Optional[str] = OMIT,
source_node_summary: typing.Optional[str] = OMIT,
source_node_uuid: typing.Optional[str] = OMIT,
target_node_summary: typing.Optional[str] = OMIT,
Expand All @@ -998,6 +999,9 @@ async def add_fact_triple(
fact_name : str
The name of the edge to add. Should be all caps using snake case (eg RELATES_TO)

source_node_name : str
The name of the source node to add

target_node_name : str
The name of the target node to add

Expand All @@ -1015,9 +1019,6 @@ async def add_fact_triple(
invalid_at : typing.Optional[str]
The time (if any) at which the fact stops being true

source_node_name : typing.Optional[str]
The name of the source node to add

source_node_summary : typing.Optional[str]
The summary of the source node to add

Expand Down Expand Up @@ -1058,6 +1059,7 @@ async def main() -> None:
await client.graph.add_fact_triple(
fact="fact",
fact_name="fact_name",
source_node_name="source_node_name",
target_node_name="target_node_name",
)

Expand All @@ -1067,13 +1069,13 @@ async def main() -> None:
_response = await self._raw_client.add_fact_triple(
fact=fact,
fact_name=fact_name,
source_node_name=source_node_name,
target_node_name=target_node_name,
created_at=created_at,
expired_at=expired_at,
fact_uuid=fact_uuid,
graph_id=graph_id,
invalid_at=invalid_at,
source_node_name=source_node_name,
source_node_summary=source_node_summary,
source_node_uuid=source_node_uuid,
target_node_summary=target_node_summary,
Expand Down
Loading
Loading