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
(analyze$ auth args body)
Required parameters: none
Optional parameters: none
Body:
{:sessionId string, :communityId string, :comment {:text string, :type string}, :doNotStore boolean, :context {:articleAndParentComment ArticleAndParentComment, :entries [TextEntry]}, :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 {:articleAndParentComment ArticleAndParentComment, :entries [TextEntry]}, :requestedAttributes {}, :languages [string], :spanAnnotations boolean, :clientToken string} Analyzes the provided text and returns scores for requested attributes.
(suggestscore$ auth args body)
Required parameters: none
Optional parameters: none
Body:
{:sessionId string, :clientToken string, :communityId string, :languages [string], :comment {:text string, :type string}, :context {:articleAndParentComment ArticleAndParentComment, :entries [TextEntry]}, :attributeScores {}}
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: {:sessionId string, :clientToken string, :communityId string, :languages [string], :comment {:text string, :type string}, :context {:articleAndParentComment ArticleAndParentComment, :entries [TextEntry]}, :attributeScores {}} Suggest comment scores as training data.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close