Index

A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values

A

apiKey(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
apiKey(ApiKey) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
arguments() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction
Returns the value of the arguments record component.
ASSISTANT - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.Role
Assistant message.
AUTO - Static variable in class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest.ToolChoiceBuilder
Model can pick between generating a message or calling a function.

B

baseUrl(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
betaPrefixPath(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
build() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
build() - Method in class org.springframework.ai.deepseek.api.ResponseFormat.Builder
 
build() - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
build() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
builder() - Static method in class org.springframework.ai.deepseek.api.DeepSeekApi
 
builder() - Static method in class org.springframework.ai.deepseek.api.ResponseFormat
 
builder() - Static method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
builder() - Static method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
Builder() - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
Builder() - Constructor for class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
Builder(DeepSeekChatOptions) - Constructor for class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 

C

cachedTokens() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage.PromptTokensDetails
Returns the value of the cachedTokens record component.
call(Prompt) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
ChatCompletion(String, List<DeepSeekApi.ChatCompletion.Choice>, Long, String, String, String, DeepSeekApi.Usage) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Creates an instance of a ChatCompletion record class.
ChatCompletionChunk(String, List<DeepSeekApi.ChatCompletionChunk.ChunkChoice>, Long, String, String, String, String, DeepSeekApi.Usage) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Creates an instance of a ChatCompletionChunk record class.
chatCompletionEntity(DeepSeekApi.ChatCompletionRequest) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi
Creates a model response for the given chat conversation.
ChatCompletionFunction(String, String) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction
Creates an instance of a ChatCompletionFunction record class.
ChatCompletionMessage(Object, DeepSeekApi.ChatCompletionMessage.Role) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Create a chat completion message with the given content and role.
ChatCompletionMessage(Object, DeepSeekApi.ChatCompletionMessage.Role, String, String, List<DeepSeekApi.ChatCompletionMessage.ToolCall>) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Create a chat completion message with the given content and role.
ChatCompletionMessage(Object, DeepSeekApi.ChatCompletionMessage.Role, String, String, List<DeepSeekApi.ChatCompletionMessage.ToolCall>, Boolean, String) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Creates an instance of a ChatCompletionMessage record class.
ChatCompletionRequest(List<DeepSeekApi.ChatCompletionMessage>, Boolean) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Shortcut constructor for a chat completion request with the given messages for streaming.
ChatCompletionRequest(List<DeepSeekApi.ChatCompletionMessage>, String, Double) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Shortcut constructor for a chat completion request with the given messages, model and temperature.
ChatCompletionRequest(List<DeepSeekApi.ChatCompletionMessage>, String, Double, boolean) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Shortcut constructor for a chat completion request with the given messages, model, temperature and control for streaming.
ChatCompletionRequest(List<DeepSeekApi.ChatCompletionMessage>, String, Double, Integer, Double, ResponseFormat, List<String>, Boolean, Double, Double, Boolean, Integer, List<DeepSeekApi.FunctionTool>, Object) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Creates an instance of a ChatCompletionRequest record class.
chatCompletionStream(DeepSeekApi.ChatCompletionRequest) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi
Creates a streaming chat response for the given chat conversation.
chatCompletionStream(DeepSeekApi.ChatCompletionRequest, MultiValueMap<String, String>) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi
Creates a streaming chat response for the given chat conversation.
Choice(DeepSeekApi.ChatCompletionFinishReason, Integer, DeepSeekApi.ChatCompletionMessage, DeepSeekApi.LogProbs) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Creates an instance of a Choice record class.
choices() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the choices record component.
choices() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the choices record component.
ChunkChoice(DeepSeekApi.ChatCompletionFinishReason, Integer, DeepSeekApi.ChatCompletionMessage, DeepSeekApi.LogProbs) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Creates an instance of a ChunkChoice record class.
completionsPath(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
completionTokens() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Returns the value of the completionTokens record component.
content() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Get message content as String.
content() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs
Returns the value of the content record component.
Content(String, Float, List<Integer>, List<DeepSeekApi.LogProbs.Content.TopLogProbs>) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Creates an instance of a Content record class.
CONTENT_FILTER - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
The content was omitted due to a flag from our content filters.
copy() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
created() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the created record component.
created() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the created record component.

D

DEEPSEEK_CHAT - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
The backend model of deepseek-chat has been updated to DeepSeek-V3, you can access DeepSeek-V3 without modification to the model name.
DEEPSEEK_REASONER - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
deepseek-reasoner is a reasoning model developed by DeepSeek.
deepSeekApi(DeepSeekApi) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
DeepSeekApi - Class in org.springframework.ai.deepseek.api
Single class implementation of the DeepSeek Chat Completion API: https://platform.deepseek.com/api-docs/api/create-chat-completion
DeepSeekApi(String, ApiKey, MultiValueMap<String, String>, String, String, RestClient.Builder, WebClient.Builder, ResponseErrorHandler) - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi
Create a new chat completion api.
DeepSeekApi.Builder - Class in org.springframework.ai.deepseek.api
 
DeepSeekApi.ChatCompletion - Record Class in org.springframework.ai.deepseek.api
Represents a chat completion response returned by model, based on the provided input.
DeepSeekApi.ChatCompletion.Choice - Record Class in org.springframework.ai.deepseek.api
Chat completion choice.
DeepSeekApi.ChatCompletionChunk - Record Class in org.springframework.ai.deepseek.api
Represents a streamed chunk of a chat completion response returned by model, based on the provided input.
DeepSeekApi.ChatCompletionChunk.ChunkChoice - Record Class in org.springframework.ai.deepseek.api
Chat completion choice.
DeepSeekApi.ChatCompletionFinishReason - Enum Class in org.springframework.ai.deepseek.api
The reason the model stopped generating tokens.
DeepSeekApi.ChatCompletionMessage - Record Class in org.springframework.ai.deepseek.api
Message comprising the conversation.
DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction - Record Class in org.springframework.ai.deepseek.api
The function definition.
DeepSeekApi.ChatCompletionMessage.Role - Enum Class in org.springframework.ai.deepseek.api
The role of the author of this message.
DeepSeekApi.ChatCompletionMessage.ToolCall - Record Class in org.springframework.ai.deepseek.api
The relevant tool call.
DeepSeekApi.ChatCompletionRequest - Record Class in org.springframework.ai.deepseek.api
Creates a model response for the given chat conversation.
DeepSeekApi.ChatCompletionRequest.ToolChoiceBuilder - Class in org.springframework.ai.deepseek.api
Helper factory that creates a tool_choice of type 'none', 'auto' or selected function by name.
DeepSeekApi.ChatModel - Enum Class in org.springframework.ai.deepseek.api
DeepSeek Chat Completion Models
DeepSeekApi.FunctionTool - Class in org.springframework.ai.deepseek.api
Represents a tool the model may call.
DeepSeekApi.FunctionTool.Function - Class in org.springframework.ai.deepseek.api
Function definition.
DeepSeekApi.FunctionTool.Type - Enum Class in org.springframework.ai.deepseek.api
Create a tool of type 'function' and the given function definition.
DeepSeekApi.LogProbs - Record Class in org.springframework.ai.deepseek.api
Log probability information for the choice.
DeepSeekApi.LogProbs.Content - Record Class in org.springframework.ai.deepseek.api
Message content tokens with log probability information.
DeepSeekApi.LogProbs.Content.TopLogProbs - Record Class in org.springframework.ai.deepseek.api
The most likely tokens and their log probability, at this token position.
DeepSeekApi.Usage - Record Class in org.springframework.ai.deepseek.api
Usage statistics for the completion request.
DeepSeekApi.Usage.PromptTokensDetails - Record Class in org.springframework.ai.deepseek.api
Breakdown of tokens used in the prompt
DeepSeekAssistantMessage - Class in org.springframework.ai.deepseek
 
DeepSeekAssistantMessage(String) - Constructor for class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
DeepSeekAssistantMessage(String, String) - Constructor for class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
DeepSeekAssistantMessage(String, String, Map<String, Object>, List<AssistantMessage.ToolCall>) - Constructor for class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
DeepSeekAssistantMessage(String, String, Map<String, Object>, List<AssistantMessage.ToolCall>, List<Media>) - Constructor for class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
DeepSeekAssistantMessage(String, Map<String, Object>) - Constructor for class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
DeepSeekAssistantMessage(String, Map<String, Object>, List<AssistantMessage.ToolCall>) - Constructor for class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
DeepSeekChatModel - Class in org.springframework.ai.deepseek
ChatModel and StreamingChatModel implementation for DeepSeek backed by DeepSeekApi.
DeepSeekChatModel(DeepSeekApi, DeepSeekChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry) - Constructor for class org.springframework.ai.deepseek.DeepSeekChatModel
 
DeepSeekChatModel(DeepSeekApi, DeepSeekChatOptions, ToolCallingManager, RetryTemplate, ObservationRegistry, ToolExecutionEligibilityPredicate) - Constructor for class org.springframework.ai.deepseek.DeepSeekChatModel
 
DeepSeekChatModel.Builder - Class in org.springframework.ai.deepseek
 
DeepSeekChatOptions - Class in org.springframework.ai.deepseek
Chat completions options for the DeepSeek chat API.
DeepSeekChatOptions() - Constructor for class org.springframework.ai.deepseek.DeepSeekChatOptions
 
DeepSeekChatOptions.Builder - Class in org.springframework.ai.deepseek
 
DeepSeekConstants - Class in org.springframework.ai.deepseek.api.common
 
DeepSeekRuntimeHints - Class in org.springframework.ai.deepseek.aot
The DeepSeekRuntimeHints class is responsible for registering runtime hints for DeepSeek API classes.
DeepSeekRuntimeHints() - Constructor for class org.springframework.ai.deepseek.aot.DeepSeekRuntimeHints
 
DeepSeekStreamFunctionCallingHelper - Class in org.springframework.ai.deepseek.api
Helper class to support Streaming function calling.
DeepSeekStreamFunctionCallingHelper() - Constructor for class org.springframework.ai.deepseek.api.DeepSeekStreamFunctionCallingHelper
 
DEFAULT_BASE_URL - Static variable in class org.springframework.ai.deepseek.api.common.DeepSeekConstants
 
DEFAULT_BETA_PATH - Static variable in class org.springframework.ai.deepseek.api.common.DeepSeekConstants
 
DEFAULT_CHAT_MODEL - Static variable in class org.springframework.ai.deepseek.api.DeepSeekApi
 
DEFAULT_COMPLETIONS_PATH - Static variable in class org.springframework.ai.deepseek.api.common.DeepSeekConstants
 
defaultOptions(DeepSeekChatOptions) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
delta() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Returns the value of the delta record component.

E

equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage.PromptTokensDetails
Indicates whether some other object is "equal to" this one.
equals(Object) - Method in class org.springframework.ai.deepseek.api.ResponseFormat
 
equals(Object) - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
equals(Object) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 

F

finishReason() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Returns the value of the finishReason record component.
finishReason() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Returns the value of the finishReason record component.
frequencyPenalty() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the frequencyPenalty record component.
frequencyPenalty(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
fromOptions(DeepSeekChatOptions) - Static method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
function() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Returns the value of the function record component.
Function(String, String, String) - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
Create tool function definition.
Function(String, String, Map<String, Object>, Boolean) - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
Create tool function definition.
FUNCTION - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Type
Function tool type.
FUNCTION(String) - Static method in class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest.ToolChoiceBuilder
Specifying a particular function forces the model to call that function.
FunctionTool() - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
 
FunctionTool(DeepSeekApi.FunctionTool.Function) - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
Create a tool of type 'function' and the given function definition.
FunctionTool(DeepSeekApi.FunctionTool.Type, DeepSeekApi.FunctionTool.Function) - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
Create a tool of type 'function' and the given function definition.

G

getDefaultOptions() - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
getDescription() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
getFrequencyPenalty() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getFunction() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
 
getInternalToolExecutionEnabled() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getJsonSchema() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
getLogprobs() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getMaxTokens() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getModel() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getName() - Method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
 
getName() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
getParameters() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
getPrefix() - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
getPresencePenalty() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getReasoningContent() - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
getResponseFormat() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getStop() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getStopSequences() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getStrict() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
getTemperature() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getToolCallbacks() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getToolChoice() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getToolContext() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getToolNames() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getTools() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getTopK() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getTopLogprobs() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getTopP() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
getType() - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
 
getType() - Method in class org.springframework.ai.deepseek.api.ResponseFormat
 
getValue() - Method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
 

H

hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Returns a hash code value for this object.
hashCode() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage.PromptTokensDetails
Returns a hash code value for this object.
hashCode() - Method in class org.springframework.ai.deepseek.api.ResponseFormat
 
hashCode() - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
hashCode() - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
headers(MultiValueMap<String, String>) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 

I

id() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the id record component.
id() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Returns the value of the id record component.
index() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Returns the value of the index record component.
index() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Returns the value of the index record component.
internalCall(Prompt, ChatResponse) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
internalStream(Prompt, ChatResponse) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
internalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
isStreamingToolFunctionCall(DeepSeekApi.ChatCompletionChunk) - Method in class org.springframework.ai.deepseek.api.DeepSeekStreamFunctionCallingHelper
 
isStreamingToolFunctionCallFinish(DeepSeekApi.ChatCompletionChunk) - Method in class org.springframework.ai.deepseek.api.DeepSeekStreamFunctionCallingHelper
 

J

JSON_OBJECT - Enum constant in enum class org.springframework.ai.deepseek.api.ResponseFormat.Type
Enables JSON mode, which guarantees the message the model generates is valid JSON.

L

LENGTH - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
The maximum number of tokens specified in the request was reached.
logprob() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Returns the value of the logprob record component.
logprob() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Returns the value of the logprob record component.
logprobs() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Returns the value of the logprobs record component.
logprobs() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Returns the value of the logprobs record component.
logprobs() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the logprobs record component.
logprobs(Boolean) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
LogProbs(List<DeepSeekApi.LogProbs.Content>, List<DeepSeekApi.LogProbs.Content>) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs
Creates an instance of a LogProbs record class.

M

maxTokens() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the maxTokens record component.
maxTokens(Integer) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
merge(DeepSeekApi.ChatCompletionChunk, DeepSeekApi.ChatCompletionChunk) - Method in class org.springframework.ai.deepseek.api.DeepSeekStreamFunctionCallingHelper
 
message() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Returns the value of the message record component.
messages() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the messages record component.
model() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the model record component.
model() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the model record component.
model(String) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
model(DeepSeekApi.ChatModel) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 

N

name() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction
Returns the value of the name record component.
name() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the name record component.
NONE - Static variable in class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest.ToolChoiceBuilder
Model will not call a function and instead generates a message

O

object() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the object record component.
object() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the object record component.
observationRegistry(ObservationRegistry) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
options - Variable in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
org.springframework.ai.deepseek - package org.springframework.ai.deepseek
 
org.springframework.ai.deepseek.aot - package org.springframework.ai.deepseek.aot
 
org.springframework.ai.deepseek.api - package org.springframework.ai.deepseek.api
 
org.springframework.ai.deepseek.api.common - package org.springframework.ai.deepseek.api.common
 

P

prefix() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the prefix record component.
prefixAssistantMessage(String) - Static method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
prefixAssistantMessage(String, String) - Static method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
presencePenalty() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the presencePenalty record component.
presencePenalty(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
probBytes() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Returns the value of the probBytes record component.
probBytes() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Returns the value of the probBytes record component.
promptTokens() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Returns the value of the promptTokens record component.
promptTokensDetails() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Returns the value of the promptTokensDetails record component.
PromptTokensDetails(Integer) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage.PromptTokensDetails
Creates an instance of a PromptTokensDetails record class.
PROVIDER_NAME - Static variable in class org.springframework.ai.deepseek.api.common.DeepSeekConstants
 

R

rawContent() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the rawContent record component.
reasoningContent() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the reasoningContent record component.
refusal() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs
Returns the value of the refusal record component.
registerHints(RuntimeHints, ClassLoader) - Method in class org.springframework.ai.deepseek.aot.DeepSeekRuntimeHints
 
responseErrorHandler(ResponseErrorHandler) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
responseFormat() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the responseFormat record component.
responseFormat(ResponseFormat) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
ResponseFormat - Class in org.springframework.ai.deepseek.api
An object specifying the format that the model must output.
ResponseFormat.Builder - Class in org.springframework.ai.deepseek.api
 
ResponseFormat.Type - Enum Class in org.springframework.ai.deepseek.api
 
restClientBuilder(RestClient.Builder) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
retryTemplate - Variable in class org.springframework.ai.deepseek.DeepSeekChatModel
The retry template used to retry the DeepSeek API calls.
retryTemplate(RetryTemplate) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
role() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the role record component.

S

serviceTier() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the serviceTier record component.
setDescription(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
setFrequencyPenalty(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setFunction(DeepSeekApi.FunctionTool.Function) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
 
setInternalToolExecutionEnabled(Boolean) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setJsonSchema(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
setLogprobs(Boolean) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setMaxTokens(Integer) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setModel(String) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setName(String) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
setObservationConvention(ChatModelObservationConvention) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
Use the provided convention for reporting observation data
setParameters(Map<String, Object>) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
setPrefix(Boolean) - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
setPresencePenalty(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setReasoningContent(String) - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
setResponseFormat(ResponseFormat) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setStop(List<String>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setStopSequences(List<String>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setStrict(Boolean) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Function
 
setTemperature(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setToolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setToolChoice(Object) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setToolContext(Map<String, Object>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setToolNames(Set<String>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setTools(List<DeepSeekApi.FunctionTool>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setTopLogprobs(Integer) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setTopP(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions
 
setType(DeepSeekApi.FunctionTool.Type) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool
 
setType(ResponseFormat.Type) - Method in class org.springframework.ai.deepseek.api.ResponseFormat
 
stop() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the stop record component.
stop(List<String>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
STOP - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
The model hit a natural stop point or a provided stop sequence.
stream() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the stream record component.
stream(Prompt) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
SYSTEM - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.Role
System message.
systemFingerprint() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the systemFingerprint record component.
systemFingerprint() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the systemFingerprint record component.

T

temperature() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the temperature record component.
temperature(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
TEXT - Enum constant in enum class org.springframework.ai.deepseek.api.ResponseFormat.Type
Generates a text response.
token() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Returns the value of the token record component.
token() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Returns the value of the token record component.
TOOL - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.Role
Tool message.
TOOL_CALL - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
Only for compatibility with Mistral AI API.
TOOL_CALLS - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
The model called a tool.
ToolCall(Integer, String, String, DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Creates an instance of a ToolCall record class.
ToolCall(String, String, DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
 
toolCallbacks(List<ToolCallback>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
toolCallbacks(ToolCallback...) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
toolCallId() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the toolCallId record component.
toolCallingManager(ToolCallingManager) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
toolCalls() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns the value of the toolCalls record component.
toolChoice() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the toolChoice record component.
toolChoice(Object) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
ToolChoiceBuilder() - Constructor for class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest.ToolChoiceBuilder
 
toolContext(Map<String, Object>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
toolExecutionEligibilityPredicate(ToolExecutionEligibilityPredicate) - Method in class org.springframework.ai.deepseek.DeepSeekChatModel.Builder
 
toolNames(String...) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
toolNames(Set<String>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
tools() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the tools record component.
tools(List<DeepSeekApi.FunctionTool>) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
topLogprobs() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the topLogprobs record component.
topLogprobs() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Returns the value of the topLogprobs record component.
topLogprobs(Integer) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
TopLogProbs(String, Float, List<Integer>) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Creates an instance of a TopLogProbs record class.
topP() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns the value of the topP record component.
topP(Double) - Method in class org.springframework.ai.deepseek.DeepSeekChatOptions.Builder
 
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion.Choice
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk.ChunkChoice
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ChatCompletionFunction
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionRequest
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content.TopLogProbs
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs.Content
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.LogProbs
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage.PromptTokensDetails
Returns a string representation of this record class.
toString() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Returns a string representation of this record class.
toString() - Method in class org.springframework.ai.deepseek.api.ResponseFormat
 
toString() - Method in class org.springframework.ai.deepseek.DeepSeekAssistantMessage
 
toString() - Method in class org.springframework.ai.deepseek.DeepSeekChatModel
 
totalTokens() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Returns the value of the totalTokens record component.
type() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.ToolCall
Returns the value of the type record component.
type(ResponseFormat.Type) - Method in class org.springframework.ai.deepseek.api.ResponseFormat.Builder
 

U

usage() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletion
Returns the value of the usage record component.
usage() - Method in record class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionChunk
Returns the value of the usage record component.
Usage(Integer, Integer, Integer) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
 
Usage(Integer, Integer, Integer, DeepSeekApi.Usage.PromptTokensDetails) - Constructor for record class org.springframework.ai.deepseek.api.DeepSeekApi.Usage
Creates an instance of a Usage record class.
USER - Enum constant in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.Role
User message.

V

value - Variable in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
 
valueOf(String) - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.Role
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Type
Returns the enum constant of this class with the specified name.
valueOf(String) - Static method in enum class org.springframework.ai.deepseek.api.ResponseFormat.Type
Returns the enum constant of this class with the specified name.
values() - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionFinishReason
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatCompletionMessage.Role
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.ChatModel
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.deepseek.api.DeepSeekApi.FunctionTool.Type
Returns an array containing the constants of this enum class, in the order they are declared.
values() - Static method in enum class org.springframework.ai.deepseek.api.ResponseFormat.Type
Returns an array containing the constants of this enum class, in the order they are declared.

W

webClientBuilder(WebClient.Builder) - Method in class org.springframework.ai.deepseek.api.DeepSeekApi.Builder
 
A B C D E F G H I J L M N O P R S T U V W 
All Classes and Interfaces|All Packages|Constant Field Values