Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentData

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/aiplatform_v1/classes.rb,
lib/google/apis/aiplatform_v1/representations.rb,
lib/google/apis/aiplatform_v1/representations.rb

Overview

Represents data specific to multi-turn agent evaluations.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudAiplatformV1AgentData

Returns a new instance of GoogleCloudAiplatformV1AgentData.



1584
1585
1586
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1584

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

Instance Attribute Details

#agentsHash<String,Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentConfig>

Optional. A map containing the static configurations for each agent in the system. Key: agent_id (matches the author field in events). Value: The static configuration of the agent. Corresponds to the JSON property agents



1576
1577
1578
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1576

def agents
  @agents
end

#turnsArray<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ConversationTurn>

Optional. A chronological list of conversation turns. Each turn represents a logical execution cycle (e.g., User Input -> Agent Response). Corresponds to the JSON property turns



1582
1583
1584
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1582

def turns
  @turns
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1589
1590
1591
1592
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 1589

def update!(**args)
  @agents = args[:agents] if args.key?(:agents)
  @turns = args[:turns] if args.key?(:turns)
end