Package com.openai.models.evals.runs
Class CreateEvalCompletionsRunDataSource.InputMessages.Template
-
- All Implemented Interfaces:
public final class CreateEvalCompletionsRunDataSource.InputMessages.Template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
CreateEvalCompletionsRunDataSource.InputMessages.Template.Builder
A builder for Template.
public final class
CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate
-
Method Summary
Modifier and Type Method Description final List<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate>
template()
A list of chat messages forming the prompt or context. final JsonValue
_type()
The type of input messages. final JsonField<List<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate>>
_template()
Returns the raw JSON value of template. final Map<String, JsonValue>
_additionalProperties()
final CreateEvalCompletionsRunDataSource.InputMessages.Template.Builder
toBuilder()
final CreateEvalCompletionsRunDataSource.InputMessages.Template
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static CreateEvalCompletionsRunDataSource.InputMessages.Template.Builder
builder()
Returns a mutable builder for constructing an instance of Template. -
-
Method Detail
-
template
final List<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate> template()
A list of chat messages forming the prompt or context. May include variable references to the "item" namespace, ie {{item.name}}.
-
_type
final JsonValue _type()
The type of input messages. Always
template
.Expected to always return the following:
JsonValue.from("template")
However, this method can be useful for debugging and logging (e.g. if the server responded with an unexpected value).
-
_template
final JsonField<List<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate>> _template()
Returns the raw JSON value of template.
Unlike template, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final CreateEvalCompletionsRunDataSource.InputMessages.Template.Builder toBuilder()
-
validate
final CreateEvalCompletionsRunDataSource.InputMessages.Template validate()
-
builder
final static CreateEvalCompletionsRunDataSource.InputMessages.Template.Builder builder()
Returns a mutable builder for constructing an instance of Template.
The following fields are required:
.template()
-
-
-
-