Class ApiChatCompletionsRequestMessage.System
- java.lang.Object
-
- de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsRequestMessage
-
- de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsRequestMessage.System
-
- Enclosing class:
- ApiChatCompletionsRequestMessage
public static final class ApiChatCompletionsRequestMessage.System extends ApiChatCompletionsRequestMessage
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1 models and newer, use developer messages for this purpose instead.- Since:
- 8.5.0
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsRequestMessage
ApiChatCompletionsRequestMessage.Developer, ApiChatCompletionsRequestMessage.Function, ApiChatCompletionsRequestMessage.System, ApiChatCompletionsRequestMessage.Tool, ApiChatCompletionsRequestMessage.User
-
-
Constructor Summary
Constructors Constructor Description System()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiChatCompletionsRequestMessage.Systemcontent(List<ApiChatCompletionsRequestMessageContent> content)Sets the contents of the system message.ApiChatCompletionsRequestMessage.Systemname(String name)Sets the optional name for the participant.
-
-
-
Method Detail
-
content
public ApiChatCompletionsRequestMessage.System content(List<ApiChatCompletionsRequestMessageContent> content)
Sets the contents of the system message.- Parameters:
content- The content of the message.- Returns:
- This instance.
-
name
public ApiChatCompletionsRequestMessage.System name(String name)
Sets the optional name for the participant. Provides the model information to differentiate between participants of the same role.- Parameters:
name- The name of the developer.- Returns:
- This instance.
-
-