Skip to main content

@dialstack/sdk-dev / js/src / SentimentFilters

Interface: SentimentFilters

Defined in: sdk/js/src/types/components.ts:203

Sentiment conditions accepted by GET /v1/calls and GET /v1/calls/summary.

sentiment reads the call's overall verdict, local_* your user's side and remote_* the other party's. Every condition requires the field it reads, so a remote_* filter excludes calls with no reading for the other party. Conditions combine with each other and with the other filters.

Extended by​

Properties​

local_sentiment?​

TypeScript
local_sentiment?: SentimentLabel;

Defined in: sdk/js/src/types/components.ts:209


local_sentiment_magnitude?​

TypeScript
local_sentiment_magnitude?: RangeFilter;

Defined in: sdk/js/src/types/components.ts:211


local_sentiment_score?​

TypeScript
local_sentiment_score?: RangeFilter;

Defined in: sdk/js/src/types/components.ts:210


remote_sentiment?​

TypeScript
remote_sentiment?: SentimentLabel;

Defined in: sdk/js/src/types/components.ts:212


remote_sentiment_magnitude?​

TypeScript
remote_sentiment_magnitude?: RangeFilter;

Defined in: sdk/js/src/types/components.ts:214


remote_sentiment_score?​

TypeScript
remote_sentiment_score?: RangeFilter;

Defined in: sdk/js/src/types/components.ts:213


sentiment?​

TypeScript
sentiment?: SentimentLabel;

Defined in: sdk/js/src/types/components.ts:204


sentiment_magnitude?​

TypeScript
sentiment_magnitude?: RangeFilter;

Defined in: sdk/js/src/types/components.ts:208

Overall magnitude, 0.0 to 1.0


sentiment_score?​

TypeScript
sentiment_score?: RangeFilter;

Defined in: sdk/js/src/types/components.ts:206

Overall score, -1.0 to +1.0