Class ChatCompletionResponse

java.lang.Object
dev.langchain4j.model.qianfan.client.chat.ChatCompletionResponse

public final class ChatCompletionResponse extends Object
  • Method Details

    • toString

      public String toString()
      Overrides:
      toString in class Object
    • getId

      public String getId()
    • getErrorCode

      public Integer getErrorCode()
    • getErrorMsg

      public String getErrorMsg()
    • getObject

      public String getObject()
    • getCreated

      public Integer getCreated()
    • getSentenceId

      public Integer getSentenceId()
    • getIsEnd

      public Boolean getIsEnd()
    • getIsTruncated

      public Boolean getIsTruncated()
    • getResult

      public String getResult()
    • getNeedClearHistory

      public Boolean getNeedClearHistory()
    • getBanRound

      public Integer getBanRound()
    • getUsage

      public Usage getUsage()
    • getFunctionCall

      public FunctionCall getFunctionCall()
    • getFinishReason

      public String getFinishReason()
    • builder

      public static ChatCompletionResponse.Builder builder()