Class PromptData.Prompt.Chat.Message.System.Builder
-
- All Implemented Interfaces:
public final class PromptData.Prompt.Chat.Message.System.BuilderA builder for System.
-
-
Method Summary
-
-
Method Detail
-
role
final PromptData.Prompt.Chat.Message.System.Builder role(PromptData.Prompt.Chat.Message.System.Role role)
-
role
final PromptData.Prompt.Chat.Message.System.Builder role(JsonField<PromptData.Prompt.Chat.Message.System.Role> role)
Sets Builder.role to an arbitrary JSON value.
You should usually call Builder.role with a well-typed Role value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
content
final PromptData.Prompt.Chat.Message.System.Builder content(String content)
-
content
final PromptData.Prompt.Chat.Message.System.Builder content(JsonField<String> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
name
final PromptData.Prompt.Chat.Message.System.Builder name(String name)
-
name
final PromptData.Prompt.Chat.Message.System.Builder name(JsonField<String> name)
Sets Builder.name to an arbitrary JSON value.
You should usually call Builder.name with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final PromptData.Prompt.Chat.Message.System.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final PromptData.Prompt.Chat.Message.System.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final PromptData.Prompt.Chat.Message.System.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final PromptData.Prompt.Chat.Message.System.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final PromptData.Prompt.Chat.Message.System.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final PromptData.Prompt.Chat.Message.System build()
Returns an immutable instance of System.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.role()
-
-
-
-