Class: Google::Apis::AiplatformV1beta1::GenaiVertexV1beta1AgentInteraction

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GenaiVertexV1beta1AgentInteraction

Returns a new instance of GenaiVertexV1beta1AgentInteraction.



1004
1005
1006
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1004

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#agentString

The name of the Agent used for generating the completion. Corresponds to the JSON property agent

Returns:

  • (String)


992
993
994
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 992

def agent
  @agent
end

#deep_research_configGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig

Configuration for the Deep Research agent. Corresponds to the JSON property deep_research_config



997
998
999
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 997

def deep_research_config
  @deep_research_config
end

#dynamic_configGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1DynamicAgentConfig

Configuration for dynamic agents. Corresponds to the JSON property dynamic_config



1002
1003
1004
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1002

def dynamic_config
  @dynamic_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1009
1010
1011
1012
1013
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 1009

def update!(**args)
  @agent = args[:agent] if args.key?(:agent)
  @deep_research_config = args[:deep_research_config] if args.key?(:deep_research_config)
  @dynamic_config = args[:dynamic_config] if args.key?(:dynamic_config)
end