Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AgentInteraction
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AgentInteraction
- 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
Interaction for generating the completion using agents.
Instance Attribute Summary collapse
-
#agent ⇒ String
The name of the
Agentused for generating the completion. -
#code_mender_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfig
Configuration for the CodeMender agent.
-
#deep_research_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig
Configuration for the Deep Research agent.
-
#dynamic_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DynamicAgentConfig
Configuration for dynamic agents.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GenaiVertexV1beta1AgentInteraction
constructor
A new instance of GenaiVertexV1beta1AgentInteraction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GenaiVertexV1beta1AgentInteraction
Returns a new instance of GenaiVertexV1beta1AgentInteraction.
887 888 889 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 887 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agent ⇒ String
The name of the Agent used for generating the completion.
Corresponds to the JSON property agent
870 871 872 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 870 def agent @agent end |
#code_mender_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1CodeMenderAgentConfig
Configuration for the CodeMender agent.
Corresponds to the JSON property code_mender_config
875 876 877 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 875 def code_mender_config @code_mender_config end |
#deep_research_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig
Configuration for the Deep Research agent.
Corresponds to the JSON property deepResearchConfig
880 881 882 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 880 def deep_research_config @deep_research_config end |
#dynamic_config ⇒ Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1DynamicAgentConfig
Configuration for dynamic agents.
Corresponds to the JSON property dynamicConfig
885 886 887 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 885 def dynamic_config @dynamic_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
892 893 894 895 896 897 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 892 def update!(**args) @agent = args[:agent] if args.key?(:agent) @code_mender_config = args[:code_mender_config] if args.key?(:code_mender_config) @deep_research_config = args[:deep_research_config] if args.key?(:deep_research_config) @dynamic_config = args[:dynamic_config] if args.key?(:dynamic_config) end |