Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
Generation settings for the experiment.
Instance Attribute Summary collapse
-
#context ⇒ String
Optional.
-
#include_full_program_in_prompt ⇒ Boolean
(also: #include_full_program_in_prompt?)
Optional.
-
#models ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettings.
7612 7613 7614 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7612 def initialize(**args) update!(**args) end |
Instance Attribute Details
#context ⇒ String
Optional. Additional user-provided context to be used during generation.
Corresponds to the JSON property context
7596 7597 7598 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7596 def context @context end |
#include_full_program_in_prompt ⇒ Boolean Also known as: include_full_program_in_prompt?
Optional. When true, the LLM prompt includes the full program text (both
mutable EVOLVE-BLOCK regions and immutable boilerplate). When false (default),
only the mutable EVOLVE-BLOCK regions are shown, saving context window.
Corresponds to the JSON property includeFullProgramInPrompt
7603 7604 7605 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7603 def include_full_program_in_prompt @include_full_program_in_prompt end |
#models ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveExperimentConfigGenerationSettingsModelConfig>
Optional. Per-model configuration. See ModelConfig for details. If left
unset, the server selects a default model.
Corresponds to the JSON property models
7610 7611 7612 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7610 def models @models end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7617 7618 7619 7620 7621 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7617 def update!(**args) @context = args[:context] if args.key?(:context) @include_full_program_in_prompt = args[:include_full_program_in_prompt] if args.key?(:include_full_program_in_prompt) @models = args[:models] if args.key?(:models) end |