Class CohereLanguageResponse.Generation

java.lang.Object
com.intellijava.core.model.CohereLanguageResponse.Generation
Enclosing class:
CohereLanguageResponse

public static class CohereLanguageResponse.Generation extends Object
Generation is wrapper for the response
Author:
github.com/Barqawiz
  • Constructor Details

    • Generation

      public Generation()
      Generation default constructor.
  • Method Details

    • getId

      public String getId()
      Get the unique identifier for the generation.
      Returns:
      the unique identifier for the generation.
    • setId

      public void setId(String id)
      Sets the unique identifier for the generation.
      Parameters:
      id - the unique identifier for the generation.
    • getText

      public String getText()
      Get the model generated text.
      Returns:
      the generated text.
    • setText

      public void setText(String text)
      Sets the model generated text.
      Parameters:
      text - the generated text.