Package com.braintrustdata.api.models
Class PromptOptions.Params.OpenAIModelParams.ToolChoice.Function
-
- All Implemented Interfaces:
public final class PromptOptions.Params.OpenAIModelParams.ToolChoice.Function
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptOptions.Params.OpenAIModelParams.ToolChoice.Function.BuilderA builder for Function.
public final classPromptOptions.Params.OpenAIModelParams.ToolChoice.Function.InnerFunctionpublic final classPromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Type
-
Method Summary
Modifier and Type Method Description final PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.InnerFunctionfunction()final PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Typetype()final JsonField<PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.InnerFunction>_function()Returns the raw JSON value of function. final JsonField<PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.BuildertoBuilder()final PromptOptions.Params.OpenAIModelParams.ToolChoice.Functionvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Builderbuilder()Returns a mutable builder for constructing an instance of Function. -
-
Method Detail
-
_function
final JsonField<PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.InnerFunction> _function()
Returns the raw JSON value of function.
Unlike function, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Type> _type()
Returns the raw JSON value of type.
Unlike type, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Builder toBuilder()
-
validate
final PromptOptions.Params.OpenAIModelParams.ToolChoice.Function validate()
-
builder
final static PromptOptions.Params.OpenAIModelParams.ToolChoice.Function.Builder builder()
Returns a mutable builder for constructing an instance of Function.
The following fields are required:
.function() .type()
-
-
-
-