你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

IntentPrediction 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.IntentPrediction

public class IntentPrediction

建议的意向。

方法摘要

修饰符和类型 方法和描述
String name()

获取名称值。

Double score()

获取分数值。

IntentPrediction withName(String name)

设置名称值。

IntentPrediction withScore(Double score)

设置分数值。

方法详细信息

name

public String name()

获取名称值。

Returns:

名称值

score

public Double score()

获取分数值。

Returns:

分数值

withName

public IntentPrediction withName(String name)

设置名称值。

Parameters:

name - 要设置的名称值

Returns:

IntentPrediction 对象本身。

withScore

public IntentPrediction withScore(Double score)

设置分数值。

Parameters:

score - 要设置的分数值

Returns:

IntentPrediction 对象本身。

适用于