Analyze sentiment for specific topics.
Documentation Index
Fetch the complete documentation index at: https://domoinc-arun-raj-connectors-domo-480626-update-new-field-mi.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 targeted sentiment analysis response.
Response for targeted sentiment analysis containing sentiment per topic.
Map of topic to sentiment (includes NOT_APPLICABLE for unmentioned topics)
The ID of the model used
Whether the model is a customer model
The AI session ID
The request ID
Token usage information