Uses of Interface
com.developer.nefarious.zjoule.plugin.chat.IChatMessage
Packages that use IChatMessage
Package
Description
-
Uses of IChatMessage in com.developer.nefarious.zjoule.plugin.chat
Methods in com.developer.nefarious.zjoule.plugin.chat that return IChatMessageModifier and TypeMethodDescriptionIAIClient.chatCompletion
(List<IChatMessage> messages) Sends a list of chat messages to the AI model and retrieves the AI-generated response.IAIClient.createMessage
(Role role, String userPrompt) Creates a new chat message with the specified role and content.Methods in com.developer.nefarious.zjoule.plugin.chat that return types with arguments of type IChatMessageModifier and TypeMethodDescriptionIAIClient.getMessageHistory()
Retrieves the chat message history.Method parameters in com.developer.nefarious.zjoule.plugin.chat with type arguments of type IChatMessageModifier and TypeMethodDescriptionIAIClient.chatCompletion
(List<IChatMessage> messages) Sends a list of chat messages to the AI model and retrieves the AI-generated response.void
IAIClient.setMessageHistory
(List<IChatMessage> chatMessages) Updates the chat message history with the provided list of messages. -
Uses of IChatMessage in com.developer.nefarious.zjoule.plugin.chat.ollama
Classes in com.developer.nefarious.zjoule.plugin.chat.ollama that implement IChatMessageModifier and TypeClassDescriptionclass
Represents a chat message exchanged with the Ollama model.Methods in com.developer.nefarious.zjoule.plugin.chat.ollama that return IChatMessageModifier and TypeMethodDescriptionOllamaClient.chatCompletion
(List<IChatMessage> messages) Sends a chat completion request to the Ollama API.IOllamaClientHelper.convertResponseToObject
(String serializedResponseBody) Converts a serialized JSON response body from the Ollama service into anIChatMessage
.OllamaClientHelper.convertResponseToObject
(String serializedResponseBody) Converts a serialized JSON response body from the Ollama service into anIChatMessage
.OllamaClient.createMessage
(Role role, String userPrompt) Creates a new chat message with the specified role and user input.Methods in com.developer.nefarious.zjoule.plugin.chat.ollama that return types with arguments of type IChatMessageModifier and TypeMethodDescriptionOllamaClient.getMessageHistory()
Retrieves the chat message history stored in memory.OllamaRequestBody.getMessages()
Retrieves the list of chat messages included in the request.Method parameters in com.developer.nefarious.zjoule.plugin.chat.ollama with type arguments of type IChatMessageModifier and TypeMethodDescriptionOllamaClient.chatCompletion
(List<IChatMessage> messages) Sends a chat completion request to the Ollama API.IOllamaClientHelper.createRequestBody
(List<IChatMessage> messages) Creates an HTTP request body for a chat completion request to the Ollama service.OllamaClientHelper.createRequestBody
(List<IChatMessage> messages) Creates an HTTP request body for a chat completion request to the Ollama service.void
OllamaClient.setMessageHistory
(List<IChatMessage> chatMessages) Stores the given chat message history in memory.void
OllamaRequestBody.setMessages
(List<IChatMessage> messages) Sets the list of chat messages to be included in the request. -
Uses of IChatMessage in com.developer.nefarious.zjoule.plugin.chat.openai
Classes in com.developer.nefarious.zjoule.plugin.chat.openai that implement IChatMessageModifier and TypeClassDescriptionclass
Represents a chat message exchanged with the OpenAI model.Methods in com.developer.nefarious.zjoule.plugin.chat.openai that return IChatMessageModifier and TypeMethodDescriptionOpenAIClient.chatCompletion
(List<IChatMessage> messages) Sends a chat completion request to the OpenAI service and retrieves the AI-generated response.IOpenAIClientHelper.convertResponseToObject
(String serializedResponseBody) Converts a serialized JSON response body from the OpenAI service into anIChatMessage
.OpenAIClientHelper.convertResponseToObject
(String serializedResponseBody) Converts a serialized JSON response body from the OpenAI service into anIChatMessage
.Methods in com.developer.nefarious.zjoule.plugin.chat.openai that return types with arguments of type IChatMessageModifier and TypeMethodDescriptionOpenAIClient.getMessageHistory()
Retrieves the chat message history stored in memory.OpenAIRequestBody.getMessages()
Retrieves the list of chat messages in the request.Method parameters in com.developer.nefarious.zjoule.plugin.chat.openai with type arguments of type IChatMessageModifier and TypeMethodDescriptionOpenAIClient.chatCompletion
(List<IChatMessage> messages) Sends a chat completion request to the OpenAI service and retrieves the AI-generated response.IOpenAIClientHelper.createRequestBody
(List<IChatMessage> messages) Creates an HTTP request body for a chat completion request to the OpenAI service.OpenAIClientHelper.createRequestBody
(List<IChatMessage> messages) Creates an HTTP request body for a chat completion request to the OpenAI service.void
OpenAIClient.setMessageHistory
(List<IChatMessage> chatMessages) Stores the chat message history in memory.void
OpenAIRequestBody.setMessages
(List<IChatMessage> messages) Sets the list of chat messages in the request.