All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.blr19c.falowp.bot.system.censor.CensorResult.kt Maven / Gradle / Ivy

There is a newer version: 2.0.0-RC2
Show newest version
package com.blr19c.falowp.bot.system.censor

/**
 * 审核结果
 */
data class CensorResult(
    /**
     * 审核结果
     */
    val conclusionType: CensorConclusionTypeEnum,
    /**
     * 审核结果数据
     */
    val items: List = emptyList()
)

/**
 * 审核结果数据
 */
data class CensorResultItem(
    /**
     * 审核结果
     */
    val conclusionType: CensorConclusionTypeEnum,
    /**
     * 审核结果明细类型
     */
    val conclusionSubType: CensorConclusionSubTypeEnum,
    /**
     * 命中数据
     */
    val hits: List = emptyList()
)

/**
 * 审核结果命中数据
 */
data class CensorResultItemHit(
    /**
     * 内容
     */
    val words: List,
    /**
     * 置信度0-1
     */
    val probability: Double? = null
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy