ByteStack’s sentiment analysis uses an AI model to read every mention it collects and classify it as positive, negative, or neutral. When you include a sentiment instruction in your query prompt, the API returns raw mention counts alongside a per-category breakdown and an overall sentiment score — giving you a single, comparable metric you can track over time.Documentation Index
Fetch the complete documentation index at: https://docs.bytestack.com/llms.txt
Use this file to discover all available pages before exploring further.
Request and interpret sentiment analysis
Include sentiment in your query prompt
Add explicit classification instructions to your natural language prompt. ByteStack uses this to apply the sentiment model before returning results.
Understand the sentiment breakdown response
ByteStack returns a The
sentiment object alongside the standard mention counts. Each category includes a count and a representative sample of mentions.sentiment_score ranges from 0.0 (entirely negative) to 1.0 (entirely positive). A score above 0.5 means positive mentions outnumber negative ones. Use positive_count, negative_count, and neutral_count for absolute comparisons across campaigns or time periods.Visualize in the dashboard
After the query completes, open Dashboard → Jobs and select the result. ByteStack renders a Sentiment Breakdown chart showing the share of positive, negative, and neutral mentions. Hover over any segment to see the count and the top example mentions for that category.You can pin the chart to your workspace overview for at-a-glance monitoring during a launch or campaign.