graphiti/graphiti_core/prompts
Daniel Chalef 8a78633e2f
Enforce shorter summaries with 8 sentence limit (#978)
* Enforce shorter summaries with 8 sentence limit

Replace 250-word limit with 8 sentence limit for node summaries to improve conciseness. Also update prompt system message for summarize_context to better reflect its dual purpose of generating summaries and attributes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update graphiti_core/prompts/summarize_nodes.py

Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>

* Bump version to 0.22.0pre1

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

* Update graphiti_core/prompts/summarize_nodes.py

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>

---------

Co-authored-by: Claude <noreply@anthropic.com>
Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com>
2025-10-04 14:37:16 -07:00
..
__init__.py chore: Fix packaging (#38) 2024-08-25 10:07:50 -07:00
dedupe_edges.py Optimize edge deduplication prompt for caching and clarity (#970) 2025-10-02 17:07:43 -07:00
dedupe_nodes.py Remove ensure_ascii configuration parameter (#969) 2025-10-02 15:10:57 -07:00
eval.py Remove ensure_ascii configuration parameter (#969) 2025-10-02 15:10:57 -07:00
extract_edge_dates.py prompt update (#378) 2025-04-18 00:09:12 -04:00
extract_edges.py fix: Improve edge extraction entity ID validation (#968) 2025-10-02 22:45:11 -07:00
extract_nodes.py Enforce shorter summaries with 8 sentence limit (#978) 2025-10-04 14:37:16 -07:00
invalidate_edges.py Node dedupe efficiency (#490) 2025-05-15 13:56:33 -04:00
lib.py Gemini support (#324) 2025-04-06 09:27:04 -07:00
models.py chore: update version to 0.9.3 and restructure dependencies (#338) 2025-04-08 20:47:38 -07:00
prompt_helpers.py Remove ensure_ascii configuration parameter (#969) 2025-10-02 15:10:57 -07:00
summarize_nodes.py Enforce shorter summaries with 8 sentence limit (#978) 2025-10-04 14:37:16 -07:00