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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the contents of the system message.Sets the optional name for the participant.
-
Constructor Details
-
System
public System()
-
-
Method Details
-
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
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.
-