Package org.springframework.ai.deepseek.api
package org.springframework.ai.deepseek.api
-
ClassDescriptionSingle class implementation of the DeepSeek Chat Completion API: https://platform.deepseek.com/api-docs/api/create-chat-completionRepresents a chat completion response returned by model, based on the provided input.Chat completion choice.Represents a streamed chunk of a chat completion response returned by model, based on the provided input.Chat completion choice.The reason the model stopped generating tokens.Message comprising the conversation.The function definition.The role of the author of this message.The relevant tool call.Creates a model response for the given chat conversation.Helper factory that creates a tool_choice of type 'none', 'auto' or selected function by name.DeepSeek Chat Completion ModelsRepresents a tool the model may call.Function definition.Create a tool of type 'function' and the given function definition.Log probability information for the choice.Message content tokens with log probability information.The most likely tokens and their log probability, at this token position.Usage statistics for the completion request.Breakdown of tokens used in the promptHelper class to support Streaming function calling.An object specifying the format that the model must output.