GET IN TOUCH

FFSaraf12@gmail.com
Return

Project

LLM Text Editor

Year: 2024
PythonStreamlitReactPostgreSQLMistral
LLM Text Editor landing page

Overview

A web app for grammar correction powered by a large language model. Users submit text, review highlighted corrections as an inline diff, and refine the result, with a token-based economy and collaborative editing built on top.

Key Features:
  • LLM grammar correction with Mistral, shown as an editable inline diff before accepting
  • Three user tiers: free (short texts), paid (tokens, downloads, history, collaboration), and super users (moderation)
  • Collaborative editing where paid users share documents and work toward an agreed-upon version
  • Complaints system resolved by super users with token penalties
  • Prompt injection prevention via input sanitization and system prompt masking

My Role

Developer
Built as a software engineering course project, later cleaned up and deployed. I built the Streamlit app with a custom bidirectional React component for the editable diff view, the PostgreSQL-backed account, token, and moderation systems, and the Mistral API integration.

Welcome to

FARDIN'S PORTFOLIO

Loading portfolio interface

FFSaraf12@gmail.com