Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
96 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
e9cf212
Merge branch 'main' of github.com:getzep/zep-python into v3
paul-paliychuk Dec 17, 2025
94ea67a
chore: Bump version
paul-paliychuk Dec 17, 2025
cd6a511
SDK regeneration
fern-api[bot] Dec 17, 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.13.0"
version = "3.14.0"
description = ""
readme = "README.md"
authors = []
Expand Down
109 changes: 106 additions & 3 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,17 @@ client.graph.add_fact_triple(
<dl>
<dd>

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

Additional attributes of the edge. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

</dd>
</dl>

<dl>
<dd>

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

</dd>
Expand Down Expand Up @@ -857,6 +868,17 @@ client.graph.add_fact_triple(
<dl>
<dd>

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

Additional attributes of the source node. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

</dd>
</dl>

<dl>
<dd>

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

</dd>
Expand All @@ -873,6 +895,17 @@ client.graph.add_fact_triple(
<dl>
<dd>

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

Additional attributes of the target node. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

</dd>
</dl>

<dl>
<dd>

**target_node_summary:** `typing.Optional[str]` — The summary of the target node to add

</dd>
Expand Down Expand Up @@ -2014,7 +2047,7 @@ client.thread.get_user_context(
<dl>
<dd>

**min_rating:** `typing.Optional[float]` — The minimum rating by which to filter relevant facts.
**min_rating:** `typing.Optional[float]` — Deprecated, this field will be removed in a future release. The minimum rating by which to filter relevant facts.

</dd>
</dl>
Expand Down Expand Up @@ -2659,7 +2692,7 @@ client.user.add(
<dl>
<dd>

**fact_rating_instruction:** `typing.Optional[FactRatingInstruction]` — Optional instruction to use for fact rating.
**fact_rating_instruction:** `typing.Optional[FactRatingInstruction]` — Deprecated: this field will be removed in a future release. Optional instruction to use for fact rating.

</dd>
</dl>
Expand Down Expand Up @@ -2996,7 +3029,7 @@ client.user.update(
<dl>
<dd>

**fact_rating_instruction:** `typing.Optional[FactRatingInstruction]` — Optional instruction to use for fact rating.
**fact_rating_instruction:** `typing.Optional[FactRatingInstruction]` — Deprecated: this field will be removed in a future release. Optional instruction to use for fact rating.

</dd>
</dl>
Expand Down Expand Up @@ -4311,6 +4344,76 @@ client.graph.node.get(
</dl>


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

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

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Deletes a node by UUID.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from zep_cloud import Zep

client = Zep(
api_key="YOUR_API_KEY",
)
client.graph.node.delete(
uuid_="uuid",
)

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

**uuid_:** `str` — Node UUID

</dd>
</dl>

<dl>
<dd>

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

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


</dd>
</dl>
</details>
Expand Down
2 changes: 2 additions & 0 deletions src/zep_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
ModelsFactRatingInstruction,
ProjectInfo,
ProjectInfoResponse,
PropertyFilter,
Reranker,
RoleType,
SearchFilters,
Expand Down Expand Up @@ -105,6 +106,7 @@
"NotFoundError",
"ProjectInfo",
"ProjectInfoResponse",
"PropertyFilter",
"Reranker",
"RoleType",
"SearchFilters",
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.13.0",
"User-Agent": "zep-cloud/3.14.0",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "3.13.0",
"X-Fern-SDK-Version": "3.14.0",
**(self.get_custom_headers() or {}),
}
headers["Authorization"] = f"Api-Key {self.api_key}"
Expand Down
36 changes: 36 additions & 0 deletions src/zep_cloud/graph/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -259,12 +259,15 @@ def add_fact_triple(
source_node_name: str,
target_node_name: str,
created_at: typing.Optional[str] = OMIT,
edge_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = 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_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
source_node_summary: typing.Optional[str] = OMIT,
source_node_uuid: typing.Optional[str] = OMIT,
target_node_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
target_node_summary: typing.Optional[str] = OMIT,
target_node_uuid: typing.Optional[str] = OMIT,
user_id: typing.Optional[str] = OMIT,
Expand All @@ -291,6 +294,10 @@ def add_fact_triple(
created_at : typing.Optional[str]
The timestamp of the message

edge_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Additional attributes of the edge. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

expired_at : typing.Optional[str]
The time (if any) at which the edge expires

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

source_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Additional attributes of the source node. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

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

source_node_uuid : typing.Optional[str]
The source node uuid

target_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Additional attributes of the target node. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

target_node_summary : typing.Optional[str]
The summary of the target node to add

Expand Down Expand Up @@ -347,12 +362,15 @@ def add_fact_triple(
source_node_name=source_node_name,
target_node_name=target_node_name,
created_at=created_at,
edge_attributes=edge_attributes,
expired_at=expired_at,
fact_uuid=fact_uuid,
graph_id=graph_id,
invalid_at=invalid_at,
source_node_attributes=source_node_attributes,
source_node_summary=source_node_summary,
source_node_uuid=source_node_uuid,
target_node_attributes=target_node_attributes,
target_node_summary=target_node_summary,
target_node_uuid=target_node_uuid,
user_id=user_id,
Expand Down Expand Up @@ -976,12 +994,15 @@ async def add_fact_triple(
source_node_name: str,
target_node_name: str,
created_at: typing.Optional[str] = OMIT,
edge_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = 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_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
source_node_summary: typing.Optional[str] = OMIT,
source_node_uuid: typing.Optional[str] = OMIT,
target_node_attributes: typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]] = OMIT,
target_node_summary: typing.Optional[str] = OMIT,
target_node_uuid: typing.Optional[str] = OMIT,
user_id: typing.Optional[str] = OMIT,
Expand All @@ -1008,6 +1029,10 @@ async def add_fact_triple(
created_at : typing.Optional[str]
The timestamp of the message

edge_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Additional attributes of the edge. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

expired_at : typing.Optional[str]
The time (if any) at which the edge expires

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

source_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Additional attributes of the source node. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

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

source_node_uuid : typing.Optional[str]
The source node uuid

target_node_attributes : typing.Optional[typing.Dict[str, typing.Optional[typing.Any]]]
Additional attributes of the target node. Values must be scalar types (string, number, boolean, or null).
Nested objects and arrays are not allowed.

target_node_summary : typing.Optional[str]
The summary of the target node to add

Expand Down Expand Up @@ -1072,12 +1105,15 @@ async def main() -> None:
source_node_name=source_node_name,
target_node_name=target_node_name,
created_at=created_at,
edge_attributes=edge_attributes,
expired_at=expired_at,
fact_uuid=fact_uuid,
graph_id=graph_id,
invalid_at=invalid_at,
source_node_attributes=source_node_attributes,
source_node_summary=source_node_summary,
source_node_uuid=source_node_uuid,
target_node_attributes=target_node_attributes,
target_node_summary=target_node_summary,
target_node_uuid=target_node_uuid,
user_id=user_id,
Expand Down
Loading
Loading