Pipeline Steps
- limit
- 50
- url
- https://hnrss.org/frontpage
{
"limit": 50,
"url": "https://hnrss.org/frontpage"
}
- condition
- The post has high points
{
"condition": "The post has high points"
}
- condition
- The title is vague or lacks obvious context
{
"condition": "The title is vague or lacks obvious context"
}
- method
- GET
- url
- {{.link}}
{
"method": "GET",
"url": "{{.link}}"
}
- prompt
- Improve the description by succinctly summarizing the content of the page.
{
"prompt": "Improve the description by succinctly summarizing the content of the page."
}
- prompt
- Summarize these high points Hacker News posts in a concise paragraph, mentioning their title and link.
{
"prompt": "Summarize these high points Hacker News posts in a concise paragraph, mentioning their title and link."
}
- body_template
- {{.text}}
- subject
- Daily High Points Summary from Hacker News
{
"body_template": "{{.text}}",
"subject": "Daily High Points Summary from Hacker News"
}
Pipeline JSON
{
"id": "876221bb-a2b1-45dc-a214-55ee1b5db32f",
"name": "HN High Points Summary",
"description": "Fetch Hacker News RSS feed, filter for posts with high points, improve vague titles, and email a summary.",
"schedule": "0 9 * * *",
"steps": [
{
"id": "s1",
"type": "rss",
"config": {
"limit": 50,
"url": "https://hnrss.org/frontpage"
}
},
{
"id": "s2",
"type": "llm_filter",
"config": {
"condition": "The post has high points"
}
},
{
"id": "s3",
"type": "llm_filter",
"config": {
"condition": "The title is vague or lacks obvious context"
}
},
{
"id": "s4",
"type": "http",
"config": {
"method": "GET",
"url": "{{.link}}"
},
"foreach": true
},
{
"id": "s5",
"type": "llm_format",
"config": {
"prompt": "Improve the description by succinctly summarizing the content of the page."
},
"foreach": true
},
{
"id": "s6",
"type": "llm_format",
"config": {
"prompt": "Summarize these high points Hacker News posts in a concise paragraph, mentioning their title and link."
}
},
{
"id": "s7",
"type": "email",
"config": {
"body_template": "{{.text}}",
"subject": "Daily High Points Summary from Hacker News"
}
}
]
}