From 59fcc9545f89480d50b7f4d89d1427354a189cb7 Mon Sep 17 00:00:00 2001 From: Jack Ryan <61809814+jackaldenryan@users.noreply.github.com> Date: Wed, 1 Oct 2025 11:23:39 -0500 Subject: [PATCH] fix: Fix typo in JSON entity extraction prompt (#953) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: Fix typo in JSON entity extraction prompt 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 * Update graphiti_core/prompts/extract_nodes.py Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com> --------- Co-authored-by: Claude Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com> --- 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..9d774ab8 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. Extract all 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 """