Package com.smartgwt.client.ai
Class SummarizeValueResult
java.lang.Object
com.smartgwt.client.core.JsObject
com.smartgwt.client.core.DataClass
com.smartgwt.client.core.RefDataClass
com.smartgwt.client.util.AsyncOperationResult
com.smartgwt.client.ai.SummarizeValueResult
- All Implemented Interfaces:
HasHandlers
The result of a value summarization operation.
-
Field Summary
Fields inherited from class com.smartgwt.client.core.RefDataClass
id
Fields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic SummarizeValueResult
getOrCreateRef
(JavaScriptObject jsObj) If successful, the AI-generated summary of theSummarizeValueRequest.value
.setSummary
(String summary) If successful, the AI-generated summary of theSummarizeValueRequest.value
.Methods inherited from class com.smartgwt.client.util.AsyncOperationResult
getCancellationReason, getDisabledMessage, getErrorMessage, getType, setCancellationReason, setDisabledMessage, setErrorMessage, setType
Methods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetID
Methods inherited from class com.smartgwt.client.core.DataClass
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreated
-
Constructor Details
-
SummarizeValueResult
public SummarizeValueResult() -
SummarizeValueResult
-
-
Method Details
-
getOrCreateRef
-
setSummary
If successful, the AI-generated summary of theSummarizeValueRequest.value
.- Parameters:
summary
- New summary value. Default value is *initialized by the implementation*- Returns:
SummarizeValueResult
instance, for chaining setter calls
-
getSummary
If successful, the AI-generated summary of theSummarizeValueRequest.value
.- Returns:
- Current summary value. Default value is *initialized by the implementation*
-