-
Refactor summary prompts to use character limit and prevent meta-commentary (#979)
发布于
2025-10-04 22:44:00 +00:00 - Refactor summary prompts to use character limit and prevent meta-commentary
- Changed summary length constraint from "8 sentences" to "250 characters" for more predictable output
- Created reusable summary_instructions snippet in snippets.py with clear BAD/GOOD examples
- Added explicit instruction to output only factual content without meta-commentary
- Applied consistent formatting across extract_nodes.py and summarize_nodes.py
- Bumped version to 0.22.0pre2
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
- Add copyright header to snippets.py
🤖 Generated with Claude Code
Co-Authored-By: Claude noreply@anthropic.com
Co-authored-by: Claude noreply@anthropic.com
下载附件