Package com.braintrustdata.api.models
Class PromptData.Prompt.Chat.Message.Assistant.FunctionCall
-
- All Implemented Interfaces:
public final class PromptData.Prompt.Chat.Message.Assistant.FunctionCall
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classPromptData.Prompt.Chat.Message.Assistant.FunctionCall.BuilderA builder for FunctionCall.
-
Method Summary
Modifier and Type Method Description final Stringarguments()final Stringname()final JsonField<String>_arguments()Returns the raw JSON value of arguments. final JsonField<String>_name()Returns the raw JSON value of name. final Map<String, JsonValue>_additionalProperties()final PromptData.Prompt.Chat.Message.Assistant.FunctionCallvalidate()final PromptData.Prompt.Chat.Message.Assistant.FunctionCall.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static PromptData.Prompt.Chat.Message.Assistant.FunctionCall.Builderbuilder()Returns a mutable builder for constructing an instance of FunctionCall. -
-
Method Detail
-
_arguments
final JsonField<String> _arguments()
Returns the raw JSON value of arguments.
Unlike arguments, this method doesn't throw if the JSON field has an unexpected type.
-
_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.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final PromptData.Prompt.Chat.Message.Assistant.FunctionCall validate()
-
toBuilder
final PromptData.Prompt.Chat.Message.Assistant.FunctionCall.Builder toBuilder()
-
builder
final static PromptData.Prompt.Chat.Message.Assistant.FunctionCall.Builder builder()
Returns a mutable builder for constructing an instance of FunctionCall.
The following fields are required:
.arguments() .name()
-
-
-
-