Class DeepSeekCompletionResponse.Message
java.lang.Object
de.entwicklertraining.deepseek4j.chat.completion.DeepSeekCompletionResponse.Message
- Enclosing class:
DeepSeekCompletionResponse
Represents a message within a choice, including content and potential tool calls. [cite: 23]
-
Method Summary
Modifier and TypeMethodDescriptionGets the primary content of the message.Gets the reasoning content (specific to deepseek-reasoner).getRole()
-
Method Details
-
getRole
-
getContent
Gets the primary content of the message. Note: For deepseek-reasoner, this might be combined content if reasoning_content is present. -
getReasoningContent
Gets the reasoning content (specific to deepseek-reasoner).- Returns:
- Reasoning content string, or null if not present.
-
getToolCalls
-