Package com.openai.models
Class ChatCompletionUserMessageParam
-
- All Implemented Interfaces:
public final class ChatCompletionUserMessageParamMessages sent by an end user, containing prompts or additional context information.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classChatCompletionUserMessageParam.Builderpublic final classChatCompletionUserMessageParam.ContentThe contents of the user message.
-
Method Summary
Modifier and Type Method Description final ChatCompletionUserMessageParam.Contentcontent()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 ChatCompletionUserMessageParamvalidate()final ChatCompletionUserMessageParam.BuildertoBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final static ChatCompletionUserMessageParam.Builderbuilder()-
-
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()
-
-
-
-