Class LemurQuestion


  • public final class LemurQuestion
    extends java.lang.Object
    • Method Detail

      • getQuestion

        public java.lang.String getQuestion()
        Returns:
        The question you wish to ask. For more complex questions use default model.
      • getContext

        public java.util.Optional<LemurQuestionContext> getContext()
        Returns:
        Any context about the transcripts you wish to provide. This can be a string or any object.
      • getAnswerFormat

        public java.util.Optional<java.lang.String> getAnswerFormat()
        Returns:
        How you want the answer to be returned. This can be any text. Can't be used with answer_options. Examples: "short sentence", "bullet points"
      • getAnswerOptions

        public java.util.Optional<java.util.List<java.lang.String>> getAnswerOptions()
        Returns:
        What discrete options to return. Useful for precise responses. Can't be used with answer_format. Example: ["Yes", "No"]
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object