ComfyUI Node
DeepSeek Chat Pro
A ComfyUI node in Fair/deepseek with 8 inputs and 1 output.
DeepSeek Chat Pro
- content
◄prompt—►
◄frequency_penalty0►
◄max_tokens4096►
◄presence_penalty0►
◄temperature1►
◄top_p1►
◄logprobstrue►
◄top_logprobs0►
CategoryFair/deepseek
Inputs (8)
| Name | Type | Default | Description |
|---|---|---|---|
| prompt | STRING | — | |
| frequency_penalty | FLOAT | 0-2–2 | Number between -2.0 and 2.0. Positive values penalize new tokens based on their existing frequency in the text so far, decreasing the model's likelihood to repeat the same line verbatim. |
| max_tokens | INT | 40961–8192 | Integer between 1 and 8192. The maximum number of tokens that can be generated in the chat completion. The total length of input tokens and generated tokens is limited by the model's context length. If max_tokens is not specified, the default value 4096 is used. |
| presence_penalty | FLOAT | 0-2–2 | Number between -2.0 and 2.0. Positive values penalize new tokens based on whether they appear in the text so far, increasing the model's likelihood to talk about new topics. |
| temperature | FLOAT | 10–2 | What sampling temperature to use, between 0 and 2. Higher values like 0.8 will make the output more random, while lower values like 0.2 will make it more focused and deterministic. We generally recommend altering this or top_p but not both. |
| top_p | FLOAT | 10–2 | An alternative to sampling with temperature, called nucleus sampling, where the model considers the results of the tokens with top_p probability mass. So 0.1 means only the tokens comprising the top 10% probability mass are considered. We generally recommend altering this or temperature but not both. |
| logprobs | BOOLEAN | true | Whether to return log probabilities of the output tokens or not. If true, returns the log probabilities of each output token returned in the content of message. |
| top_logprobs | INT | 00–20 | An integer between 0 and 20 specifying the number of most likely tokens to return at each token position, each with an associated log probability. logprobs must be set to true if this parameter is used. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| content | STRING | — |