Class ApiChatCompletionsRequestMessage.Developer
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.Developer
- Enclosing class:
ApiChatCompletionsRequestMessage
public static final class ApiChatCompletionsRequestMessage.Developer
extends ApiChatCompletionsRequestMessage
Developer-provided instructions that the model should follow, regardless of messages sent by the user. With o1
models and newer, developer messages replace the previous system messages.
- Since:
- 8.5.0
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe contents of the developer message.Sets an optional name for the participant.
-
Constructor Details
-
Developer
public Developer()
-
-
Method Details
-
content
public ApiChatCompletionsRequestMessage.Developer content(List<ApiChatCompletionsRequestMessageContent> content) The contents of the developer message.- Parameters:
content- The content of the message.- Returns:
- This instance.
-
name
Sets an 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.
-