Class StreamDetails

java.lang.Object
org.springframework.ai.huggingface.model.StreamDetails
Direct Known Subclasses:
AllOfStreamResponseDetails

@Generated(value="io.swagger.codegen.v3.generators.java.JavaClientCodegen", date="2024-12-24T16:12:56.524421357Z[Etc/UTC]") public class StreamDetails extends Object
StreamDetails
  • Constructor Details

    • StreamDetails

      public StreamDetails()
  • Method Details

    • finishReason

      public StreamDetails finishReason(FinishReason finishReason)
    • getFinishReason

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

      public void setFinishReason(FinishReason finishReason)
    • generatedTokens

      public StreamDetails generatedTokens(Integer generatedTokens)
    • getGeneratedTokens

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

      public void setGeneratedTokens(Integer generatedTokens)
    • seed

      public StreamDetails seed(Long seed)
    • getSeed

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

      public void setSeed(Long seed)
    • 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