public sealed class AnswerGenerationSpec.Types.UserDefinedClassifierSpec : IMessage<AnswerGenerationSpec.Types.UserDefinedClassifierSpec>, IEquatable<AnswerGenerationSpec.Types.UserDefinedClassifierSpec>, IDeepCloneable<AnswerGenerationSpec.Types.UserDefinedClassifierSpec>, IBufferMessage, IMessageReference documentation and code samples for the Discovery Engine v1beta API class AnswerGenerationSpec.Types.UserDefinedClassifierSpec.
The specification for user defined classifier.
Implements
IMessageAnswerGenerationSpecTypesUserDefinedClassifierSpec, IEquatableAnswerGenerationSpecTypesUserDefinedClassifierSpec, IDeepCloneableAnswerGenerationSpecTypesUserDefinedClassifierSpec, IBufferMessage, IMessageNamespace
Google.Cloud.DiscoveryEngine.V1BetaAssembly
Google.Cloud.DiscoveryEngine.V1Beta.dll
Constructors
UserDefinedClassifierSpec()
public UserDefinedClassifierSpec()UserDefinedClassifierSpec(UserDefinedClassifierSpec)
public UserDefinedClassifierSpec(AnswerGenerationSpec.Types.UserDefinedClassifierSpec other)| Parameter | |
|---|---|
| Name | Description |
other |
AnswerGenerationSpecTypesUserDefinedClassifierSpec |
Properties
EnableUserDefinedClassifier
public bool EnableUserDefinedClassifier { get; set; }Optional. Whether or not to enable and include user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
bool |
|
ModelId
public string ModelId { get; set; }Optional. The model id to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Preamble
public string Preamble { get; set; }Optional. The preamble to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Seed
public int Seed { get; set; }Optional. The seed value to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
int |
|
TaskMarker
public string TaskMarker { get; set; }Optional. The task marker to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Temperature
public double Temperature { get; set; }Optional. The temperature value to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
double |
|
TopK
public long TopK { get; set; }Optional. The top-k value to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
long |
|
TopP
public double TopP { get; set; }Optional. The top-p value to be used for the user defined classifier.
| Property Value | |
|---|---|
| Type | Description |
double |
|