Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,43 +1,73 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
colorFrom: blue
|
| 5 |
-
colorTo:
|
| 6 |
-
sdk:
|
| 7 |
-
|
| 8 |
-
|
| 9 |
-
|
| 10 |
-
|
| 11 |
-
- facebook/bart-large-cnn
|
| 12 |
-
license: apache-2.0
|
| 13 |
---
|
| 14 |
|
| 15 |
-
#
|
| 16 |
|
| 17 |
-
|
| 18 |
|
| 19 |
## Features
|
| 20 |
|
| 21 |
-
-
|
| 22 |
-
-
|
| 23 |
-
-
|
| 24 |
-
-
|
| 25 |
-
-
|
|
|
|
| 26 |
|
| 27 |
-
##
|
| 28 |
|
| 29 |
-
|
| 30 |
-
|
| 31 |
-
|
| 32 |
-
|
| 33 |
-
|
| 34 |
-
- Persistent storage for data
|
| 35 |
-
- A100 GPU acceleration (for pro users)
|
| 36 |
|
| 37 |
## Usage
|
| 38 |
|
| 39 |
-
|
| 40 |
-
|
| 41 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 42 |
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: Email Thread Analyzer with AI Q&A
|
| 3 |
+
emoji: 📧
|
| 4 |
colorFrom: blue
|
| 5 |
+
colorTo: indigo
|
| 6 |
+
sdk: gradio
|
| 7 |
+
sdk_version: 4.44.0
|
| 8 |
+
app_file: app.py
|
| 9 |
+
pinned: true
|
| 10 |
+
license: mit
|
|
|
|
|
|
|
| 11 |
---
|
| 12 |
|
| 13 |
+
# Email Thread Analyzer with AI Q&A
|
| 14 |
|
| 15 |
+
An AI-powered tool for analyzing email threads, searching for relevant conversations, and generating Q&A pairs based on email content.
|
| 16 |
|
| 17 |
## Features
|
| 18 |
|
| 19 |
+
- Microsoft Graph API integration for email access
|
| 20 |
+
- Email thread organization and visualization
|
| 21 |
+
- Semantic search for finding relevant threads
|
| 22 |
+
- AI-powered Q&A generation based on thread content
|
| 23 |
+
- Data visualization for email analytics
|
| 24 |
+
- Export functionality for thread data and Q&A
|
| 25 |
|
| 26 |
+
## Authentication
|
| 27 |
|
| 28 |
+
1. Click on the "Authentication" tab
|
| 29 |
+
2. Click "Get Authentication URL" button
|
| 30 |
+
3. Open the URL in a new browser tab and authenticate with Microsoft
|
| 31 |
+
4. After successful authentication, you'll be redirected. Copy the authorization code from the URL
|
| 32 |
+
5. Paste the code in the "Authorization Code" field and click "Submit"
|
|
|
|
|
|
|
| 33 |
|
| 34 |
## Usage
|
| 35 |
|
| 36 |
+
### Email Extraction
|
| 37 |
+
|
| 38 |
+
1. Select a mail folder from the dropdown
|
| 39 |
+
2. Configure extraction parameters (max emails, batch size, date range)
|
| 40 |
+
3. Click "Extract Emails" to fetch and organize email threads
|
| 41 |
+
|
| 42 |
+
### Thread Analysis
|
| 43 |
+
|
| 44 |
+
1. Click on the "Thread Analysis" tab
|
| 45 |
+
2. Click "Generate Analytics" to visualize email metrics
|
| 46 |
+
3. Explore the thread size distribution, activity timeline, and participant charts
|
| 47 |
+
|
| 48 |
+
### Search
|
| 49 |
+
|
| 50 |
+
1. Click on the "Search" tab
|
| 51 |
+
2. Enter a search query and click "Search"
|
| 52 |
+
3. Select a thread from the results and click "View Thread" to see details
|
| 53 |
+
|
| 54 |
+
### Q&A
|
| 55 |
+
|
| 56 |
+
1. Select a thread using the Search tab
|
| 57 |
+
2. Click "Generate Q&A" to create AI-powered questions and answers
|
| 58 |
+
3. Explore the generated Q&A pairs and summary
|
| 59 |
+
4. Export the thread data with Q&A for further analysis
|
| 60 |
+
|
| 61 |
+
## Privacy & Security
|
| 62 |
+
|
| 63 |
+
- All processing happens within the application
|
| 64 |
+
- Authentication is handled securely through Microsoft's OAuth2 flow
|
| 65 |
+
- No email data is stored persistently outside of your session
|
| 66 |
+
|
| 67 |
+
## Technical Details
|
| 68 |
|
| 69 |
+
This application uses:
|
| 70 |
+
- MSAL for Microsoft authentication
|
| 71 |
+
- Sentence-Transformers for semantic search
|
| 72 |
+
- Transformers for question answering
|
| 73 |
+
- Plotly for data visualization
|