AI Automation Pipeline Documentation
Navigate through the documentation
The IntelliDigest AI is a comprehensive automated pipeline designed to gather, summarize, and curate the latest Artificial Intelligence news from multiple high-quality sources. It leverages Large Language Models (specifically OpenAI's GPT-4o-mini) to process raw content and deliver a personalized email digest to the user.
To save time by filtering through the noise of AI news and presenting only the most relevant, high-impact updates in a concise format.
The application follows a linear Extract, Transform, Load (ETL) pipeline, enhanced with AI agents at various stages.
Fetches raw data from YouTube, OpenAI, and Anthropic. Monitors specific channels and RSS feeds.
Cleans data: converts YouTube transcripts to text, parses markdown from Anthropic blogs.
Summarizes each article/video into a concise title (5-10 words) and a 2-3 sentence summary using GPT-4o-mini.
Ranks the summarized digests based on a specific user profile to determine relevance.
Composes and sends a structured, engaging email containing the top-ranked stories.
Responsible for fetching raw data from external sources.
Orchestrates the business logic for each stage of the pipeline.
Specialized classes that interact with the OpenAI API to perform cognitive tasks.
Role: Summarizer
Input: Raw article text or video transcript.
Output: A concise title (5-10 words) and a 2-3 sentence summary.
Model: gpt-4o-mini
Role: Editor/Ranker
Input: List of digests and a User Profile.
Output: A ranked list of articles with relevance scores and reasoning.
Model: gpt-4o-mini
Role: Writer
Input: Top-ranked articles.
Output: A structured, engaging email body (Markdown/HTML).
Managed via .env file:
| Table Name | Description | Key Fields |
|---|---|---|
| youtube_videos | Raw YouTube Data | video_id, title, transcript, channel_id |
| openai_articles | OpenAI Blog Posts | guid, title, description, url |
| anthropic_articles | Anthropic Blog Posts | guid, title, markdown |
| digests | Processed Summaries | id, article_type, title, summary, article_id |