Package com.openai.models
Class ChatCompletionUserMessageParam
-
- All Implemented Interfaces:
public final class ChatCompletionUserMessageParam
Messages sent by an end user, containing prompts or additional context information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
ChatCompletionUserMessageParam.Builder
A builder for ChatCompletionUserMessageParam.
public final class
ChatCompletionUserMessageParam.Content
The contents of the user message.
-
Method Summary
Modifier and Type Method Description final ChatCompletionUserMessageParam.Content
content()
The contents of the user message. final JsonValue
_role()
The role of the messages author, in this case user
.final Optional<String>
name()
An optional name for the participant. final JsonField<ChatCompletionUserMessageParam.Content>
_content()
The contents of the user message. final JsonField<String>
_name()
An optional name for the participant. final Map<String, JsonValue>
_additionalProperties()
final ChatCompletionUserMessageParam
validate()
final ChatCompletionUserMessageParam.Builder
toBuilder()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static ChatCompletionUserMessageParam.Builder
builder()
-
-
Method Detail
-
content
final ChatCompletionUserMessageParam.Content content()
The contents of the user message.
-
name
final Optional<String> name()
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
-
_content
final JsonField<ChatCompletionUserMessageParam.Content> _content()
The contents of the user message.
-
_name
final JsonField<String> _name()
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
validate
final ChatCompletionUserMessageParam validate()
-
toBuilder
final ChatCompletionUserMessageParam.Builder toBuilder()
-
builder
final static ChatCompletionUserMessageParam.Builder builder()
-
-
-
-