Package com.openai.models
Class ChatCompletionToolMessageParam
-
- All Implemented Interfaces:
public final class ChatCompletionToolMessageParam
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionToolMessageParam.Builderpublic final classChatCompletionToolMessageParam.ContentThe contents of the tool message.
public final classChatCompletionToolMessageParam.RoleThe role of the messages author, in this case
tool.
-
Method Summary
Modifier and Type Method Description final ChatCompletionToolMessageParam.Contentcontent()The contents of the tool message. final ChatCompletionToolMessageParam.Rolerole()The role of the messages author, in this case tool.final StringtoolCallId()Tool call that this message is responding to. final JsonField<ChatCompletionToolMessageParam.Content>_content()The contents of the tool message. final JsonField<ChatCompletionToolMessageParam.Role>_role()The role of the messages author, in this case tool.final JsonField<String>_toolCallId()Tool call that this message is responding to. final Map<String, JsonValue>_additionalProperties()final ChatCompletionToolMessageParamvalidate()final ChatCompletionToolMessageParam.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionToolMessageParam.Builderbuilder()-
-
Method Detail
-
content
final ChatCompletionToolMessageParam.Content content()
The contents of the tool message.
-
role
final ChatCompletionToolMessageParam.Role role()
The role of the messages author, in this case
tool.
-
toolCallId
final String toolCallId()
Tool call that this message is responding to.
-
_content
final JsonField<ChatCompletionToolMessageParam.Content> _content()
The contents of the tool message.
-
_role
final JsonField<ChatCompletionToolMessageParam.Role> _role()
The role of the messages author, in this case
tool.
-
_toolCallId
final JsonField<String> _toolCallId()
Tool call that this message is responding to.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionToolMessageParam validate()
-
toBuilder
final ChatCompletionToolMessageParam.Builder toBuilder()
-
builder
final static ChatCompletionToolMessageParam.Builder builder()
-
-
-
-