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
Sent as frequency_penalty, ignored by the API.
Sent as presence_penalty, ignored by the API.
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.