How do I get an LLM to write consistent one-line titles or summaries for many items?
We recommend fixing one pattern and stating it in the prompt: who the subject is, which tense, and which words go first. In Five Principles for Generating Readable AI Text in Bulk, we rewrite seven agent session titles from a Claude sidebar so each starts with a verb in the continuous form, such as "Measuring vLLM performance," because readers take the first noun and verb as subject and action.
Sources: Five Principles for Generating Readable AI Text in Bulk
Guide: Interfaces for Data Work with LLMs
More questions on this topic
- How do I make AI-generated summaries in a dashboard or table easy to skim?
- Is there a better way to iterate on prompts when an LLM pipeline runs over many documents?
- Why is it so hard to find a good dataset for my project?
- My RAG answers are wrong. How do I tell whether retrieval or generation is the problem?
- How do I find which cells in a messy Jupyter notebook actually produced this plot or model, so I can clean it up?
- When I change an earlier Jupyter cell, how do I know which later cells to rerun?