-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue in 'event' tag for adding memory #2043
Comments
@Dev-Khant when using locally hosted LLMs, the prompt is too long for the LLM to analyse it and correctly respond. This is especially true of This is causing missing keys for events, and incorrect results (it basically updates nothing, retaining the same memory) Can we shorten the prompt? |
Having the same issue. |
@rajesh0854 @Dev-Khant the following shortened prompt works well for me with llama3:instruct
|
🐛 Describe the bug
Regards to #2030, the error
ERROR:root:Error in new_memories_with_actions: 'event'
is stemming from mem0/memory/main.py function_add_to_vector_store
The LLM is not generating the correct JSON output, i.e. does not have specific key
However, this should not cause an error. We should be able to manually provide event, or at least provide a default value in case of error
The text was updated successfully, but these errors were encountered: