Package com.smartgwt.client.ai
Class DataBoundAIRequest
- All Implemented Interfaces:
HasHandlers
- Direct Known Subclasses:
SuggestRecordSummaryTitleRequest
,SummarizeRecordsRequest
,SummarizeValueRequest
-
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 TypeMethodDescriptionString[]
Optional list of field names to exclude.The maximum number of retries for any one particular request to AI.static DataBoundAIRequest
getOrCreateRef
(JavaScriptObject jsObj) setExcludeFieldNames
(String... excludeFieldNames) Optional list of field names to exclude.setMaxRetries
(Integer maxRetries) The maximum number of retries for any one particular request to AI.Methods inherited from class com.smartgwt.client.util.AsyncDataBoundOperationParams
getComponent, getDataSource, setComponent, setDataSource
Methods inherited from class com.smartgwt.client.util.AsyncOperationParams
getCancellationController, setCancellationController
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
-
DataBoundAIRequest
public DataBoundAIRequest() -
DataBoundAIRequest
-
-
Method Details
-
getOrCreateRef
-
setExcludeFieldNames
Optional list of field names to exclude. This is a deny list.- Parameters:
excludeFieldNames
- New excludeFieldNames value. Default value is null- Returns:
DataBoundAIRequest
instance, for chaining setter calls- See Also:
-
getExcludeFieldNames
Optional list of field names to exclude. This is a deny list.- Returns:
- Current excludeFieldNames value. Default value is null
- See Also:
-
setMaxRetries
The maximum number of retries for any one particular request to AI.Note that multiple AI requests may be involved in processing the data-bound AI request. This limit is the maximum number of retries of any one request. For example, if there are 2 requests made to AI, then each one would be submitted at most
1 + maxRetries
number of times for up to2 * (1 + maxRetries)
total requests.If unset, then
defaultMaxRetries
will be used.- Parameters:
maxRetries
- New maxRetries value. Default value is null- Returns:
DataBoundAIRequest
instance, for chaining setter calls
-
getMaxRetries
The maximum number of retries for any one particular request to AI.Note that multiple AI requests may be involved in processing the data-bound AI request. This limit is the maximum number of retries of any one request. For example, if there are 2 requests made to AI, then each one would be submitted at most
1 + maxRetries
number of times for up to2 * (1 + maxRetries)
total requests.If unset, then
defaultMaxRetries
will be used.- Returns:
- Current maxRetries value. Default value is null
-