response Format
Enforces that the generated response is a JSON object that complies with the JSON schema specified in this field.
public final Interaction.Builder responseFormat(JsonField<Interaction.ResponseFormat> responseFormat)
Sets Builder.responseFormat to an arbitrary JSON value.
You should usually call Builder.responseFormat with a well-typed ResponseFormat value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
Alias for calling responseFormat with ResponseFormat.ofAudio(audio).
Alias for calling responseFormat with ResponseFormat.ofText(text).
Alias for calling responseFormat with ResponseFormat.ofImage(image).
Alias for calling responseFormat with ResponseFormat.ofJsonValue(jsonValue).