Class PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder
-
- All Implemented Interfaces:
public final class PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.BuilderA builder for InnerJsonSchema.
-
-
Method Summary
-
-
Method Detail
-
name
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder name(String name)
-
name
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
description
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder description(String description)
-
description
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder description(JsonField<String> description)
Sets Builder.description to an arbitrary JSON value.
You should usually call Builder.description with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
schema
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder schema(PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Schema schema)
-
schema
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder schema(JsonField<PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Schema> schema)
Sets Builder.schema to an arbitrary JSON value.
You should usually call Builder.schema with a well-typed Schema value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
schema
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder schema(PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Schema.Object object_)
Alias for calling schema with
Schema.ofObject(object_).
-
schema
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder schema(String string)
Alias for calling schema with
Schema.ofString(string).
-
strict
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder strict(Boolean strict)
-
strict
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder strict(Boolean strict)
Alias for Builder.strict.
This unboxed primitive overload exists for backwards compatibility.
-
strict
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder strict(Optional<Boolean> strict)
Alias for calling Builder.strict with
strict.orElse(null).
-
strict
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder strict(JsonField<Boolean> strict)
Sets Builder.strict to an arbitrary JSON value.
You should usually call Builder.strict with a well-typed Boolean value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema build()
Returns an immutable instance of InnerJsonSchema.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.name()
-
-
-
-