Skip to content

APPS-sookmyung/CHAT-TONER

Repository files navigation

Chat-Toner: Your AI-Powered Communication Assistant

Desktop - 61 Desktop - 60

Chat-Toner is an intelligent text conversion and analysis service designed to refine your communication. It helps you adjust the tone and style of your writing, ensures quality and consistency, and provides a knowledge base for company-specific communication protocols.

Build Status License: MIT

FastAPI React NestJS Python TypeScript PostgreSQL Docker LangChain OpenAI


👋 Team Introduction

Name Role Email
Yoon Jiwon Project Lead [email protected]
Ha Jimin Frontend, UI/UX Research & Design [email protected]
Jung Jieun Infrastructure & Architecture Orchestration [email protected]
Kim Jimin RAG Construction, Langchain Agentic Flow & Learning System [email protected]

✨ Demo

🚀 Key Features

1. Intelligent Text Conversion

  • Tone & Style Adjustment: Easily convert your text between different communication styles (e.g., formal, friendly, direct).
  • Profile-Based Conversion: The system learns your preferences from surveys and feedback to provide personalized conversions.

KakaoTalk_Video_2025-11-03-15-08-15

2. Advanced Quality Analysis

image
  • Comprehensive Scoring: Get scores for your text based on Grammar, Formality, Readability, and Protocol Compliance.
  • Actionable Suggestions: Receive concrete suggestions for improving your text.
  • RAG-Powered Justification: Understand why you received a certain score. The system uses its knowledge base to provide clear justifications for its analysis.

[Placeholder for a screenshot of the quality analysis results with justifications]

3. RAG-Powered Knowledge Base

Ingestion UI RAG Q&A UI
image image
  • Document Ingestion: Build a company-specific knowledge base by uploading documents (PDFs, etc.).
  • Contextual Q&A: Ask questions and get answers based on the ingested documents, ensuring everyone follows the same guidelines.

4. Company & User Profiles

  • Onboarding Surveys: Quickly set up company-wide communication styles and protocols through a simple survey.
  • Personalized Experience: User-specific profiles store preferences and feedback, making the tool more effective over time.

🛠️ Tech Stack

Category Technology
Frontend React, TypeScript, Vite, Tailwind CSS, TanStack Query
API Gateway NestJS, TypeScript
Backend (Core) Python, FastAPI
AI & ML LangChain, OpenAI (GPT-4), PGVector
Database PostgreSQL (with PGVector extension)
DevOps Docker, Docker Compose, GitHub Actions
Testing Jest, Pytest
Code Quality ESLint, Prettier, Ruff

🏛️ Architecture

The Chat-Toner service is built on a microservices architecture, with a React frontend, a NestJS API gateway, and a Python backend for core AI/ML and business logic. image

📂 Directory Structure

.
├── packages/
│   ├── client/          # React Frontend
│   ├── nestjs-gateway/  # NestJS API Gateway
│   └── python_backend/  # FastAPI Backend (Core Logic & RAG)
├── database/            # Database migration scripts
├── infra/               # Infrastructure configs (e.g., task definitions)
├── docker-compose.yml   # Local development setup
└── README.md

🚀 Getting Started

Prerequisites

  • Node.js >= 18
  • Python >= 3.10
  • Docker & Docker Compose

Installation & Setup

  1. Clone the repository:

    git clone https://github.com/your-repo/2025-CHATTONER-Server.git
    cd 2025-CHATTONER-Server
  2. Set up environment variables: Create a .env.local file in the root directory and add the necessary environment variables. You can use .env.example as a template.

    cp .env.example .env.local

    Key variables to set:

    • OPENAI_API_KEY: Your OpenAI API key.
    • DATABASE_URL: The connection string for your PostgreSQL database.
  3. Install dependencies for all packages: This project uses npm workspaces. Run the command from the root directory.

    npm install

    This will install dependencies for the client, nestjs-gateway, and set up the Python environment for python_backend.

Running the Application

You can run all services together using Docker Compose.

docker-compose up --build

🤝 Contributing

We welcome contributions! Please follow these guidelines:

  • Follow the commit conventions (e.g., feat:, fix:, docs:).
  • Ensure all tests and linting checks pass before submitting a PR.
  • Update the README.md and any other relevant documentation if you make significant changes.

📄 License

This project is licensed under the MIT License. See the LICENSE.md file for details.


About

상황별 개인 말투변화 서비스 <ChatToner>

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 7