Class ApiChatCompletionsResponseChoiceMessage
java.lang.Object
de.xima.fc.prompt.ms.impl.service.generic_oai.client.json.ApiChatCompletionsResponseChoiceMessage
A chat completion message generated by the model.
- Since:
- 8.5.0
-
Method Summary
Modifier and TypeMethodDescriptionAnnotations for the message, when applicable, as when using the web search tool.audio()If the audio output modality is requested, this object contains data about the audio response from the model.content()The contents of the message.refusal()The refusal message generated by the model.role()The role of the author of this message.The tool calls generated by the model, such as function calls.
-
Method Details
-
annotations
Annotations for the message, when applicable, as when using the web search tool.- Returns:
- The list of annotations.
-
audio
If the audio output modality is requested, this object contains data about the audio response from the model.- Returns:
- The audio response data.
-
content
-
refusal
-
role
-
toolCalls
The tool calls generated by the model, such as function calls.- Returns:
- The list of tool calls.
-