Class: Aws::Bedrock::Types::InferenceConfiguration
- Inherits:
-
Struct
- Object
- Struct
- Aws::Bedrock::Types::InferenceConfiguration
- Includes:
- Structure
- Defined in:
- lib/aws-sdk-bedrock/types.rb
Overview
Inference configuration for a model.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#max_tokens ⇒ Integer
The maximum number of tokens to generate.
-
#stop_sequences ⇒ Array<String>
Stop sequences that end generation.
-
#temperature ⇒ Float
The temperature for sampling.
-
#top_p ⇒ Float
The top-p value for nucleus sampling.
Instance Attribute Details
#max_tokens ⇒ Integer
The maximum number of tokens to generate.
9641 9642 9643 9644 9645 9646 9647 9648 |
# File 'lib/aws-sdk-bedrock/types.rb', line 9641 class InferenceConfiguration < Struct.new( :max_tokens, :temperature, :top_p, :stop_sequences) SENSITIVE = [] include Aws::Structure end |
#stop_sequences ⇒ Array<String>
Stop sequences that end generation.
9641 9642 9643 9644 9645 9646 9647 9648 |
# File 'lib/aws-sdk-bedrock/types.rb', line 9641 class InferenceConfiguration < Struct.new( :max_tokens, :temperature, :top_p, :stop_sequences) SENSITIVE = [] include Aws::Structure end |
#temperature ⇒ Float
The temperature for sampling.
9641 9642 9643 9644 9645 9646 9647 9648 |
# File 'lib/aws-sdk-bedrock/types.rb', line 9641 class InferenceConfiguration < Struct.new( :max_tokens, :temperature, :top_p, :stop_sequences) SENSITIVE = [] include Aws::Structure end |
#top_p ⇒ Float
The top-p value for nucleus sampling.
9641 9642 9643 9644 9645 9646 9647 9648 |
# File 'lib/aws-sdk-bedrock/types.rb', line 9641 class InferenceConfiguration < Struct.new( :max_tokens, :temperature, :top_p, :stop_sequences) SENSITIVE = [] include Aws::Structure end |