Skip to content

Commit 576298a

Browse files
SDK regeneration
1 parent 44efecc commit 576298a

36 files changed

Lines changed: 2141 additions & 381 deletions

reference.md

Lines changed: 420 additions & 63 deletions
Large diffs are not rendered by default.

src/zep_cloud/__init__.py

Lines changed: 26 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,16 @@
77
AddThreadMessagesResponse,
88
AddTripleResponse,
99
ApiError,
10+
ApidataDetectPatternsResponse,
11+
ApidataPatternExample,
1012
CloneGraphResponse,
13+
ClusterDetectConfig,
14+
CoOccurrenceDetectConfig,
1115
ComparisonOperator,
1216
ContextTemplateResponse,
1317
CustomInstruction,
1418
DateFilter,
19+
DetectConfig,
1520
EdgeType,
1621
EntityEdge,
1722
EntityEdgeSourceTarget,
@@ -24,8 +29,6 @@
2429
EpisodeData,
2530
EpisodeMentions,
2631
EpisodeResponse,
27-
FactRatingExamples,
28-
FactRatingInstruction,
2932
GetTaskResponse,
3033
Graph,
3134
GraphDataType,
@@ -34,16 +37,21 @@
3437
GraphNodesRequest,
3538
GraphSearchResults,
3639
GraphSearchScope,
40+
HubDetectConfig,
3741
ListContextTemplatesResponse,
3842
ListCustomInstructionsResponse,
3943
ListUserInstructionsResponse,
4044
Message,
4145
MessageListResponse,
42-
ModelsFactRatingExamples,
43-
ModelsFactRatingInstruction,
46+
PathDetectConfig,
47+
PatternMetadata,
48+
PatternResult,
49+
PatternSeeds,
4450
ProjectInfo,
4551
ProjectInfoResponse,
4652
PropertyFilter,
53+
RecencyWeight,
54+
RelationshipDetectConfig,
4755
Reranker,
4856
RoleType,
4957
SearchFilters,
@@ -58,25 +66,29 @@
5866
UserListResponse,
5967
UserNodeResponse,
6068
)
61-
from .errors import BadRequestError, InternalServerError, NotFoundError
69+
from .errors import BadRequestError, ForbiddenError, InternalServerError, NotFoundError
6270
from . import context, graph, project, task, thread, user
6371
from .client import AsyncZep, Zep
6472
from .environment import ZepEnvironment
65-
from .thread import ThreadGetUserContextRequestMode
6673
from .version import __version__
6774

6875
__all__ = [
6976
"AddThreadMessagesRequest",
7077
"AddThreadMessagesResponse",
7178
"AddTripleResponse",
7279
"ApiError",
80+
"ApidataDetectPatternsResponse",
81+
"ApidataPatternExample",
7382
"AsyncZep",
7483
"BadRequestError",
7584
"CloneGraphResponse",
85+
"ClusterDetectConfig",
86+
"CoOccurrenceDetectConfig",
7687
"ComparisonOperator",
7788
"ContextTemplateResponse",
7889
"CustomInstruction",
7990
"DateFilter",
91+
"DetectConfig",
8092
"EdgeType",
8193
"EntityEdge",
8294
"EntityEdgeSourceTarget",
@@ -89,8 +101,7 @@
89101
"EpisodeData",
90102
"EpisodeMentions",
91103
"EpisodeResponse",
92-
"FactRatingExamples",
93-
"FactRatingInstruction",
104+
"ForbiddenError",
94105
"GetTaskResponse",
95106
"Graph",
96107
"GraphDataType",
@@ -99,18 +110,23 @@
99110
"GraphNodesRequest",
100111
"GraphSearchResults",
101112
"GraphSearchScope",
113+
"HubDetectConfig",
102114
"InternalServerError",
103115
"ListContextTemplatesResponse",
104116
"ListCustomInstructionsResponse",
105117
"ListUserInstructionsResponse",
106118
"Message",
107119
"MessageListResponse",
108-
"ModelsFactRatingExamples",
109-
"ModelsFactRatingInstruction",
110120
"NotFoundError",
121+
"PathDetectConfig",
122+
"PatternMetadata",
123+
"PatternResult",
124+
"PatternSeeds",
111125
"ProjectInfo",
112126
"ProjectInfoResponse",
113127
"PropertyFilter",
128+
"RecencyWeight",
129+
"RelationshipDetectConfig",
114130
"Reranker",
115131
"RoleType",
116132
"SearchFilters",
@@ -119,7 +135,6 @@
119135
"TaskProgress",
120136
"Thread",
121137
"ThreadContextResponse",
122-
"ThreadGetUserContextRequestMode",
123138
"ThreadListResponse",
124139
"User",
125140
"UserInstruction",

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.16.0",
25+
"User-Agent": "zep-cloud/3.17.0",
2626
"X-Fern-Language": "Python",
2727
"X-Fern-SDK-Name": "zep-cloud",
28-
"X-Fern-SDK-Version": "3.16.0",
28+
"X-Fern-SDK-Version": "3.17.0",
2929
**(self.get_custom_headers() or {}),
3030
}
3131
headers["Authorization"] = f"Api-Key {self.api_key}"

src/zep_cloud/errors/__init__.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
# isort: skip_file
44

55
from .bad_request_error import BadRequestError
6+
from .forbidden_error import ForbiddenError
67
from .internal_server_error import InternalServerError
78
from .not_found_error import NotFoundError
89

9-
__all__ = ["BadRequestError", "InternalServerError", "NotFoundError"]
10+
__all__ = ["BadRequestError", "ForbiddenError", "InternalServerError", "NotFoundError"]
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# This file was auto-generated by Fern from our API Definition.
2+
3+
import typing
4+
5+
from ..core.api_error import ApiError as core_api_error_ApiError
6+
from ..types.api_error import ApiError as types_api_error_ApiError
7+
8+
9+
class ForbiddenError(core_api_error_ApiError):
10+
def __init__(self, body: types_api_error_ApiError, headers: typing.Optional[typing.Dict[str, str]] = None):
11+
super().__init__(status_code=403, headers=headers, body=body)

0 commit comments

Comments
 (0)