LabeledUtterance Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. LabeledUtterance
- com.
public class LabeledUtterance
A prediction and label pair of an example.
Method Summary
Method Details
entityLabels
public List
Get the entityLabels value.
Returns:
entityPredictions
public List
Get the entityPredictions value.
Returns:
id
public Integer id()
Get the id value.
Returns:
intentLabel
public String intentLabel()
Get the intentLabel value.
Returns:
intentPredictions
public List
Get the intentPredictions value.
Returns:
text
public String text()
Get the text value.
Returns:
tokenizedText
public List
Get the tokenizedText value.
Returns:
withEntityLabels
public LabeledUtterance withEntityLabels(List
Set the entityLabels value.
Parameters:
Returns:
withEntityPredictions
public LabeledUtterance withEntityPredictions(List
Set the entityPredictions value.
Parameters:
Returns:
withId
public LabeledUtterance withId(Integer id)
Set the id value.
Parameters:
Returns:
withIntentLabel
public LabeledUtterance withIntentLabel(String intentLabel)
Set the intentLabel value.
Parameters:
Returns:
withIntentPredictions
public LabeledUtterance withIntentPredictions(List
Set the intentPredictions value.
Parameters:
Returns:
withText
public LabeledUtterance withText(String text)
Set the text value.
Parameters:
Returns:
withTokenizedText
public LabeledUtterance withTokenizedText(List
Set the tokenizedText value.
Parameters:
Returns:
Applies to
Azure SDK for Java
피드백
https://aka.ms/ContentUserFeedback
출시 예정: 2024년 내내 콘텐츠에 대한 피드백 메커니즘으로 GitHub 문제를 단계적으로 폐지하고 이를 새로운 피드백 시스템으로 바꿀 예정입니다. 자세한 내용은 다음을 참조하세요.다음에 대한 사용자 의견 제출 및 보기