Class: Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceGenerateMultiModalResponse
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceGenerateMultiModalResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb
Instance Attribute Summary collapse
-
#candidates ⇒ Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceCandidate>
Possible candidate responses to the conversation up until this point.
-
#debug_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceMessageMetadata
Debug information containing message metadata.
-
#prompt_feedback ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback
Content filter results for a prompt sent in the request.
-
#reporting_metrics ⇒ Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics
Billable prediction metrics.
-
#usage_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceUsageMetadata
Usage metadata about response(s).
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloudAiNlLlmProtoServiceGenerateMultiModalResponse
constructor
A new instance of CloudAiNlLlmProtoServiceGenerateMultiModalResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloudAiNlLlmProtoServiceGenerateMultiModalResponse
Returns a new instance of CloudAiNlLlmProtoServiceGenerateMultiModalResponse.
671 672 673 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 671 def initialize(**args) update!(**args) end |
Instance Attribute Details
#candidates ⇒ Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceCandidate>
Possible candidate responses to the conversation up until this point.
Corresponds to the JSON property candidates
648 649 650 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 648 def candidates @candidates end |
#debug_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceMessageMetadata
Debug information containing message metadata. Clients should not consume this
field, and this is only populated for Flow Runner path.
Corresponds to the JSON property debugMetadata
654 655 656 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 654 def @debug_metadata end |
#prompt_feedback ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback
Content filter results for a prompt sent in the request.
Corresponds to the JSON property promptFeedback
659 660 661 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 659 def prompt_feedback @prompt_feedback end |
#reporting_metrics ⇒ Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics
Billable prediction metrics.
Corresponds to the JSON property reportingMetrics
664 665 666 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 664 def reporting_metrics @reporting_metrics end |
#usage_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceUsageMetadata
Usage metadata about response(s).
Corresponds to the JSON property usageMetadata
669 670 671 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 669 def @usage_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
676 677 678 679 680 681 682 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 676 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) @debug_metadata = args[:debug_metadata] if args.key?(:debug_metadata) @prompt_feedback = args[:prompt_feedback] if args.key?(:prompt_feedback) @reporting_metrics = args[:reporting_metrics] if args.key?(:reporting_metrics) @usage_metadata = args[:usage_metadata] if args.key?(:usage_metadata) end |