About the Project
Inspiration
As a writer, I constantly struggle with maintaining consistent character voices throughout my stories. Characters might contradict themselves, change their speaking patterns, or forget details they mentioned earlier. Manually tracking these inconsistencies across hundreds of pages became exhausting and time-consuming. I needed a tool that could act as my "continuity editor" – catching when a character's dialogue drifts from their established voice or contradicts previous statements.
What It Does
The Dialogue Consistency Checker is a Chrome extension that analyzes conversational text in real-time, identifying inconsistencies in character voice, tone, and factual statements. It leverages Chrome's built-in AI capabilities to:
- Monitor dialogue patterns and flag deviations from established character voices
- Detect contradictions in statements made by the same character
- Provide instant feedback without leaving your writing environment
- Work entirely in-browser with no external API calls required
How I Built It
I built this project using:
- Chrome's AI APIs (Prompt API, Language Model API) for on-device dialogue analysis
- JavaScript for the core extension logic
- Chrome Extension Manifest V3 for browser integration
- Local AI processing to ensure privacy and fast response times
The extension runs entirely client-side, analyzing text as you write and comparing it against established dialogue patterns for each character.
Challenges I Faced
- Prompt Engineering: Crafting effective prompts that could accurately identify subtle voice inconsistencies without generating false positives
- Performance Optimization: Ensuring real-time analysis didn't slow down the writing experience
- Context Management: Maintaining enough conversational context to catch inconsistencies while staying within token limits
- Chrome AI API Limitations: Working with the experimental nature of Chrome's built-in AI features
What I Learned
This project taught me how to harness browser-native AI capabilities to solve real-world creative problems. I learned the importance of efficient prompt design and discovered how local AI processing can provide powerful features while maintaining user privacy.
Impact
This tool has saved me countless hours of manual continuity checking and significantly improved the consistency of my character voices. What used to require multiple editing passes now happens in real-time as I write.
Log in or sign up for Devpost to join the conversation.