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

GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult

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

Represents the result of sentiment analysis.

interface GoogleCloudDialogflowCxV3WebhookRequestSentimentAnalysisResult {
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).