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
A builder for ChatCompletionToolMessageParam.
public final class
ChatCompletionToolMessageParam.Content
The contents of the tool message.
-
Method Summary
Modifier and Type Method Description final ChatCompletionToolMessageParam.Content
content()
The contents of the tool message. final JsonValue
_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<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.
-
toolCallId
final String toolCallId()
Tool call that this message is responding to.
-
_content
final JsonField<ChatCompletionToolMessageParam.Content> _content()
The contents of the tool message.
-
_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()
-
-
-
-