java.lang.Object
org.springframework.ai.huggingface.model.Details
Direct Known Subclasses:
AllOfGenerateResponseDetails

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-02-23T12:52:39.788564498-05:00[America/New_York]") public class Details extends Object
Details
  • Constructor Details

    • Details

      public Details()
  • Method Details

    • bestOfSequences

      public Details bestOfSequences(List<BestOfSequence> bestOfSequences)
    • addBestOfSequencesItem

      public Details addBestOfSequencesItem(BestOfSequence bestOfSequencesItem)
    • getBestOfSequences

      public List<BestOfSequence> getBestOfSequences()
      Get bestOfSequences
      Returns:
      bestOfSequences
    • setBestOfSequences

      public void setBestOfSequences(List<BestOfSequence> bestOfSequences)
    • finishReason

      public Details finishReason(FinishReason finishReason)
    • getFinishReason

      public FinishReason getFinishReason()
      Get finishReason
      Returns:
      finishReason
    • setFinishReason

      public void setFinishReason(FinishReason finishReason)
    • generatedTokens

      public Details generatedTokens(Integer generatedTokens)
    • getGeneratedTokens

      public Integer getGeneratedTokens()
      Get generatedTokens minimum: 0
      Returns:
      generatedTokens
    • setGeneratedTokens

      public void setGeneratedTokens(Integer generatedTokens)
    • prefill

      public Details prefill(List<PrefillToken> prefill)
    • addPrefillItem

      public Details addPrefillItem(PrefillToken prefillItem)
    • getPrefill

      public List<PrefillToken> getPrefill()
      Get prefill
      Returns:
      prefill
    • setPrefill

      public void setPrefill(List<PrefillToken> prefill)
    • seed

      public Details seed(Long seed)
    • getSeed

      public Long getSeed()
      Get seed minimum: 0
      Returns:
      seed
    • setSeed

      public void setSeed(Long seed)
    • tokens

      public Details tokens(List<Token> tokens)
    • addTokensItem

      public Details addTokensItem(Token tokensItem)
    • getTokens

      public List<Token> getTokens()
      Get tokens
      Returns:
      tokens
    • setTokens

      public void setTokens(List<Token> tokens)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object