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
I deployed mem0 locally using Docker and tried updating the memory function on the interface of Mem0 REST APIs. The request body for updating functionality was requested, but no examples or parameters were provided. Therefore, I referred to the API Reference on the official website and tried, but the following problem occurred. I have been trying for a long time but have not been able to solve the updated feature. I hope someone can tell me how to solve it.
ERROR:
1 validation error for EmbeddingsRequest\nprompt\n Input should be a valid string [type=string_type, input_value={'text': "Xiaoming doesn' ... e to eat fried chicken"}, input type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/string_type"
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I deployed mem0 locally using Docker and tried updating the memory function on the interface of Mem0 REST APIs. The request body for updating functionality was requested, but no examples or parameters were provided. Therefore, I referred to the API Reference on the official website and tried, but the following problem occurred. I have been trying for a long time but have not been able to solve the updated feature. I hope someone can tell me how to solve it.
Enter on the command line:
curl -X 'PUT'
'http://10.11.12.13:8888/memories/be88c1ab-efe5-45d2-97c6-6f933106f769'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{"text": "Xiaoming doesn't like to eat fried chicken"}'
ERROR:
1 validation error for EmbeddingsRequest\nprompt\n Input should be a valid string [type=string_type, input_value={'text': "Xiaoming doesn' ... e to eat fried chicken"}, input type=dict]\n For further information visit https://errors.pydantic.dev/2.10/v/string_type"
Beta Was this translation helpful? Give feedback.
All reactions