All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.alibaba.dashscope.aigc.completion.ChatCompletionLogProbabilities Maven / Gradle / Ivy

There is a newer version: 2.16.9
Show newest version
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;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy