Find answers from the community

Home
Members
Super_Leo_GoGo
S
Super_Leo_GoGo
Offline, last seen 6 months ago
Joined September 25, 2024
Hi, I am wondering whether anyone suffered the same issue: with using the EntityExtractor, there would be a 'TypeError: Object of type set is not JSON serializable' error when persisting the index? I find it is probably because the 'entities' field in the index docstore is a set instead of list. My solution is converting the set of entities to list before building the index. I am wondering whether it is a module bug need to be fixed?
1 comment
L