Class ChatCompletionChunk
java.lang.Object
com.alibaba.dashscope.types.common.ResponseBase
com.alibaba.dashscope.types.completions.ChatCompletionChunk
One streaming chunk of a chat completion.
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.alibaba.dashscope.types.common.ResponseBase
fillEnvelope, getCode, getHeaders, getMessage, getRequestId, getStatusCode, isError
-
Constructor Details
-
ChatCompletionChunk
public ChatCompletionChunk()
-
-
Method Details
-
getModel
-
getChoices
-
getUsage
-
getSearchInfo
-
delta
First choice's delta; null when the chunk carries no choices.
-