Skip to content

Commit

Permalink
SDK regeneration
Browse files Browse the repository at this point in the history
  • Loading branch information
fern-api[bot] committed Oct 16, 2024
1 parent 348fda6 commit 361f93b
Showing 1 changed file with 14 additions and 10 deletions.
24 changes: 14 additions & 10 deletions src/zep_cloud/memory/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,7 @@ def end_sessions(
def search_sessions(
self,
*,
text: str,
limit: typing.Optional[int] = None,
min_fact_rating: typing.Optional[float] = OMIT,
min_score: typing.Optional[float] = OMIT,
Expand All @@ -335,7 +336,6 @@ def search_sessions(
search_scope: typing.Optional[SearchScope] = OMIT,
search_type: typing.Optional[SearchType] = OMIT,
session_ids: typing.Optional[typing.Sequence[str]] = OMIT,
text: typing.Optional[str] = OMIT,
user_id: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> SessionSearchResponse:
Expand All @@ -344,6 +344,9 @@ def search_sessions(
Parameters
----------
text : str
The search text.
limit : typing.Optional[int]
The maximum number of search results to return. Defaults to None (no limit).
Expand All @@ -368,9 +371,6 @@ def search_sessions(
session_ids : typing.Optional[typing.Sequence[str]]
the session ids to search
text : typing.Optional[str]
The search text.
user_id : typing.Optional[str]
User ID used to determine which sessions to search. Required on Community Edition.
Expand All @@ -389,7 +389,9 @@ def search_sessions(
client = Zep(
api_key="YOUR_API_KEY",
)
client.memory.search_sessions()
client.memory.search_sessions(
text="text",
)
"""
_response = self._client_wrapper.httpx_client.request(
"sessions/search",
Expand Down Expand Up @@ -1710,6 +1712,7 @@ async def end_sessions(
async def search_sessions(
self,
*,
text: str,
limit: typing.Optional[int] = None,
min_fact_rating: typing.Optional[float] = OMIT,
min_score: typing.Optional[float] = OMIT,
Expand All @@ -1718,7 +1721,6 @@ async def search_sessions(
search_scope: typing.Optional[SearchScope] = OMIT,
search_type: typing.Optional[SearchType] = OMIT,
session_ids: typing.Optional[typing.Sequence[str]] = OMIT,
text: typing.Optional[str] = OMIT,
user_id: typing.Optional[str] = OMIT,
request_options: typing.Optional[RequestOptions] = None,
) -> SessionSearchResponse:
Expand All @@ -1727,6 +1729,9 @@ async def search_sessions(
Parameters
----------
text : str
The search text.
limit : typing.Optional[int]
The maximum number of search results to return. Defaults to None (no limit).
Expand All @@ -1751,9 +1756,6 @@ async def search_sessions(
session_ids : typing.Optional[typing.Sequence[str]]
the session ids to search
text : typing.Optional[str]
The search text.
user_id : typing.Optional[str]
User ID used to determine which sessions to search. Required on Community Edition.
Expand All @@ -1772,7 +1774,9 @@ async def search_sessions(
client = AsyncZep(
api_key="YOUR_API_KEY",
)
await client.memory.search_sessions()
await client.memory.search_sessions(
text="text",
)
"""
_response = await self._client_wrapper.httpx_client.request(
"sessions/search",
Expand Down

0 comments on commit 361f93b

Please sign in to comment.