Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::OutputFieldSpec (v1.21.0)

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

#field_type=

def field_type=(value) -> ::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType
Parameter
Returns

#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.