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.



912
913
914
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 912

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)


900
901
902
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 900

def agent
  @agent
end

#deep_research_configGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1DeepResearchAgentConfig

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



905
906
907
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 905

def deep_research_config
  @deep_research_config
end

#dynamic_configGoogle::Apis::AiplatformV1beta1::GenaiVertexV1beta1DynamicAgentConfig

Configuration for dynamic agents. Corresponds to the JSON property dynamic_config



910
911
912
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 910

def dynamic_config
  @dynamic_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



917
918
919
920
921
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 917

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