Class ChatCompletionChoiceMessage
- java.lang.Object
 - 
- com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionChoiceMessage
 
 
- 
public class ChatCompletionChoiceMessage extends Object
Represents the message content in a chat completion choice, including the role (e.g., user, assistant) and the actual text content of the message. 
- 
- 
Constructor Summary
Constructors Constructor Description ChatCompletionChoiceMessage() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetContent()ChatCompletionRequest.RolegetRole()List<ChatCompletionToolCall>getToolCalls()voidsetContent(String content)voidsetRole(ChatCompletionRequest.Role role)voidsetToolCalls(List<ChatCompletionToolCall> toolCalls) 
 - 
 
- 
- 
Method Detail
- 
getRole
public ChatCompletionRequest.Role getRole()
 
- 
setRole
public void setRole(ChatCompletionRequest.Role role)
 
- 
getToolCalls
public List<ChatCompletionToolCall> getToolCalls()
 
- 
setToolCalls
public void setToolCalls(List<ChatCompletionToolCall> toolCalls)
 
- 
getContent
public String getContent()
 
- 
setContent
public void setContent(String content)
 
 - 
 
 -