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.
7622 7623 7624 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7622 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
7606 7607 7608 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7606 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
7613 7614 7615 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7613 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
7620 7621 7622 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7620 def models @models end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7627 7628 7629 7630 7631 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7627 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 |