Package com.braintrustdata.api.models
Class PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema
-
- All Implemented Interfaces:
public final class PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.BuilderA builder for InnerJsonSchema.
public final classPromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Schema
-
Method Summary
-
-
Method Detail
-
description
final Optional<String> description()
-
schema
final Optional<PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Schema> schema()
-
_name
final JsonField<String> _name()
Returns the raw JSON value of name.
Unlike name, this method doesn't throw if the JSON field has an unexpected type.
-
_description
final JsonField<String> _description()
Returns the raw JSON value of description.
Unlike description, this method doesn't throw if the JSON field has an unexpected type.
-
_schema
final JsonField<PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Schema> _schema()
Returns the raw JSON value of schema.
Unlike schema, this method doesn't throw if the JSON field has an unexpected type.
-
_strict
final JsonField<Boolean> _strict()
Returns the raw JSON value of strict.
Unlike strict, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder toBuilder()
-
validate
final PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema validate()
-
builder
final static PromptOptions.Params.OpenAIModelParams.ResponseFormat.JsonSchema.InnerJsonSchema.Builder builder()
Returns a mutable builder for constructing an instance of InnerJsonSchema.
The following fields are required:
.name()
-
-
-
-