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. -
#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.
912 913 914 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 912 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
900 901 902 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 900 def agent @agent end |
#deep_research_config ⇒ Google::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_config ⇒ Google::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 |