Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

GoogleCloudDialogflowCxV3SentimentAnalysisResult

import type { GoogleCloudDialogflowCxV3SentimentAnalysisResult } from "https://googleapis.deno.dev/v1/dialogflow:v3.ts";

The result of sentiment analysis. Sentiment analysis inspects user input and identifies the prevailing subjective opinion, especially to determine a user's attitude as positive, negative, or neutral.

interface GoogleCloudDialogflowCxV3SentimentAnalysisResult {
magnitude?: number;
score?: number;
}

§Properties

§
magnitude?: number
[src]

A non-negative number in the [0, +inf) range, which represents the absolute magnitude of sentiment, regardless of score (positive or negative).

§
score?: number
[src]

Sentiment score between -1.0 (negative sentiment) and 1.0 (positive sentiment).