Deep Seek Params
Shared sampling parameters for the DeepSeek chat and FIM endpoints.
This class carries the fields common to both endpoints and acts as the base of ChatCompletionParams and FIMCompletionParams. It also exposes shortcut factory methods (chat, chatStream, fim, fimStream) so any existing param instance can be used as an entry point to produce a differently-typed one.
Inheritors
Properties
Reduces repetition by penalizing tokens based on their frequency in the text. Expected range: -2.0..2.0.
Reduces repetition by penalizing tokens that have appeared in the text. Expected range: -2.0..2.0.
Custom stop sequences that cause the model to stop generating further tokens.
Controls randomness in output generation (higher = more random). Expected range: 0.0..2.0.
Functions
Shortcut to chatCompletionParams, available on any existing DeepSeekParams.
Shortcut to chatCompletionStreamParams, available on any existing DeepSeekParams.
Shortcut to fimCompletionParams, available on any existing DeepSeekParams.
Shortcut to fimCompletionStreamParams, available on any existing DeepSeekParams.