public sealed class OutputFieldSpec : IMessage<OutputFieldSpec>, IEquatable<OutputFieldSpec>, IDeepCloneable<OutputFieldSpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Vertex AI v1 API class OutputFieldSpec.
Defines a specification for a single output field.
Implements
IMessageOutputFieldSpec, IEquatableOutputFieldSpec, IDeepCloneableOutputFieldSpec, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
OutputFieldSpec()
public OutputFieldSpec()
OutputFieldSpec(OutputFieldSpec)
public OutputFieldSpec(OutputFieldSpec other)
Parameter | |
---|---|
Name | Description |
other |
OutputFieldSpec |
Properties
FieldName
public string FieldName { get; set; }
Required. The name of the output field.
Property Value | |
---|---|
Type | Description |
string |
FieldType
public OutputFieldSpec.Types.FieldType FieldType { get; set; }
Optional. The data type of the field. Defaults to CONTENT if not set.
Property Value | |
---|---|
Type | Description |
OutputFieldSpecTypesFieldType |
Guidance
public string Guidance { get; set; }
Optional. Optional, but recommended. Additional guidance specific to this field to provide targeted instructions for the LLM to generate the content of a single output field. While the LLM can sometimes infer content from the field name, providing explicit guidance is preferred.
Property Value | |
---|---|
Type | Description |
string |