Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Message to be used for grounding based on inline content.
Instance Attribute Summary collapse
-
#attributes ⇒ Hash<String,String>
Attributes associated with the content.
-
#grounding_facts ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundingFact>
List of facts to be used for grounding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1alphaGenerateGroundedContentRequestGroundingSourceInlineSource.
10579 10580 10581 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10579 def initialize(**args) update!(**args) end |
Instance Attribute Details
#attributes ⇒ Hash<String,String>
Attributes associated with the content. Common attributes include source
(
indicating where the content was sourced from) and author
(indicating the
author of the content).
Corresponds to the JSON property attributes
10572 10573 10574 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10572 def attributes @attributes end |
#grounding_facts ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaGroundingFact>
List of facts to be used for grounding.
Corresponds to the JSON property groundingFacts
10577 10578 10579 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10577 def grounding_facts @grounding_facts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10584 10585 10586 10587 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 10584 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @grounding_facts = args[:grounding_facts] if args.key?(:grounding_facts) end |