Uses of Class
com.developer.nefarious.zjoule.plugin.chat.openai.OpenAIChatMessage
-
Uses of OpenAIChatMessage in com.developer.nefarious.zjoule.plugin.chat.openai
Modifier and TypeMethodDescriptionOpenAIClient.createMessage
(Role role, String userPrompt) Creates a chat message with the specified role and content.OpenAIRequestResponse.Choice.getMessage()
Retrieves the message generated by the OpenAI model for this choice.Modifier and TypeMethodDescriptionvoid
OpenAIRequestResponse.Choice.setMessage
(OpenAIChatMessage message) Sets the message generated by the OpenAI model for this choice.