analyzeSentiment
Evaluate sentiment in tweets by analyzing text matching a search query; includes keyword frequency and customizable sample size for insights into public opinion.
Instructions
Perform sentiment analysis on tweets matching a query
Input Schema
Name | Required | Description | Default |
---|---|---|---|
includeKeywords | No | Include keyword frequency analysis (default: true) | |
query | Yes | Search query for sentiment analysis | |
sampleSize | No | Number of tweets to analyze (default: 50) |
Input Schema (JSON Schema)
{
"properties": {
"includeKeywords": {
"description": "Include keyword frequency analysis (default: true)",
"type": "boolean"
},
"query": {
"description": "Search query for sentiment analysis",
"type": "string"
},
"sampleSize": {
"description": "Number of tweets to analyze (default: 50)",
"maximum": 200,
"minimum": 10,
"type": "number"
}
},
"required": [
"query"
],
"type": "object"
}