fix: Fix typo in JSON entity extraction prompt (#953)

* 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 <noreply@anthropic.com>

* Update graphiti_core/prompts/extract_nodes.py

Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: Daniel Chalef <131175+danielchalef@users.noreply.github.com>
This commit is contained in:
Jack Ryan 2025-10-01 11:23:39 -05:00 committed by GitHub
parent f466d5971b
commit 59fcc9545f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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
"""