Class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput
- Inherits:
-
Object
- Object
- Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput
- 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
Session input to run an Agent.
Instance Attribute Summary collapse
-
#parameters ⇒ Hash<String,String>
Optional.
-
#session_state ⇒ Hash<String,Object>
Optional.
-
#user_id ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput
constructor
A new instance of GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput
Returns a new instance of GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput.
10639 10640 10641 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#parameters ⇒ Hash<String,String>
Optional. Additional parameters for the session, like app_name, etc. For
example, "app_name": "my-app".
Corresponds to the JSON property parameters
10626 10627 10628 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10626 def parameters @parameters end |
#session_state ⇒ Hash<String,Object>
Optional. Session specific memory which stores key conversation points.
Corresponds to the JSON property sessionState
10631 10632 10633 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10631 def session_state @session_state end |
#user_id ⇒ String
Optional. The user id for the agent session. The ID can be up to 128
characters long.
Corresponds to the JSON property userId
10637 10638 10639 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10637 def user_id @user_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
10644 10645 10646 10647 10648 |
# File 'lib/google/apis/aiplatform_v1/classes.rb', line 10644 def update!(**args) @parameters = args[:parameters] if args.key?(:parameters) @session_state = args[:session_state] if args.key?(:session_state) @user_id = args[:user_id] if args.key?(:user_id) end |