Before you start
Decide what question you’re asking. The best categories answer one specific question with a small set of mutually exclusive answers. If you can’t state the question in a sentence, the prompt will be muddy and so will the results.1. Open Smart Categories
Navigate to Settings → Enrichments → Smart Categories, then click Create New. You’ll be offered two paths.Create from template
Four ready-made starting points:| Template | What it does |
|---|---|
| Favorability | Analyzes how favorably your brand, product, or organization is portrayed based on tone, framing, and context |
| Relevance Detection | Determines whether mentions are truly relevant to your organization or just noise |
| Violent Rhetoric Detection | Identifies mentions containing violent rhetoric or threatening language |
| Political Leaning Detection | Identifies the political leaning or bias expressed in mentions |
Create from scratch
Build your own. Use this whenever the question you’re asking is specific to your organization, which, for the categories that end up mattering most, it usually is.2. Configure the category
Name
Name
How the category appears in filters, charts, and reports. Be specific: accounts accumulate a lot of these, and
Nvidia Risk is findable six months later in a way that Risk is not.Workspaces
Workspaces
Which workspaces the category runs against. Select at least one. You can apply a single category to several workspaces, which is useful for a standard you want applied consistently across brands, regions, or clients.
Response Options
Response Options
The labels the AI chooses from. At least two required.Keep the set small and mutually exclusive. Four to six options is a good target; beyond that, the boundaries between labels get blurry and classification gets less consistent.Always include an escape hatch like Not Applicable. Without one, the AI has nowhere to put mentions that genuinely don’t fit, so it will force them into your real categories and quietly corrupt your numbers.
Prompt
Prompt
The instructions the AI follows when deciding between your options. Generate Prompt will draft one from your name and response options, a reasonable starting point, but expect to edit it.
Datasets Included
Datasets Included
What content gets analyzed:
- Mention Data: headline and body text (recommended, on by default)
- Author Data: profile info, follower counts, publisher details; useful for credibility or influence-based classification
- Mention Image: the primary image, for detecting logos, screenshots, or visual narratives
- Mention Video: the first 30 seconds of video, for visual branding and spoken claims
3. Write the prompt
A one-line prompt produces inconsistent results across thousands of mentions, because the AI has to invent the boundary between your labels on every single call. The prompts that hold up at scale read like a decision procedure, not a request.Anatomy of a strong prompt
- Role and goal: what the model is doing, and for whom
- Available inputs: what data it should reason over
- The categories: restated explicitly
- An ordered sequence of tests, each ending in a decision and a
STOP - A relevance gate first, so off-topic content is eliminated before anything else is evaluated
- Explicit disqualifiers: the near-misses you don’t want captured
- A fallback for anything that doesn’t clearly land
- A strict output instruction: exactly one label, from the list
Worked example: a risk classifier
A production-grade prompt for classifying corporate risk. Note how much of it is devoted to narrowing: the disqualifiers and the attribution test do more work than the category definitions.4. Run a preview
Run Preview classifies a sample of real mentions from your workspace and shows the results in the right-hand pane. Use it properly, it’s the difference between a category you trust and one you quietly stop looking at. What to check:- Read the mentions labeled with your most severe option. If
Criticalis catching things you’d call routine, your thresholds are too loose. - Read the Not Applicable pile. If real, relevant content is landing there, your relevance gate is too strict or your categories don’t cover the ground.
- Look for a single dominant label. If nearly everything lands in one bucket, the category isn’t discriminating and won’t tell you anything.
- Iterate here, not in production. Adjust the prompt, re-run, re-read. Two or three rounds is normal.
5. Create and backfill
Create & Backfill saves the category and applies it to your existing workspace mentions as well as new ones going forward. That means you get trendable history immediately rather than waiting for data to accumulate.Allow a short while for results to populate across your dashboard. Backfilling a large workspace takes longer than classifying new mentions going forward. If your smart category is not appearing in your workspace after an hour, reach out to the PeakMetrics team.
Editing an existing category
Open any category from the Smart Categories list to change its name, workspaces, response options, prompt, or datasets. Re-run the preview after any change, then Save Changes.Troubleshooting
Nearly everything is Not Applicable
Nearly everything is Not Applicable
Usually your workspace query is broader than your category’s relevance gate. Read the Not Applicable mentions directly. If they’re genuinely off-topic, the category is working and the query needs tightening. If they’re relevant, loosen Step 1 of your prompt.
Nearly everything lands in one label
Nearly everything lands in one label
The prompt isn’t giving the model enough to discriminate on. Add explicit tests and thresholds that distinguish adjacent options, and consider whether two of your labels are actually the same thing.
Results feel inconsistent across similar mentions
Results feel inconsistent across similar mentions
Typically means the boundary between two options is underspecified. Add disqualifiers and a couple of worked examples to the prompt.
A category that reasons about images isn't working
A category that reasons about images isn't working
Confirm Mention Image is toggled on under Datasets Included, and remember that mentions without images will behave differently. See Author and Image Smart Categories.
Related reading
Smart Categories
What they are, where they appear, and how teams use them.
Smart Categories Workflow Guide
A library of ready-to-deploy prompts across common use cases.
Author and Image Smart Categories
Classifying on visual content and author-level signals.
Exporting Data
Taking category values into your own analysis.