Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1/classes.rb,
lib/google/apis/discoveryengine_v1/representations.rb,
lib/google/apis/discoveryengine_v1/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::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundingFact>
List of facts to be used for grounding.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
constructor
A new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource
Returns a new instance of GoogleCloudDiscoveryengineV1GenerateGroundedContentRequestGroundingSourceInlineSource.
5477 5478 5479 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5477 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
5470 5471 5472 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5470 def attributes @attributes end |
#grounding_facts ⇒ Array<Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1GroundingFact>
List of facts to be used for grounding.
Corresponds to the JSON property groundingFacts
5475 5476 5477 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5475 def grounding_facts @grounding_facts end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5482 5483 5484 5485 |
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 5482 def update!(**args) @attributes = args[:attributes] if args.key?(:attributes) @grounding_facts = args[:grounding_facts] if args.key?(:grounding_facts) end |