How It Works
When someone mentions@whilst in Slack, the pipeline runs in the background:
Pipeline Stages
1. Thread Ingestion
Captures the full Slack thread and stores it in the database.- Fetches all messages via the Slack API
- Maps Slack user IDs to internal actors
- Stores conversation metadata and individual messages
2. AI Analysis
Uses OpenAI to extract structured information from the thread:3. Auto-Doc Generation
Generates a structured document from the analysis:- AI-generated title and content
- Automatic tags from extracted topics
- Links back to the source Slack thread
- Visibility set based on urgency and content type
4. Relationship Extraction
Analyzes collaboration patterns between thread participants:- Shared topics and expertise areas
- Communication style (formal, casual, technical)
- Relationship type (peer, mentor, partner)
- Stored in the relationship graph for future context

