Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::OutputFieldSpec.
Defines a specification for a single output field.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#field_name
def field_name() -> ::String
Returns
- (::String) — Required. The name of the output field.
#field_name=
def field_name=(value) -> ::String
Parameter
- value (::String) — Required. The name of the output field.
Returns
- (::String) — Required. The name of the output field.
#field_type
def field_type() -> ::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType
Returns
- (::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType) — Optional. The data type of the field. Defaults to CONTENT if not set.
#field_type=
def field_type=(value) -> ::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType
Parameter
- value (::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType) — Optional. The data type of the field. Defaults to CONTENT if not set.
Returns
- (::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType) — Optional. The data type of the field. Defaults to CONTENT if not set.
#guidance
def guidance() -> ::String
Returns
- (::String) — 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.
#guidance=
def guidance=(value) -> ::String
Parameter
- value (::String) — 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.
Returns
- (::String) — 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.