feedback
method on the Mem0 client.
feedback
parameter can be one of the following values:
POSITIVE
: The memory is useful.NEGATIVE
: The memory is not useful.VERY_NEGATIVE
: The memory is not useful at all.feedback
method accepts these parameters:
Parameter | Type | Required | Description |
---|---|---|---|
memory_id | string | Yes | The ID of the memory to give feedback on |
feedback | string | No | Type of feedback: POSITIVE , NEGATIVE , or VERY_NEGATIVE |
feedback_reason | string | No | Optional explanation for the feedback |
None
or null
to the feedback
and feedback_reason
parameters to remove existing feedback for a memory.