Package com.braintrustdata.api.models
Class EvalCreateParams.Task.PromptSessionId
-
- All Implemented Interfaces:
public final class EvalCreateParams.Task.PromptSessionIdPrompt session id
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.Task.PromptSessionId.BuilderA builder for PromptSessionId.
-
Method Summary
Modifier and Type Method Description final StringpromptSessionFunctionId()The ID of the function in the prompt session final StringpromptSessionId()The ID of the prompt session final Optional<String>version()The version of the function final JsonField<String>_promptSessionFunctionId()Returns the raw JSON value of promptSessionFunctionId. final JsonField<String>_promptSessionId()Returns the raw JSON value of promptSessionId. final JsonField<String>_version()Returns the raw JSON value of version. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.Task.PromptSessionIdvalidate()final EvalCreateParams.Task.PromptSessionId.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.Task.PromptSessionId.Builderbuilder()Returns a mutable builder for constructing an instance of PromptSessionId. -
-
Method Detail
-
promptSessionFunctionId
final String promptSessionFunctionId()
The ID of the function in the prompt session
-
promptSessionId
final String promptSessionId()
The ID of the prompt session
-
_promptSessionFunctionId
final JsonField<String> _promptSessionFunctionId()
Returns the raw JSON value of promptSessionFunctionId.
Unlike promptSessionFunctionId, this method doesn't throw if the JSON field has an unexpected type.
-
_promptSessionId
final JsonField<String> _promptSessionId()
Returns the raw JSON value of promptSessionId.
Unlike promptSessionId, this method doesn't throw if the JSON field has an unexpected type.
-
_version
final JsonField<String> _version()
Returns the raw JSON value of version.
Unlike version, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final EvalCreateParams.Task.PromptSessionId validate()
-
toBuilder
final EvalCreateParams.Task.PromptSessionId.Builder toBuilder()
-
builder
final static EvalCreateParams.Task.PromptSessionId.Builder builder()
Returns a mutable builder for constructing an instance of PromptSessionId.
The following fields are required:
.promptSessionFunctionId() .promptSessionId()
-
-
-
-