public static class SystemMessage.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SystemMessage |
build() |
SystemMessage.Builder |
content(List<ChatContent> content) |
SystemMessage.Builder |
copy(SystemMessage model) |
SystemMessage.Builder |
name(String name)
An optional name for the participant.
|
public SystemMessage.Builder content(List<ChatContent> content)
public SystemMessage.Builder name(String name)
An optional name for the participant. Provides the model information to differentiate between participants of the same role.
name
- the value to setpublic SystemMessage build()
public SystemMessage.Builder copy(SystemMessage model)
Copyright © 2016–2024. All rights reserved.