public sealed class Generator : IMessage<Generator>, IEquatable<Generator>, IDeepCloneable<Generator>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Dialogflow v2 API class Generator.
LLM generator.
Implements
IMessageGenerator, IEquatableGenerator, IDeepCloneableGenerator, IBufferMessage, IMessageNamespace
Google.Cloud.Dialogflow.V2Assembly
Google.Cloud.Dialogflow.V2.dll
Constructors
Generator()
public Generator()
Generator(Generator)
public Generator(Generator other)
Parameter | |
---|---|
Name | Description |
other |
Generator |
Properties
ContextCase
public Generator.ContextOneofCase ContextCase { get; }
Property Value | |
---|---|
Type | Description |
GeneratorContextOneofCase |
CreateTime
public Timestamp CreateTime { get; set; }
Output only. Creation time of this generator.
Property Value | |
---|---|
Type | Description |
Timestamp |
Description
public string Description { get; set; }
Optional. Human readable description of the generator.
Property Value | |
---|---|
Type | Description |
string |
FoundationModelCase
public Generator.FoundationModelOneofCase FoundationModelCase { get; }
Property Value | |
---|---|
Type | Description |
GeneratorFoundationModelOneofCase |
FreeFormContext
public FreeFormContext FreeFormContext { get; set; }
Input of free from generator to LLM.
Property Value | |
---|---|
Type | Description |
FreeFormContext |
GeneratorName
public GeneratorName GeneratorName { get; set; }
GeneratorName-typed view over the Name resource name property.
Property Value | |
---|---|
Type | Description |
GeneratorName |
HasPublishedModel
public bool HasPublishedModel { get; }
Gets whether the "published_model" field is set
Property Value | |
---|---|
Type | Description |
bool |
InferenceParameter
public InferenceParameter InferenceParameter { get; set; }
Optional. Inference parameters for this generator.
Property Value | |
---|---|
Type | Description |
InferenceParameter |
Name
public string Name { get; set; }
Output only. Identifier. The resource name of the generator. Format:
projects/<Project ID>/locations/<Location ID>/generators/<Generator ID>
Property Value | |
---|---|
Type | Description |
string |
PublishedModel
public string PublishedModel { get; set; }
Optional. The published Large Language Model name.
- To use the latest model version, specify the model name without version
number. Example:
text-bison
- To use a stable model version, specify the version number as well.
Example:
text-bison@002
.
Property Value | |
---|---|
Type | Description |
string |
SummarizationContext
public SummarizationContext SummarizationContext { get; set; }
Input of prebuilt Summarization feature.
Property Value | |
---|---|
Type | Description |
SummarizationContext |
TriggerEvent
public TriggerEvent TriggerEvent { get; set; }
Optional. The trigger event of the generator. It defines when the generator is triggered in a conversation.
Property Value | |
---|---|
Type | Description |
TriggerEvent |
UpdateTime
public Timestamp UpdateTime { get; set; }
Output only. Update time of this generator.
Property Value | |
---|---|
Type | Description |
Timestamp |