An AI writing assistant that preserves your unique voice and writing style.
Voice Writing Assistant is a personalized AI tool that helps improve your writing while maintaining your authentic voice. Unlike generic AI writing assistants, this tool:
- Learns from YOUR writing samples
- Preserves YOUR vocabulary and style
- Integrates directly into your writing workflow
- Keeps your content private and secure
This project consists of two main components:
- FastAPI Backend: Handles retrieval, generation, and caching
- Chrome Extension: Provides seamless integration with Notion
- Vector Search: Leverages RAG (Retrieval Augmented Generation)
- Language Model: Uses Together AI's Mistral 7B
- Performance: Redis caching for sub-second responses
- Integration: Works directly in Notion (more platforms coming soon)
# Clone the repository
git clone https://github.com/yourusername/voice-writing-assistant.git
cd voice-writing-assistant
# Set up virtual environment
python -m venv .venv
source .venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Create .env file (see .env.example)
cp .env.example .env
# Edit .env with your API keys./run.sh
# or
python -m app.mainThe server will start on http://localhost:8001
- Open Chrome and go to chrome://extensions/
- Enable "Developer mode" (toggle in top-right)
- Click "Load unpacked"
- Select the chrome-extension folder from this repository
- Open Notion in Chrome
- Click on any text block to start editing
- Press Ctrl+Space (or click the ✨ icon) to get suggestions
- Choose a suggestion that matches your style
- Accept or dismiss as needed
# Install development dependencies
pip install -r requirements-dev.txt
# Run tests
pytest tests/
# Start server in development mode
uvicorn app.main:app --reloadThe Chrome extension uses vanilla JavaScript for maximum compatibility.
# Navigate to extension directory
cd chrome-extension
# Install dev dependencies if editing with npm tools
npm install