Package de.entwicklertraining.deepseek4j
package de.entwicklertraining.deepseek4j
-
ClassDescriptionDeepSeekClient handles HTTP requests to the DeepSeek Chat Completion API, including exponential backoff for 429 (Rate Limit) and 503 (Server Overloaded).A sealed interface representing a DeepSeek-compatible JSON Schema definition, supporting object/array/string/enum/anyOf types and the ability to mark fields as required.DeepSeekRequest<T extends DeepSeekResponse<?>>A generic request abstraction for DeepSeek calls (chat completions, etc.).DeepSeekResponse<T extends DeepSeekRequest<?>>A generic response abstraction from DeepSeek calls (chat completions, etc.).Represents the response_format object for DeepSeek, specifying the format the model must output.Tokenzähler für DeepSeek-Modelle (Byte-Level BPE).Encapsulates the arguments that the model provided when calling a tool.Represents a function-like tool definition in DeepSeek, with a name, description, parameters (JSON schema), and a callback that is executed when the model calls this tool.