logoAnt Design X

DesignDevelopmentComponentsX MarkdownX SDKPlayground
  • Introduction
  • Data Flow
    • useXChatConversation Data
      2.0.0
    • useXConversations
      2.0.0
  • Chat Provider
    • Chat Provider
      2.0.0
    • OpenAIChatProvider
      2.0.0
    • DeepSeekChatProvider
      2.0.0
    • Custom Chat Provider
      2.0.0
  • Utilities
    • XRequestRequest
      2.0.0
    • XStreamStream
      2.0.0

DeepSeekChatProvider

Importimport { DeepSeekChatProvider } from "@ant-design/x";
Sourcecomponents/deep-seek-chat-provider
Docs
Edit this page...
Versionsupported since 2.0.0

DeepSeekChatProvider is a Chat Provider compatible with DeepSeek. It's very similar to OpenAIChatProvider, with the only difference being that this Provider automatically parses DeepSeek's unique reasoning_content field as the model's thought process output. When used with the Think component, it can quickly display the model's thinking process. For detailed usage examples, please refer to the Independent Playground code.

Usage Example

Basic

DeepSeekChatProvider works with useXChat for data operations.

CodeSandbox Icon
codepen icon
External Link Icon
expand codeexpand code
With Components

Use DeepSeekChatProvider to integrate thinking models, enabling message sending, data processing, and message termination.

CodeSandbox Icon
codepen icon
External Link Icon
expand codeexpand code

Messages Data

Is Requesting:false
Data Length:0
Data Details:
[]

Data Operations

Send Request
Current status:No messages yet, please enter a question and send