feat: support llm filter for rss watcher - #6
Merged
Conversation
Gennadiyev
approved these changes
Jan 13, 2026
Gennadiyev
left a comment
Owner
There was a problem hiding this comment.
If I were you I would use response_format throughout... But yours have compatability so that's a reasonable trade-off.
Contributor
There was a problem hiding this comment.
Pull request overview
This PR adds LLM-based filtering capability to the RSS watcher, allowing users to automatically filter RSS feed entries based on relevance before processing them for digests or notifications. This helps reduce noise from high-volume feeds by only showing entries deemed relevant by an LLM.
Changes:
- Added LLM filter configuration options with customizable prompts, model selection, and concurrency limits
- Implemented
filter_entries_with_llmmethod that scores each entry on a 0-5 scale and filters based on threshold - Updated logging levels for cleaner output (changed some log.warning to log.debug, removed verbose debug messages)
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 10 comments.
| File | Description |
|---|---|
| watchers/rss_watcher.py | Added LLM filter implementation with new configuration parsing, async filtering logic using semaphores for concurrency control, and integrated filtering into the entry processing pipeline |
| config.example.yaml | Added example configuration for LLM filter feature showing model selection, custom prompt, and concurrency settings |
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.