Mem0ai + graph -> TypeError: string indices must be integers, not 'str'

Hi all,

I’ve configured the use of a neo4j GraphDB for my UserMemory.
Unfortunately, although I see that everything is stored as expected,

f.e. : {‘id’: ‘b25cf767-6547-45bf-a7f0-7b09606615e9’, ‘memory’: ‘Anna comes from Greece’, ‘hash’: ‘c2979d5465a2d054cc4aa787fb111fc4’, ‘metadata’: {‘country’: ‘Greece’, ‘continent’: ‘Europe’}, ‘score’: 0.7406379807831337, ‘created_at’: ‘2025-03-31T08:57:25.639023-07:00’, ‘updated_at’: None, ‘user_id’: ‘Mona’}

When I try to search with a corresponding query like:
“Where does Anna come from?”

I get the following "TypeError: string indices must be integers, not ‘str’ " from threading.py, although the results of the search look good.

I appreciate any help.
Regards,
Anna