Class ApiChatCompletionsRequestMessage.Function
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.Function
- Enclosing class:
ApiChatCompletionsRequestMessage
public static final class ApiChatCompletionsRequestMessage.Function
extends ApiChatCompletionsRequestMessage
A function message with the results of a function call.
- Since:
- 8.5.0
-
Nested Class Summary
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionSets the contents of the function message.Sets the name of the function to call.
-
Constructor Details
-
Function
public Function()
-
-
Method Details
-
content
public ApiChatCompletionsRequestMessage.Function content(List<ApiChatCompletionsRequestMessageContent> content) Sets the contents of the function message.- Parameters:
content- The content of the message.- Returns:
- This instance.
-
name
Sets the name of the function to call.- Parameters:
name- The function name.- Returns:
- This instance.
-