Ignore standard entity types
Resolving https://github.com/getzep/graphiti/issues/465
[!IMPORTANT] Add
custom_entity_types_onlyparameter to filter out default entity types in episode processing.
- Behavior:
- Add
custom_entity_types_onlyparameter toadd_episodeingraphiti.pyandextract_nodesinnode_operations.pyto filter out default entity types.- When
custom_entity_types_onlyisTrue, only custom entity types are processed, filtering out entities withentity_type_id0.- Functions:
- Update
extract_nodesto include filtering logic forcustom_entity_types_only.- Log the number of entities kept after filtering in
extract_nodes.- Misc:
- Update docstring for
add_episodeingraphiti.pyto describecustom_entity_types_onlyparameter.This description was created by
for 6f4be967a2479caf53eba16e594ce0f50e93f21d. You can customize this summary. It will automatically update as commits are pushed.
Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.
I have read the CLA Document and I hereby sign the CLA
You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.
I have read the CLA Document and I hereby sign the CLA
@danielchalef any news on this?
Thanks for the contribution. We're taking a different approach to accomplishing this. See: https://github.com/getzep/graphiti/pull/624