AI检测到的文本返回属性

huangapple go评论168阅读模式
英文:

Returned properties for AI detected text

问题

请提供一个由AI生成的文本返回对象的示例。

我正在使用/v3/scans/submit/file/{scanId}端点进行文本扫描,启用了properties.aiGeneratedText.detect标志。

我期望在沙盒Webhook完成的主体中,在notifications.alerts部分下,收到一个示例对象,就像这个评论中提到的那样。

然而,接收到的部分是一个空数组。

英文:

Please provide an example of the returned object for the AI generated text.

I'm providing some text to scan using the /v3/scans/submit/file/{scanId} endpoint with the properties.aiGeneratedText.detect flag enabled.

I was expecting to receive an example object in the sandbox webhook completed body, under the notifications.alerts section, as mentioned in this comment.

However the received section is an empty array.

答案1

得分: 0

"sandbox"模式不模拟Copyleaks检测AI内容的情况。要实时查看它,您需要进行全面检查。

一旦Copyleaks执行AI检测检查,结果将类似于this method的响应。示例:

{
  "results": [
    {
      "classification": 2,
      "probability": 1,
      "matches": [
        {
          "text": {
            "chars": {
              "starts": [
                0
              ],
              "lengths": [
                1509
              ]
            },
            "words": {
              "starts": [
                0
              ],
              "lengths": [
                221
              ]
            }
          }
        }
      ]
    }
  ],
  "summary": {
    "human": 0,
    "ai": 1
  },
  "scannedDocument": {
    "scanId": "check",
    "totalWords": 221,
    "totalExcluded": 0,
    "actualCredits": 1,
    "expectedCredits": 1,
    "creationTime": "2023-01-10T10:07:58.9459512Z"
  }
}

这将放置在notifications.alerts字段下。

英文:

The "sandbox" mode is not simulating a situation where Copyleaks detect AI content. If order to see it live, you will need to do a full check.

Once Copyleaks will execute AI detection check, the results will looks like the response of this method. Example:

{
  "results": [
    {
      "classification": 2,
      "probability": 1,
      "matches": [
        {
          "text": {
            "chars": {
              "starts": [
                0
              ],
              "lengths": [
                1509
              ]
            },
            "words": {
              "starts": [
                0
              ],
              "lengths": [
                221
              ]
            }
          }
        }
      ]
    }
  ],
  "summary": {
    "human": 0,
    "ai": 1
  },
  "scannedDocument": {
    "scanId": "check",
    "totalWords": 221,
    "totalExcluded": 0,
    "actualCredits": 1,
    "expectedCredits": 1,
    "creationTime": "2023-01-10T10:07:58.9459512Z"
  }
}

This will be placed under the notifications.alerts field.

huangapple
  • 本文由 发表于 2023年3月8日 17:37:53
  • 转载请务必保留本文链接:https://go.coder-hub.com/75671405.html
  • copyleaks-api
  • plagiarism-detection
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定