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
idFields inherited from class com.smartgwt.client.core.DataClass
factoryCreated, factoryProperties -
Constructor Summary
Constructors -
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 DataBoundAIRequestgetOrCreateRef(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, setDataSourceMethods inherited from class com.smartgwt.client.util.AsyncOperationParams
getCancellationController, setCancellationControllerMethods inherited from class com.smartgwt.client.core.RefDataClass
getRef, getRef, internalSetIDMethods 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:
DataBoundAIRequestinstance, 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 + maxRetriesnumber of times for up to2 * (1 + maxRetries)total requests.If unset, then
defaultMaxRetrieswill be used.- Parameters:
maxRetries- New maxRetries value. Default value is null- Returns:
DataBoundAIRequestinstance, 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 + maxRetriesnumber of times for up to2 * (1 + maxRetries)total requests.If unset, then
defaultMaxRetrieswill be used.- Returns:
- Current maxRetries value. Default value is null
-