Analyze the overall sentiment of text (positive, negative, neutral, or not applicable).
Documentation Index
Fetch the complete documentation index at: https://domoinc-arun-raj-connectors-domo-479695-remove-crime-report.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Request for sentiment analysis using the Messages API.
Supports two modes:
Validation happens primarily in AIValidator, not in this constructor.
The input message content to analyze (text, images, documents, etc.)
Text-based message content.
Optional list of topics for targeted sentiment analysis. When provided, sentiment is analyzed for each topic individually. When omitted or empty, overall sentiment of the content is analyzed. Topic names must start with a letter and contain only letters, numbers, and underscores (e.g., 'customer_service', 'productQuality').
Optional instructions for sentiment analysis behavior
The ID of the model to use (optional, uses default if not specified)
Additional model parameters (temperature, max_tokens, etc.)
AI session ID for associating with existing session
Configuration for reasoning behavior
Returns true if this is a targeted sentiment request (has topics).
Returns true if this is a simple sentiment request (no topics).
Successful sentiment analysis response.
Response for simple sentiment analysis containing overall sentiment.
The overall sentiment (POSITIVE, NEGATIVE, NEUTRAL, or NOT_APPLICABLE)
positive, negative, neutral, not_applicable The ID of the model used
Whether the model is a customer model
The AI session ID
The request ID
Token usage information