summarize_subreddit
Fetch and summarize a subreddit's frontpage with sorting options (hot, new, top, rising, random) and optional comment analysis for deeper insights.
Instructions
Summarizes the subreddit's frontpage (alias: homepage, feed) by giving information dictinory to LLM.
Sorting, fetchings options are hot, new, top, rising, random.
Optionaly this function can use comments for deeper summaries.
Args:
subreddit_name: str : name for subrredit without 'r/'
fetch_by: str (Optional) [default = ''hot]: sorting, fetching option for subreddit's feed
limit: integer (Optional) [default = 10]: sets a limit for how many post to fetch.
with_comments: bool (Optional) [default = false]: indicates that summary will be done with comments.
Output:
Dictinory with keys as post id's and values as post informationsInput Schema
| Name | Required | Description | Default |
|---|---|---|---|
| subreddit_name | Yes | ||
| fetch_by | No | hot | |
| limit | No | ||
| with_comments | No |