Skip to main content

DeepSeek

Bundles contain custom components that support specific third-party integrations with Langflow.

This page describes the components that are available in the DeepSeek bundle.

For more information about DeepSeek features and functionality used by DeepSeek components, see the DeepSeek documentation.

DeepSeek text generation

The DeepSeek component generates text using DeepSeek's language models.

It can output either a Model Response (Message) or a Language Model (LanguageModel).

Use the Language Model output when you want to use a DeepSeek model as the LLM for another LLM-driven component, such as a Language Model or Smart Function component.

For more information, see Language Model components.

DeepSeek text generation parameters

Many DeepSeek component input parameters are hidden by default in the visual editor. You can toggle parameters through the Controls in the component's header menu.

NameTypeDescription
max_tokensIntegerInput parameter. Maximum number of tokens to generate. Set to 0 for unlimited. Range: 0-128000.
model_kwargsDictionaryInput parameter. Additional keyword arguments for the model.
json_modeBooleanInput parameter. If True, outputs JSON regardless of passing a schema.
model_nameStringInput parameter. The DeepSeek model to use. Default: deepseek-chat.
api_baseStringInput parameter. Base URL for API requests. Default: https://api.deepseek.com.
api_keySecretStringInput parameter. Your DeepSeek API key for authentication.
temperatureFloatInput parameter. Controls randomness in responses. Range: [0.0, 2.0]. Default: 1.0.
seedIntegerInput parameter. Number initialized for random number generation. Use the same seed integer for more reproducible results, and use a different seed number for more random results.
Search