Package com.openai.models.responses
Class ResponsePrompt.Variables
-
- All Implemented Interfaces:
public final class ResponsePrompt.VariablesOptional map of values to substitute in for variables in your prompt. The substitution values can either be strings, or other Response input types like images or files.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classResponsePrompt.Variables.BuilderA builder for Variables.
-
Method Summary
Modifier and Type Method Description final Map<String, JsonValue>_additionalProperties()final ResponsePrompt.Variables.BuildertoBuilder()final ResponsePrompt.Variablesvalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ResponsePrompt.Variables.Builderbuilder()Returns a mutable builder for constructing an instance of Variables. -
-
Method Detail
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final ResponsePrompt.Variables.Builder toBuilder()
-
validate
final ResponsePrompt.Variables validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static ResponsePrompt.Variables.Builder builder()
Returns a mutable builder for constructing an instance of Variables.
-
-
-
-