Liking cljdoc? Tell your friends :D

happygapi.commentanalyzer.comments

Perspective Comment Analyzer API: comments. The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned. See: https://github.com/conversationai/perspectiveapi/blob/master/README.mdapi/reference/rest/v1alpha1/comments

Perspective Comment Analyzer API: comments.
The Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.
See: https://github.com/conversationai/perspectiveapi/blob/master/README.mdapi/reference/rest/v1alpha1/comments
raw docstring

analyze$clj

(analyze$ auth parameters body)

https://github.com/conversationai/perspectiveapi/blob/master/README.mdapi/reference/rest/v1alpha1/comments/analyze

Required parameters: none

Optional parameters: none

Body:

{:sessionId string, :communityId string, :comment {:text string, :type string}, :doNotStore boolean, :context {:entries [TextEntry], :articleAndParentComment ArticleAndParentComment}, :requestedAttributes {}, :languages [string], :spanAnnotations boolean, :clientToken string}

Analyzes the provided text and returns scores for requested attributes.

https://github.com/conversationai/perspectiveapi/blob/master/README.mdapi/reference/rest/v1alpha1/comments/analyze

Required parameters: none

Optional parameters: none

Body: 

{:sessionId string,
 :communityId string,
 :comment {:text string, :type string},
 :doNotStore boolean,
 :context {:entries [TextEntry],
           :articleAndParentComment ArticleAndParentComment},
 :requestedAttributes {},
 :languages [string],
 :spanAnnotations boolean,
 :clientToken string}

Analyzes the provided text and returns scores for requested attributes.
sourceraw docstring

suggestscore$clj

(suggestscore$ auth parameters body)

https://github.com/conversationai/perspectiveapi/blob/master/README.mdapi/reference/rest/v1alpha1/comments/suggestscore

Required parameters: none

Optional parameters: none

Body:

{:communityId string, :clientToken string, :languages [string], :comment {:text string, :type string}, :context {:entries [TextEntry], :articleAndParentComment ArticleAndParentComment}, :attributeScores {}, :sessionId string}

Suggest comment scores as training data.

https://github.com/conversationai/perspectiveapi/blob/master/README.mdapi/reference/rest/v1alpha1/comments/suggestscore

Required parameters: none

Optional parameters: none

Body: 

{:communityId string,
 :clientToken string,
 :languages [string],
 :comment {:text string, :type string},
 :context {:entries [TextEntry],
           :articleAndParentComment ArticleAndParentComment},
 :attributeScores {},
 :sessionId string}

Suggest comment scores as training data.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close