Skip to content

ASHEN-IX/ConvoSummarizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chat Summarization AI

Summarize chat messages using OpenRouter LLM with a Gradio web interface.

Setup

  1. Copy .env.example to .env and add your OpenRouter API key:
OPENROUTER_API_KEY=sk-or-v1-your-key-here
MODEL_ID=mistralai/mistral-7b-instruct:free
  1. Install dependencies (if needed):
pip install -r requirements.txt

Usage

Run the Gradio app:

python app.py

Then paste your chat messages as JSON:

[
  {"sender": "Alice", "message": "Hello!"},
  {"sender": "Bob", "message": "Hi there!"}
]

Project Structure

  • config.py - Configuration and environment variables
  • llm_client.py - OpenRouter API client
  • summarizer.py - Summarization logic
  • app.py - Gradio web interface

About

Automatically summarizes chat conversations, extracting essential insights and action items in a structured format.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages