PromptModelInferenceConfiguration¶
Structure Class¶
PromptModelInferenceConfiguration
dataclass
¶
Contains inference configurations related to model inference for a prompt. For more information, see Inference parameters.
Attributes¶
max_tokens
class-attribute
instance-attribute
¶
max_tokens: int | None = None
The maximum number of tokens to return in the response.
stop_sequences
class-attribute
instance-attribute
¶
A list of strings that define sequences after which the model will stop generating.