com.alibaba.dashscope.aigc.completion.ChatCompletionLogProbabilities Maven / Gradle / Ivy
package com.alibaba.dashscope.aigc.completion;
import com.google.gson.annotations.SerializedName;
import java.util.List;
import lombok.Data;
@Data
public class ChatCompletionLogProbabilities {
List content;
@Data
public class LogProbabilityContent {
private String token;
private Float logprob;
private Byte[] bytes;
@SerializedName("top_logprobs")
private List topLogprobs;
}
@Data
public class LogProbability {
private String token;
private Float logprob;
private Byte[] bytes;
}
}