QueryUtterancesResult Class
- java.
lang. Object - com.
azure. resourcemanager. appservice. models. QueryUtterancesResult
- com.
public final class QueryUtterancesResult
Result for utterances query.
Constructor Summary
Constructor | Description |
---|---|
QueryUtterancesResult() |
Creates an instance of Query |
Method Summary
Modifier and Type | Method and Description |
---|---|
Sample |
sampleUtterance()
Get the sample |
Float |
score()
Get the score property: Score of a sample utterance. |
void |
validate()
Validates the instance. |
Query |
withSampleUtterance(SampleUtterance sampleUtterance)
Set the sample |
Query |
withScore(Float score)
Set the score property: Score of a sample utterance. |
Methods inherited from java.lang.Object
Constructor Details
QueryUtterancesResult
public QueryUtterancesResult()
Creates an instance of QueryUtterancesResult class.
Method Details
sampleUtterance
public SampleUtterance sampleUtterance()
Get the sampleUtterance property: A sample utterance.
Returns:
score
public Float score()
Get the score property: Score of a sample utterance.
Returns:
validate
public void validate()
Validates the instance.
withSampleUtterance
public QueryUtterancesResult withSampleUtterance(SampleUtterance sampleUtterance)
Set the sampleUtterance property: A sample utterance.
Parameters:
Returns:
withScore
public QueryUtterancesResult withScore(Float score)
Set the score property: Score of a sample utterance.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for