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.
-
#facts ⇒ Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFact>
External facts retrieved for factuality/grounding.
-
#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.
728 729 730 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 728 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
700 701 702 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 700 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
706 707 708 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 706 def @debug_metadata end |
#facts ⇒ Array<Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceFact>
External facts retrieved for factuality/grounding.
Corresponds to the JSON property facts
711 712 713 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 711 def facts @facts end |
#prompt_feedback ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServicePromptFeedback
Content filter results for a prompt sent in the request.
Corresponds to the JSON property promptFeedback
716 717 718 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 716 def prompt_feedback @prompt_feedback end |
#reporting_metrics ⇒ Google::Apis::AiplatformV1::IntelligenceCloudAutomlXpsReportingMetrics
Billable prediction metrics.
Corresponds to the JSON property reportingMetrics
721 722 723 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 721 def reporting_metrics @reporting_metrics end |
#usage_metadata ⇒ Google::Apis::AiplatformV1::CloudAiNlLlmProtoServiceUsageMetadata
Usage metadata about response(s).
Corresponds to the JSON property usageMetadata
726 727 728 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 726 def @usage_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
733 734 735 736 737 738 739 740 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 733 def update!(**args) @candidates = args[:candidates] if args.key?(:candidates) @debug_metadata = args[:debug_metadata] if args.key?(:debug_metadata) @facts = args[:facts] if args.key?(:facts) @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 |