Package com.braintrustdata.api.models
Class PromptData.Parser
-
- All Implemented Interfaces:
public final class PromptData.Parser
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptData.Parser.BuilderA builder for Parser.
public final classPromptData.Parser.ChoiceScorespublic final classPromptData.Parser.Type
-
Method Summary
Modifier and Type Method Description final PromptData.Parser.ChoiceScoreschoiceScores()final PromptData.Parser.Typetype()final BooleanuseCot()final JsonField<PromptData.Parser.ChoiceScores>_choiceScores()Returns the raw JSON value of choiceScores. final JsonField<PromptData.Parser.Type>_type()Returns the raw JSON value of type. final JsonField<Boolean>_useCot()Returns the raw JSON value of useCot. final Map<String, JsonValue>_additionalProperties()final PromptData.Parservalidate()final PromptData.Parser.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptData.Parser.Builderbuilder()Returns a mutable builder for constructing an instance of Parser. -
-
Method Detail
-
choiceScores
final PromptData.Parser.ChoiceScores choiceScores()
-
type
final PromptData.Parser.Type type()
-
_choiceScores
final JsonField<PromptData.Parser.ChoiceScores> _choiceScores()
Returns the raw JSON value of choiceScores.
Unlike choiceScores, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<PromptData.Parser.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_useCot
final JsonField<Boolean> _useCot()
Returns the raw JSON value of useCot.
Unlike useCot, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final PromptData.Parser validate()
-
toBuilder
final PromptData.Parser.Builder toBuilder()
-
builder
final static PromptData.Parser.Builder builder()
Returns a mutable builder for constructing an instance of Parser.
The following fields are required:
.choiceScores() .type() .useCot()
-
-
-
-