Class DeepSeekChatModel

java.lang.Object
org.springframework.ai.deepseek.DeepSeekChatModel
All Implemented Interfaces:
ChatModel, StreamingChatModel, Model<Prompt,ChatResponse>, StreamingModel<Prompt,ChatResponse>

public class DeepSeekChatModel extends Object implements ChatModel
ChatModel and StreamingChatModel implementation for DeepSeek backed by DeepSeekApi.
Author:
Geng Rong, Thomas Vitale, Sebastien Deleuze
  • Field Details

    • retryTemplate

      public final org.springframework.core.retry.RetryTemplate retryTemplate
      The retry template used to retry the DeepSeek API calls.
  • Constructor Details

    • DeepSeekChatModel

      public DeepSeekChatModel(DeepSeekApi deepSeekApi, DeepSeekChatOptions options, ToolCallingManager toolCallingManager, org.springframework.core.retry.RetryTemplate retryTemplate, io.micrometer.observation.ObservationRegistry observationRegistry)
  • Method Details