public static interface AnswerGenerationSpec.UserDefinedClassifierSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getEnableUserDefinedClassifier()
public abstract boolean getEnableUserDefinedClassifier()Optional. Whether or not to enable and include user defined classifier.
bool enable_user_defined_classifier = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The enableUserDefinedClassifier. |
getModelId()
public abstract String getModelId()Optional. The model id to be used for the user defined classifier.
string model_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The modelId. |
getModelIdBytes()
public abstract ByteString getModelIdBytes()Optional. The model id to be used for the user defined classifier.
string model_id = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for modelId. |
getPreamble()
public abstract String getPreamble()Optional. The preamble to be used for the user defined classifier.
string preamble = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The preamble. |
getPreambleBytes()
public abstract ByteString getPreambleBytes()Optional. The preamble to be used for the user defined classifier.
string preamble = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for preamble. |
getSeed()
public abstract int getSeed()Optional. The seed value to be used for the user defined classifier.
int32 seed = 8 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The seed. |
getTaskMarker()
public abstract String getTaskMarker()Optional. The task marker to be used for the user defined classifier.
string task_marker = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The taskMarker. |
getTaskMarkerBytes()
public abstract ByteString getTaskMarkerBytes()Optional. The task marker to be used for the user defined classifier.
string task_marker = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for taskMarker. |
getTemperature()
public abstract double getTemperature()Optional. The temperature value to be used for the user defined classifier.
double temperature = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The temperature. |
getTopK()
public abstract long getTopK()Optional. The top-k value to be used for the user defined classifier.
int64 top_k = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
long |
The topK. |
getTopP()
public abstract double getTopP()Optional. The top-p value to be used for the user defined classifier.
double top_p = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
double |
The topP. |