你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ClosedListEntityExtractor 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. ClosedListEntityExtractor
- com.
public class ClosedListEntityExtractor
列出实体提取程序。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
UUID |
id()
获取 ID 值。 |
String |
name()
获取名称值。 |
String |
readableType()
获取 readableType 值。 |
List<Entity |
roles()
获取角色值。 |
List<Sub |
subLists()
获取 subLists 值。 |
Integer |
typeId()
获取 typeId 值。 |
Closed |
withId(UUID id)
设置 ID 值。 |
Closed |
withName(String name)
设置名称值。 |
Closed |
withReadableType(String readableType)
设置 readableType 值。 |
Closed |
withRoles(List<EntityRole> roles)
设置角色值。 |
Closed |
withSubLists(List<SubClosedListResponse> subLists)
设置 subLists 值。 |
Closed |
withTypeId(Integer typeId)
设置 typeId 值。 |
方法详细信息
id
public UUID id()
获取 ID 值。
Returns:
name
public String name()
获取名称值。
Returns:
readableType
public String readableType()
获取 readableType 值。
Returns:
roles
public List
获取角色值。
Returns:
subLists
public List
获取 subLists 值。
Returns:
typeId
public Integer typeId()
获取 typeId 值。
Returns:
withId
public ClosedListEntityExtractor withId(UUID id)
设置 ID 值。
Parameters:
Returns:
withName
public ClosedListEntityExtractor withName(String name)
设置名称值。
Parameters:
Returns:
withReadableType
public ClosedListEntityExtractor withReadableType(String readableType)
设置 readableType 值。
Parameters:
Returns:
withRoles
public ClosedListEntityExtractor withRoles(List
设置角色值。
Parameters:
Returns:
withSubLists
public ClosedListEntityExtractor withSubLists(List
设置 subLists 值。
Parameters:
Returns:
withTypeId
public ClosedListEntityExtractor withTypeId(Integer typeId)
设置 typeId 值。
Parameters:
Returns:
适用于
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈