Class ChatCompletionResponse
- java.lang.Object
-
- com.composum.ai.backend.base.service.chat.impl.chatmodel.ChatCompletionResponse
-
public class ChatCompletionResponse extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ChatCompletionResponse.FinishReason
-
Constructor Summary
Constructors Constructor Description ChatCompletionResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<ChatCompletionChoice>
getChoices()
long
getCreated()
String
getId()
String
getModel()
String
getObject()
String
getSystemFingerprint()
ChatCompletionUsage
getUsage()
void
setChoices(List<ChatCompletionChoice> choices)
void
setCreated(long created)
void
setId(String id)
void
setModel(String model)
void
setObject(String object)
void
setSystemFingerprint(String systemFingerprint)
void
setUsage(ChatCompletionUsage usage)
-
-
-
Method Detail
-
getId
public String getId()
-
setId
public void setId(String id)
-
getObject
public String getObject()
-
setObject
public void setObject(String object)
-
getCreated
public long getCreated()
-
setCreated
public void setCreated(long created)
-
getModel
public String getModel()
-
setModel
public void setModel(String model)
-
getSystemFingerprint
public String getSystemFingerprint()
-
setSystemFingerprint
public void setSystemFingerprint(String systemFingerprint)
-
getChoices
public List<ChatCompletionChoice> getChoices()
-
setChoices
public void setChoices(List<ChatCompletionChoice> choices)
-
getUsage
public ChatCompletionUsage getUsage()
-
setUsage
public void setUsage(ChatCompletionUsage usage)
-
-