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.
-
#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.
665 666 667 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 665 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 |
#prompt_feedback ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback
Content filter results for a prompt sent in the request.
Corresponds to the JSON property promptFeedback
653 654 655 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 653 def prompt_feedback @prompt_feedback end |
#reporting_metrics ⇒ Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics
Billable prediction metrics.
Corresponds to the JSON property reportingMetrics
658 659 660 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 658 def reporting_metrics @reporting_metrics end |
#usage_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceUsageMetadata
Usage metadata about response(s).
Corresponds to the JSON property usageMetadata
663 664 665 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 663 def @usage_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
670 671 672 673 674 675 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 670 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) @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 |