From 1f8fdf75dd6c4534163d427dec140d918aafaacc Mon Sep 17 00:00:00 2001 From: jackaldenryan Date: Tue, 30 Sep 2025 13:26:11 -0500 Subject: [PATCH] fix: Fix typo in JSON entity extraction prompt MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change "an entities" to "any entities" in guideline 1 of the extract_json prompt. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude --- graphiti_core/prompts/extract_nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/graphiti_core/prompts/extract_nodes.py b/graphiti_core/prompts/extract_nodes.py index 3b98a84a..f95a2229 100644 --- a/graphiti_core/prompts/extract_nodes.py +++ b/graphiti_core/prompts/extract_nodes.py @@ -151,7 +151,7 @@ For each entity extracted, also determine its entity type based on the provided Indicate the classified entity type by providing its entity_type_id. Guidelines: -1. Always try to extract an entities that the JSON represents. This will often be something like a "name" or "user field +1. Always try to extract any entities that the JSON represents. This will often be something like a "name" or "user" field 2. Extract all entities mentioned in all other properties throughout the JSON structure 3. Do NOT extract any properties that contain dates """