Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 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
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.7.0"
version = "3.8.0"
description = ""
readme = "README.md"
authors = []
Expand Down
61 changes: 61 additions & 0 deletions reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -1204,6 +1204,67 @@ client.graph.update(
</dl>


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

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

#### 📝 Description

<dl>
<dd>

<dl>
<dd>

Retrieve project info based on the provided api key.
</dd>
</dl>
</dd>
</dl>

#### 🔌 Usage

<dl>
<dd>

<dl>
<dd>

```python
from zep_cloud import Zep

client = Zep(
api_key="YOUR_API_KEY",
)
client.project.get()

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

#### ⚙️ Parameters

<dl>
<dd>

<dl>
<dd>

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

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


</dd>
</dl>
</details>
Expand Down
7 changes: 6 additions & 1 deletion src/zep_cloud/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@
MessageListResponse,
ModelsFactRatingExamples,
ModelsFactRatingInstruction,
ProjectInfo,
ProjectInfoResponse,
Reranker,
RoleType,
SearchFilters,
Expand All @@ -47,7 +49,7 @@
UserNodeResponse,
)
from .errors import BadRequestError, InternalServerError, NotFoundError
from . import graph, thread, user
from . import graph, project, thread, user
from .client import AsyncZep, Zep
from .environment import ZepEnvironment
from .thread import ThreadGetUserContextRequestMode
Expand Down Expand Up @@ -90,6 +92,8 @@
"ModelsFactRatingExamples",
"ModelsFactRatingInstruction",
"NotFoundError",
"ProjectInfo",
"ProjectInfoResponse",
"Reranker",
"RoleType",
"SearchFilters",
Expand All @@ -105,6 +109,7 @@
"ZepEnvironment",
"__version__",
"graph",
"project",
"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 @@ -8,6 +8,7 @@
from .core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from .environment import ZepEnvironment
from .graph.client import AsyncGraphClient, GraphClient
from .project.client import AsyncProjectClient, ProjectClient
from .thread.client import AsyncThreadClient, ThreadClient
from .user.client import AsyncUserClient, UserClient

Expand Down Expand Up @@ -80,6 +81,7 @@ def __init__(
timeout=_defaulted_timeout,
)
self.graph = GraphClient(client_wrapper=self._client_wrapper)
self.project = ProjectClient(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 @@ -152,6 +154,7 @@ def __init__(
timeout=_defaulted_timeout,
)
self.graph = AsyncGraphClient(client_wrapper=self._client_wrapper)
self.project = AsyncProjectClient(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.7.0",
"User-Agent": "zep-cloud/3.8.0",
"X-Fern-Language": "Python",
"X-Fern-SDK-Name": "zep-cloud",
"X-Fern-SDK-Version": "3.7.0",
"X-Fern-SDK-Version": "3.8.0",
**(self.get_custom_headers() or {}),
}
headers["Authorization"] = f"Api-Key {self.api_key}"
Expand Down
4 changes: 4 additions & 0 deletions src/zep_cloud/project/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# This file was auto-generated by Fern from our API Definition.

# isort: skip_file

100 changes: 100 additions & 0 deletions src/zep_cloud/project/client.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,100 @@
# This file was auto-generated by Fern from our API Definition.

import typing

from ..core.client_wrapper import AsyncClientWrapper, SyncClientWrapper
from ..core.request_options import RequestOptions
from ..types.project_info_response import ProjectInfoResponse
from .raw_client import AsyncRawProjectClient, RawProjectClient


class ProjectClient:
def __init__(self, *, client_wrapper: SyncClientWrapper):
self._raw_client = RawProjectClient(client_wrapper=client_wrapper)

@property
def with_raw_response(self) -> RawProjectClient:
"""
Retrieves a raw implementation of this client that returns raw responses.

Returns
-------
RawProjectClient
"""
return self._raw_client

def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> ProjectInfoResponse:
"""
Retrieve project info based on the provided api key.

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

Returns
-------
ProjectInfoResponse
Retrieved

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

client = Zep(
api_key="YOUR_API_KEY",
)
client.project.get()
"""
_response = self._raw_client.get(request_options=request_options)
return _response.data


class AsyncProjectClient:
def __init__(self, *, client_wrapper: AsyncClientWrapper):
self._raw_client = AsyncRawProjectClient(client_wrapper=client_wrapper)

@property
def with_raw_response(self) -> AsyncRawProjectClient:
"""
Retrieves a raw implementation of this client that returns raw responses.

Returns
-------
AsyncRawProjectClient
"""
return self._raw_client

async def get(self, *, request_options: typing.Optional[RequestOptions] = None) -> ProjectInfoResponse:
"""
Retrieve project info based on the provided api key.

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

Returns
-------
ProjectInfoResponse
Retrieved

Examples
--------
import asyncio

from zep_cloud import AsyncZep

client = AsyncZep(
api_key="YOUR_API_KEY",
)


async def main() -> None:
await client.project.get()


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