You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds new summary instructions for users graphs without removing existing ones. If user_ids is empty, adds to project-wide default instructions.
1984
+
</dd>
1985
+
</dl>
1986
+
</dd>
1987
+
</dl>
1988
+
1989
+
#### 🔌 Usage
1990
+
1991
+
<dl>
1992
+
<dd>
1993
+
1994
+
<dl>
1995
+
<dd>
1996
+
1997
+
```python
1998
+
from zep_cloud import UserInstruction, Zep
1999
+
2000
+
client = Zep(
2001
+
api_key="YOUR_API_KEY",
2002
+
)
2003
+
client.user.add_user_summary_instructions(
2004
+
instructions=[
2005
+
UserInstruction(
2006
+
name="name",
2007
+
text="text",
2008
+
)
2009
+
],
2010
+
)
2011
+
2012
+
```
2013
+
</dd>
2014
+
</dl>
2015
+
</dd>
2016
+
</dl>
2017
+
2018
+
#### ⚙️ Parameters
2019
+
2020
+
<dl>
2021
+
<dd>
2022
+
2023
+
<dl>
2024
+
<dd>
2025
+
2026
+
**instructions:**`typing.Sequence[UserInstruction]` — Instructions to add to the user summary generation.
2027
+
2028
+
</dd>
2029
+
</dl>
2030
+
2031
+
<dl>
2032
+
<dd>
2033
+
2034
+
**user_ids:**`typing.Optional[typing.Sequence[str]]` — User IDs to add the instructions to. If empty, the instructions are added to the project-wide default.
Deletes user summary/instructions for users or project wide defaults.
2067
+
</dd>
2068
+
</dl>
2069
+
</dd>
2070
+
</dl>
2071
+
2072
+
#### 🔌 Usage
2073
+
2074
+
<dl>
2075
+
<dd>
2076
+
2077
+
<dl>
2078
+
<dd>
2079
+
2080
+
```python
2081
+
from zep_cloud import Zep
2082
+
2083
+
client = Zep(
2084
+
api_key="YOUR_API_KEY",
2085
+
)
2086
+
client.user.delete_user_summary_instructions()
2087
+
2088
+
```
2089
+
</dd>
2090
+
</dl>
2091
+
</dd>
2092
+
</dl>
2093
+
2094
+
#### ⚙️ Parameters
2095
+
2096
+
<dl>
2097
+
<dd>
2098
+
2099
+
<dl>
2100
+
<dd>
2101
+
2102
+
**instruction_names:**`typing.Optional[typing.Sequence[str]]` — Unique identifier for the instructions to be deleted. If empty deletes all instructions.
2103
+
2104
+
</dd>
2105
+
</dl>
2106
+
2107
+
<dl>
2108
+
<dd>
2109
+
2110
+
**user_ids:**`typing.Optional[typing.Sequence[str]]` — Determines which users will have their custom instructions deleted. If no users are provided, the project-wide custom instructions will be effected.
0 commit comments