Class: Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentData
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentData
- 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
Represents data specific to multi-turn agent evaluations.
Instance Attribute Summary collapse
-
#agents ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentConfig>
Optional.
-
#turns ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ConversationTurn>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AgentData
constructor
A new instance of GoogleCloudAiplatformV1beta1AgentData.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1beta1AgentData
Returns a new instance of GoogleCloudAiplatformV1beta1AgentData.
6272 6273 6274 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6272 def initialize(**args) update!(**args) end |
Instance Attribute Details
#agents ⇒ Hash<String,Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1AgentConfig>
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
6264 6265 6266 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6264 def agents @agents end |
#turns ⇒ Array<Google::Apis::AiplatformV1beta1::GoogleCloudAiplatformV1beta1ConversationTurn>
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
6270 6271 6272 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6270 def turns @turns end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6277 6278 6279 6280 |
# File 'lib/google/apis/aiplatform_v1beta1/classes.rb', line 6277 def update!(**args) @agents = args[:agents] if args.key?(:agents) @turns = args[:turns] if args.key?(:turns) end |