zep-cloud 2.5.0__tar.gz → 2.6.0__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/PKG-INFO +1 -1
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/pyproject.toml +1 -1
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/client_wrapper.py +1 -1
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/memory/client.py +15 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/LICENSE +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/README.md +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/base_client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/api_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/datetime_utils.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/file.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/http_client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/jsonable_encoder.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/pydantic_utilities.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/query_encoder.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/remove_none_from_dict.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/core/request_options.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/document/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/document/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/environment.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/errors/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/errors/bad_request_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/errors/conflict_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/errors/internal_server_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/errors/not_found_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/errors/unauthorized_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/external_clients/document.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/external_clients/memory.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/external_clients/user.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/extractor/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/extractor/models.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/edge/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/edge/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/episode/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/episode/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/node/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/graph/node/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/group/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/group/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/memory/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/py.typed +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/add_memory_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/add_triple_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/api_error.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/apidata_document.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/apidata_document_collection.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/apidata_document_search_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/apidata_document_with_score.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/classify_session_request.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/create_document_request.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/end_session_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/end_sessions_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/entity_edge.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/entity_node.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/episode.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/episode_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/fact.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/fact_rating_examples.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/fact_rating_instruction.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/fact_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/facts_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/graph_data_type.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/graph_search_results.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/graph_search_scope.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/group.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/group_list_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/memory.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/memory_search_result.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/message.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/message_list_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/new_fact.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/question.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/reranker.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/role_type.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/search_filters.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/search_scope.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/search_type.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/session.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/session_classification.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/session_list_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/session_search_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/session_search_result.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/success_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/summary.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/summary_list_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/update_document_list_request.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/user.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/user_list_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/types/user_node_response.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/user/__init__.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/user/client.py +0 -0
- {zep_cloud-2.5.0 → zep_cloud-2.6.0}/src/zep_cloud/version.py +0 -0
|
@@ -17,7 +17,7 @@ class BaseClientWrapper:
|
|
|
17
17
|
headers: typing.Dict[str, str] = {
|
|
18
18
|
"X-Fern-Language": "Python",
|
|
19
19
|
"X-Fern-SDK-Name": "zep-cloud",
|
|
20
|
-
"X-Fern-SDK-Version": "2.
|
|
20
|
+
"X-Fern-SDK-Version": "2.6.0",
|
|
21
21
|
}
|
|
22
22
|
headers["Authorization"] = f"Api-Key {self.api_key}"
|
|
23
23
|
return headers
|
|
@@ -26,6 +26,7 @@ from ..types.message import Message
|
|
|
26
26
|
from ..types.message_list_response import MessageListResponse
|
|
27
27
|
from ..types.new_fact import NewFact
|
|
28
28
|
from ..types.question import Question
|
|
29
|
+
from ..types.role_type import RoleType
|
|
29
30
|
from ..types.search_scope import SearchScope
|
|
30
31
|
from ..types.search_type import SearchType
|
|
31
32
|
from ..types.session import Session
|
|
@@ -975,6 +976,7 @@ class MemoryClient:
|
|
|
975
976
|
*,
|
|
976
977
|
messages: typing.Sequence[Message],
|
|
977
978
|
fact_instruction: typing.Optional[str] = OMIT,
|
|
979
|
+
ignore_roles: typing.Optional[typing.Sequence[RoleType]] = OMIT,
|
|
978
980
|
return_context: typing.Optional[bool] = OMIT,
|
|
979
981
|
summary_instruction: typing.Optional[str] = OMIT,
|
|
980
982
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -993,6 +995,11 @@ class MemoryClient:
|
|
|
993
995
|
fact_instruction : typing.Optional[str]
|
|
994
996
|
Deprecated
|
|
995
997
|
|
|
998
|
+
ignore_roles : typing.Optional[typing.Sequence[RoleType]]
|
|
999
|
+
Optional list of role types to ignore when adding messages to graph memory.
|
|
1000
|
+
The message itself will still be added retained and used as context for messages
|
|
1001
|
+
that are added to a user's graph.
|
|
1002
|
+
|
|
996
1003
|
return_context : typing.Optional[bool]
|
|
997
1004
|
Optionally return memory context relevant to the most recent messages.
|
|
998
1005
|
|
|
@@ -1030,6 +1037,7 @@ class MemoryClient:
|
|
|
1030
1037
|
method="POST",
|
|
1031
1038
|
json={
|
|
1032
1039
|
"fact_instruction": fact_instruction,
|
|
1040
|
+
"ignore_roles": ignore_roles,
|
|
1033
1041
|
"messages": messages,
|
|
1034
1042
|
"return_context": return_context,
|
|
1035
1043
|
"summary_instruction": summary_instruction,
|
|
@@ -2528,6 +2536,7 @@ class AsyncMemoryClient:
|
|
|
2528
2536
|
*,
|
|
2529
2537
|
messages: typing.Sequence[Message],
|
|
2530
2538
|
fact_instruction: typing.Optional[str] = OMIT,
|
|
2539
|
+
ignore_roles: typing.Optional[typing.Sequence[RoleType]] = OMIT,
|
|
2531
2540
|
return_context: typing.Optional[bool] = OMIT,
|
|
2532
2541
|
summary_instruction: typing.Optional[str] = OMIT,
|
|
2533
2542
|
request_options: typing.Optional[RequestOptions] = None,
|
|
@@ -2546,6 +2555,11 @@ class AsyncMemoryClient:
|
|
|
2546
2555
|
fact_instruction : typing.Optional[str]
|
|
2547
2556
|
Deprecated
|
|
2548
2557
|
|
|
2558
|
+
ignore_roles : typing.Optional[typing.Sequence[RoleType]]
|
|
2559
|
+
Optional list of role types to ignore when adding messages to graph memory.
|
|
2560
|
+
The message itself will still be added retained and used as context for messages
|
|
2561
|
+
that are added to a user's graph.
|
|
2562
|
+
|
|
2549
2563
|
return_context : typing.Optional[bool]
|
|
2550
2564
|
Optionally return memory context relevant to the most recent messages.
|
|
2551
2565
|
|
|
@@ -2591,6 +2605,7 @@ class AsyncMemoryClient:
|
|
|
2591
2605
|
method="POST",
|
|
2592
2606
|
json={
|
|
2593
2607
|
"fact_instruction": fact_instruction,
|
|
2608
|
+
"ignore_roles": ignore_roles,
|
|
2594
2609
|
"messages": messages,
|
|
2595
2610
|
"return_context": return_context,
|
|
2596
2611
|
"summary_instruction": summary_instruction,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|