Help in excluding personal information from the conversation #2163
Unanswered
Bharatram-Natarajan
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi all,
'excludes' parameter in client.add seems not to work consistently.
This is the example provided for your reference
conversation_info = [
{"role": "user", "content": "hi, i need help with my laptop. Its not turning on. Regards priya Staff data scientist xyz company"},
{"role": "assistant", "content": "what kind of issue is being faced?"},
{"role": "user", "content": "The screen is blank.i tried pressing the start button multiple times. priya Staff data scientist xyz company"},
{"role": "assistant", "content": "Try holding the power button for 5 seconds. As the system would have gone to sleep mode."},
{"role": "user", "content": "Tried the same.Not helpful. priya Staff data scientist xyz company"},
{"role": "assistant", "content": "Ok. let me check what else can be done?"},
]
excluded_information = "personal information, sensitive data"
ass_res = mem_client.add(conversation_info, user_id='priyav1', excludes= excluded_information, output_format="v1.1")
The above response includes the personal information in the memory like 'priya', 'staff data scientist at xyz website'.
Can someone help me how to properly exclude personal information?
Beta Was this translation helpful? Give feedback.
All reactions