Weekly brief of buying asks
weekly_briefUse this when the user asks for a weekly brief or for this week only, such as "weekly brief for SEO audit" or "did anyone ask for bookkeeping this week?". Pass service, for example {"service": "bookkeeping"}, and optionally keywords and sources. Returns one summary line, counts by source and by day, and the top 10 posts with link, date, short quote, score, label, reason and reply_angle. The window is fixed to the last 7 days, with the same rules and sources as find_buying_intent. Not for a longer lookback or a set limit: use find_buying_intent for those. A quiet week returns no_data. Reddit is not searched.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| service | Yes | The service you sell, not a company or person. Example call: {"service": "SEO audit"}. "alternative" alone, with no keywords, finds asks to replace any tool. Also try the person form (bookkeeper) | |
| sources | No | Which public sources to read: hackernews (comments and Ask HN), hn_hiring (company posts in the newest monthly Hacker News "Who is hiring?" thread), github (open and closed issues) and stackexchange. Default is all four. Leave one out to skip it, for example stackexchange when it is rate limited | |
| keywords | No | Optional extra words a post must also contain, such as "shopify" or "small business" (up to 5). Every keyword must appear in a post, so a long list returns little. Leave it out for a first look and add one word only to narrow |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | Yes | ||
| as_of | Yes | ISO 8601 time the data was published by its source or fetched from it. A cached answer keeps the time of its fetch. | |
| by_day | Yes | Intent posts per day, oldest first | |
| notice | Yes | What a score does and does not mean. Pass it on | |
| Yes | |||
| source | Yes | Who the data comes from, to cite and to check it against. | |
| status | Yes | ok: posts found. no_data: no post asked for the service; message says what to try. unavailable: no source could be read; message says whether to retry or skip stackexchange | |
| window | Yes | ||
| message | No | The next step when status is not ok or a source was skipped, such as a longer lookback_days, the person form of the service, or leaving stackexchange out of sources | |
| service | Yes | ||
| summary | Yes | One line: how many asks this week and from where | |
| top_asks | Yes | The strongest intent posts of the week, up to 10 | |
| by_source | Yes | ||
| how_scored | Yes | The scoring rules, so the user can see why a post scored as it did | |
| posts_read | Yes | Posts read from all sources | |
| attribution | Yes | CC BY-SA attribution for Stack Exchange text | |
| intent_count | Yes | Posts labelled intent | |
| sources_used | Yes | Sources read for this answer | |
| complaint_count | Yes | Posts labelled casual_complaint | |
| untrusted_source | Yes | ||
| posts_about_service | Yes | Posts that name the service | |
| sources_unavailable | Yes | Sources that could not be read and are missing from the answer |