all repos — llm_aggregator @ e3e7be8461bb50a7fe674b4055286d34dddb0c5c

A CLI tool to aggregate RSS feeds and summarise them with LLMs

configs/config.example.toml (view raw)

 1# llm_aggregator configuration file
 2# Location: ~/.config/llm_aggregator/config.toml
 3#
 4# All options can be overridden via command-line arguments.
 5# Environment variables take precedence: LLM_AGGREGATOR_* prefix.
 6
 7# Feed aggregation options
 8max_articles_per_feed = 10       # Maximum articles to fetch from each RSS feed
 9max_days_old = 7                 # Only include articles published within this many days
10max_total_articles = 20          # Maximum total articles to process across all feeds
11
12# Content filtering (comma-separated keywords)
13# include_keywords = "linux,opensource"  # Only include articles containing at least one of these keywords
14# exclude_keywords = "windows"           # Exclude articles containing any of these keywords
15
16# LLM API options
17api_key = "your_api_key_here"     # Can also be set via LLM_AGGREGATOR_API_KEY env var
18base_url = "https://api.deepseek.com"  # API base URL (OpenAI-compatible endpoints)
19model = "deepseek-chat"           # Model identifier (e.g., deepseek-chat, gpt-4, MiniMax-M2.7)
20max_tokens = 4000                 # Maximum tokens in LLM response
21temperature = 0.7                 # Sampling temperature (0.0 to 1.0, lower = more focused)
22
23# System prompt for LLM (instructions that guide the AI's behaviour)
24system_prompt = """You are an expert analyst and summariser.
25You analyse content from multiple sources and provide
26concise, insightful summaries based on user requests.
27Focus on key points, trends, and important information."""
28
29# Output options
30output = "text"              # Output format: text, json, or markdown
31# output_file = ""          # Optional: write output to file instead of stdout
32include_articles = false     # Include original article content in output