public class SingleSourceAIRequest extends RefDataClass
source
in some context.id
factoryCreated, factoryProperties
Constructor and Description |
---|
SingleSourceAIRequest() |
SingleSourceAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj) |
Modifier and Type | Method and Description |
---|---|
AIMessage[] |
getAdditionalMessages()
Additional messages.
|
static SingleSourceAIRequest |
getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
java.lang.Object |
getPrompt()
The data of the request.
|
AIContentType |
getPromptType()
The type of data of the
prompt . |
SingleSourceAIRequest |
setAdditionalMessages(AIMessage... additionalMessages)
Additional messages.
|
SingleSourceAIRequest |
setPrompt(java.lang.Object prompt)
The data of the request.
|
SingleSourceAIRequest |
setPromptType(AIContentType promptType)
The type of data of the
prompt . |
getRef, getRef, internalSetID
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
public SingleSourceAIRequest()
public SingleSourceAIRequest(com.google.gwt.core.client.JavaScriptObject jsObj)
public static SingleSourceAIRequest getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public SingleSourceAIRequest setAdditionalMessages(AIMessage... additionalMessages)
prompt
may be an
image, and additional text about the request can be added to this array.additionalMessages
- New additionalMessages value. Default value is nullSingleSourceAIRequest
instance, for chaining setter callspublic AIMessage[] getAdditionalMessages()
prompt
may be an
image, and additional text about the request can be added to this array.public SingleSourceAIRequest setPrompt(java.lang.Object prompt)
promptType
.prompt
- New prompt value. Default value is nullSingleSourceAIRequest
instance, for chaining setter callspublic java.lang.Object getPrompt()
promptType
.public SingleSourceAIRequest setPromptType(AIContentType promptType)
prompt
.promptType
- New promptType value. Default value is "text"SingleSourceAIRequest
instance, for chaining setter callspublic AIContentType getPromptType()
prompt
.