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 class
ChatCompletionToolMessageParam.Builder
public final class
ChatCompletionToolMessageParam.Content
The contents of the tool message.
public final class
ChatCompletionToolMessageParam.Role
The role of the messages author, in this case
tool
.
-
Method Summary
Modifier and Type Method Description final ChatCompletionToolMessageParam.Content
content()
The contents of the tool message. final ChatCompletionToolMessageParam.Role
role()
The role of the messages author, in this case tool
.final String
toolCallId()
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 ChatCompletionToolMessageParam
validate()
final ChatCompletionToolMessageParam.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionToolMessageParam.Builder
builder()
-
-
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()
-
-
-
-