Class GenerationOutput

java.lang.Object
com.alibaba.dashscope.legacy_2x.aigc.generation.GenerationOutput

@Deprecated public final class GenerationOutput extends Object
Deprecated.
  • Constructor Details

    • GenerationOutput

      public GenerationOutput()
      Deprecated.
  • Method Details

    • getText

      public String getText()
      Deprecated.
    • getFinishReason

      public String getFinishReason()
      Deprecated.
    • getChoices

      public List<GenerationOutput.Choice> getChoices()
      Deprecated.
    • getSearchInfo

      public SearchInfo getSearchInfo()
      Deprecated.
      Information returned by web search when search_options is set.
    • getModelName

      public String getModelName()
      Deprecated.
    • setText

      public void setText(String text)
      Deprecated.
    • setFinishReason

      public void setFinishReason(String finishReason)
      Deprecated.
    • setChoices

      public void setChoices(List<GenerationOutput.Choice> choices)
      Deprecated.
    • setSearchInfo

      public void setSearchInfo(SearchInfo searchInfo)
      Deprecated.
      Information returned by web search when search_options is set.
    • setModelName

      public void setModelName(String modelName)
      Deprecated.
    • equals

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

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

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object