Class LemurQuestion
- java.lang.Object
-
- com.assemblyai.api.resources.lemur.types.LemurQuestion
-
public final class LemurQuestion extends java.lang.Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceLemurQuestion._FinalStagestatic classLemurQuestion.Builderstatic interfaceLemurQuestion.QuestionStage
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static LemurQuestion.QuestionStagebuilder()booleanequals(java.lang.Object other)java.util.Map<java.lang.String,java.lang.Object>getAdditionalProperties()java.util.Optional<java.lang.String>getAnswerFormat()java.util.Optional<java.util.List<java.lang.String>>getAnswerOptions()java.util.Optional<LemurQuestionContext>getContext()java.lang.StringgetQuestion()inthashCode()java.lang.StringtoString()
-
-
-
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:
equalsin classjava.lang.Object
-
getAdditionalProperties
public java.util.Map<java.lang.String,java.lang.Object> getAdditionalProperties()
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
builder
public static LemurQuestion.QuestionStage builder()
-
-