Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttribution
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttribution
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/aiplatform_v1beta1/classes.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb,
lib/google/apis/aiplatform_v1beta1/representations.rb
Overview
Grounding attribution.
Instance Attribute Summary collapse
-
#confidence_score ⇒ Float
Optional.
-
#segment ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment
Segment of the content.
-
#web ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttributionWeb
Attribution from the web.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GroundingAttribution
constructor
A new instance of GoogleCloudAiplatformV1beta1GroundingAttribution.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1GroundingAttribution
Returns a new instance of GoogleCloudAiplatformV1beta1GroundingAttribution.
10863 10864 10865 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10863 def initialize(**args) update!(**args) end |
Instance Attribute Details
#confidence_score ⇒ Float
Optional. Output only. Confidence score of the attribution. Ranges from 0 to 1.
1 is the most confident.
Corresponds to the JSON property confidenceScore
10851 10852 10853 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10851 def confidence_score @confidence_score end |
#segment ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1Segment
Segment of the content.
Corresponds to the JSON property segment
10856 10857 10858 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10856 def segment @segment end |
#web ⇒ Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1GroundingAttributionWeb
Attribution from the web.
Corresponds to the JSON property web
10861 10862 10863 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10861 def web @web end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10868 10869 10870 10871 10872 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 10868 def update!(**args) @confidence_score = args[:confidence_score] if args.key?(:confidence_score) @segment = args[:segment] if args.key?(:segment) @web = args[:web] if args.key?(:web) end |