Build datasets from topics
Filter logs by topic to build targeted evaluation datasets.- Go to Logs and click Filter.
-
Select Topics and choose the topic you want to filter by.
Alternately, click SQL and enter a filter clause. See the SQL reference for more query patterns.
- Select the logs you want to include.
- Click + Dataset and choose an existing dataset or create a new one.
- “Error investigation” tasks → test your error handling.
- Negative sentiment interactions → improve responses.
- “Pricing questions” → evaluate your pricing explanations.
Score logs based on topics
Create scorers that flag logs with negative sentiment, penalize specific issue types, or alert when certain topics appear together. Example scorer that flags negative checkout experiences:- TypeScript
- Python
topic_scorer.ts
- Go to Settings > Automations and click + Rule.
- Select your scorer, set Scope to Trace, configure the sampling rate, and click Create rule.
Assign topics for review
Assign logs matching specific topics for human review.- Go to Logs and click Filter.
-
Select Topics and choose the topic you want to filter by.
Alternately, click SQL and enter a filter clause. See the SQL reference for more query patterns.
- Select the logs you want to assign.
- Select Assign and choose a team member.
Send a daily Slack digest
Send a daily digest of new Topics activity to Slack so your team stays ahead of emerging user intents, trending issues, and sentiment shifts as they develop in production. Each digest covers the previous 24 hours and includes:- Summary: How activity shifted, with a table of topic movements between the latest topic generations.
- Biggest mover: The topic that changed the most since the last generation, with context on what’s driving it.
- Highlights: Specific traces worth a closer look, tied to the biggest movements.
- Takeaways: A clear, actionable recommendation when one is evident.
- Make sure the Slack integration is enabled for your organization.
- Go to Settings > Feature flags and turn on Topics digest.
- Go to Topics and expand Automation settings in the status panel.
- Turn on Topics digest.
- Select the Slack workspace and Slack channel to post to.
- Set the Send time. The digest is sent once a day at this local time.
- Click Save.
Next steps
- Manage Topics to tune the pipeline that produces these classifications.
- Custom facets to define new dimensions to act on.