Package com.smartgwt.client.ai
Class AIHoverRequest
- All Implemented Interfaces:
HasHandlers
Settings that configure requests to AI to generate the contents of hovers.
-
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 TypeMethodDescriptionExamples to send in eachSummarizeValueRequest
.Whether to include theRecord
that theAIHoverRequest
is acting upon in eachSummarizeValueRequest
to AI, for context.static AIHoverRequest
getOrCreateRef
(JavaScriptObject jsObj) String[]
The names of fields that are relevant to eachSummarizeValueRequest
.setExamples
(SummarizeValueExample... examples) Examples to send in eachSummarizeValueRequest
.setIncludeRecord
(Boolean includeRecord) Whether to include theRecord
that theAIHoverRequest
is acting upon in eachSummarizeValueRequest
to AI, for context.setRelevantFieldNames
(String... relevantFieldNames) The names of fields that are relevant to eachSummarizeValueRequest
.Methods inherited from class com.smartgwt.client.ai.SingleSourceAIRequest
getAdditionalMessages, getPrompt, getPromptType, setAdditionalMessages, setPrompt, setPromptType
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
-
AIHoverRequest
public AIHoverRequest() -
AIHoverRequest
-
-
Method Details
-
getOrCreateRef
-
setExamples
Examples to send in eachSummarizeValueRequest
.- Parameters:
examples
- New examples value. Default value is null- Returns:
AIHoverRequest
instance, for chaining setter calls
-
getExamples
Examples to send in eachSummarizeValueRequest
.- Returns:
- Current examples value. Default value is null
-
setIncludeRecord
Whether to include theRecord
that theAIHoverRequest
is acting upon in eachSummarizeValueRequest
to AI, for context.- Parameters:
includeRecord
- New includeRecord value. Default value is true- Returns:
AIHoverRequest
instance, for chaining setter calls
-
getIncludeRecord
Whether to include theRecord
that theAIHoverRequest
is acting upon in eachSummarizeValueRequest
to AI, for context.- Returns:
- Current includeRecord value. Default value is true
-
setRelevantFieldNames
The names of fields that are relevant to eachSummarizeValueRequest
.- Parameters:
relevantFieldNames
- New relevantFieldNames value. Default value is null- Returns:
AIHoverRequest
instance, for chaining setter calls- See Also:
-
getRelevantFieldNames
The names of fields that are relevant to eachSummarizeValueRequest
.- Returns:
- Current relevantFieldNames value. Default value is null
- See Also:
-