Class: Aws::SagemakerJobRuntime::Types::SampleWithResponseStreamRequest

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-sagemakerjobruntime/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:body]

Instance Attribute Summary collapse

Instance Attribute Details

#bodyString

The raw inference request body in OpenAI-compatible JSON format.

Returns:

  • (String)


159
160
161
162
163
164
165
# File 'lib/aws-sdk-sagemakerjobruntime/types.rb', line 159

class SampleWithResponseStreamRequest < Struct.new(
  :job_arn,
  :trajectory_id,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end

#job_arnString

The job ARN that identifies which model session to route the inference request to.

Returns:

  • (String)


159
160
161
162
163
164
165
# File 'lib/aws-sdk-sagemakerjobruntime/types.rb', line 159

class SampleWithResponseStreamRequest < Struct.new(
  :job_arn,
  :trajectory_id,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end

#trajectory_idString

The trajectory ID for grouping turns into a single rollout. Each turn is captured for later use.

Returns:

  • (String)


159
160
161
162
163
164
165
# File 'lib/aws-sdk-sagemakerjobruntime/types.rb', line 159

class SampleWithResponseStreamRequest < Struct.new(
  :job_arn,
  :trajectory_id,
  :body)
  SENSITIVE = [:body]
  include Aws::Structure
end