Back to Langflow

DeepSeek

docs/versioned_docs/version-1.8.0/Components/bundles-deepseek.mdx

1.10.0.dev202.0 KB
Original Source

import Icon from "@site/src/components/icon"; import PartialParams from '@site/docs/_partial-hidden-params.mdx';

<Icon name="Blocks" aria-hidden="true" /> 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 an Agent or Smart Transform component.

For more information, see Language model components.

DeepSeek text generation parameters

<PartialParams />
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.