Class: Google::Cloud::AIPlatform::V1::OutputFieldSpec
- Inherits:
-
Object
- Object
- Google::Cloud::AIPlatform::V1::OutputFieldSpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb
Overview
Defines a specification for a single output field.
Defined Under Namespace
Modules: FieldType
Instance Attribute Summary collapse
-
#field_name ⇒ ::String
Required.
-
#field_type ⇒ ::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType
Optional.
-
#guidance ⇒ ::String
Optional.
Instance Attribute Details
#field_name ⇒ ::String
Returns Required. The name of the output field.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb', line 84 class OutputFieldSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The data type of the field. module FieldType # Field type is unspecified. FIELD_TYPE_UNSPECIFIED = 0 # Arbitrary content field type. CONTENT = 1 # Text field type. TEXT = 2 # Image field type. IMAGE = 3 # Audio field type. AUDIO = 4 end end |
#field_type ⇒ ::Google::Cloud::AIPlatform::V1::OutputFieldSpec::FieldType
Returns Optional. The data type of the field. Defaults to CONTENT if not set.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb', line 84 class OutputFieldSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The data type of the field. module FieldType # Field type is unspecified. FIELD_TYPE_UNSPECIFIED = 0 # Arbitrary content field type. CONTENT = 1 # Text field type. TEXT = 2 # Image field type. IMAGE = 3 # Audio field type. AUDIO = 4 end end |
#guidance ⇒ ::String
Returns 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.
84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 |
# File 'proto_docs/google/cloud/aiplatform/v1/data_foundry_service.rb', line 84 class OutputFieldSpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # The data type of the field. module FieldType # Field type is unspecified. FIELD_TYPE_UNSPECIFIED = 0 # Arbitrary content field type. CONTENT = 1 # Text field type. TEXT = 2 # Image field type. IMAGE = 3 # Audio field type. AUDIO = 4 end end |