NewsComment
- Last UpdatedJun 09, 2023
- 1 minute read
This Azure function custom query returns the comments for the news events for the comment algorithm. The custom query expression supports the following parameters:
|
Parameter Name |
Parameter Choice |
Example |
Description |
|---|---|---|---|
|
QueryName |
Required |
NewsComment |
Azure function query name |
|
StartDateTime |
Optional |
"[RequestedStartTime]" |
Any valid UTC date time value. To leverage [RequestedStartTime] parameter for populating a time defining dimension, you must enable incremental update feature for the dimension. For more information, see Configure an incremental update for a dimension. |
|
EndDateTime |
Optional |
"[RequestedEndTime]" |
Any valid UTC date time value. To leverage [RequestedEndTime] parameter for populating a time defining dimension, you must enable incremental update feature for dimension. For more information, see Configure an incremental update for a dimension. |
The following properties are returned from the Azure function query for "NewsComment".
|
Property Name |
Datatype |
Description |
|---|---|---|
|
Score |
Double |
Score of the news story |
|
Algorithm |
String |
The algorithm to which the story belongs |
|
PrimaryFQN |
String |
A fully qualified name for the tag that acts as a base reference. |
|
User_Comment |
String |
Additional comment provided by the user. |
|
TimeOfOccurrence |
DateTime |
The time at which the news anomaly is detected. |
|
Source |
String |
Source of the news story |
|
User |
String |
The name of the user who is adding the comment. |
|
Author |
String |
Author of the news story |
|
Tenant |
String |
Name of the tenant of the news story |
|
ID |
String |
Globally unique identifier for the event. |