Uses of Class
ai.tutor.cab302exceptionalhandlers.model.Message
Packages that use Message
Package
Description
-
Uses of Message in ai.tutor.cab302exceptionalhandlers.controller
Methods in ai.tutor.cab302exceptionalhandlers.controller that return MessageModifier and TypeMethodDescriptionChatController.createNewChatMessage
(int chatId, String content, boolean fromUser, boolean isQuiz) Creates a new message based on user input.ChatController.generateChatMessageResponse
(Message userMessage) Generates an AI response to a user message.Methods in ai.tutor.cab302exceptionalhandlers.controller that return types with arguments of type MessageModifier and TypeMethodDescriptionChatController.getChatMessages
(int chatId) Retrieves all messages for a specific chat.Methods in ai.tutor.cab302exceptionalhandlers.controller with parameters of type MessageModifier and TypeMethodDescriptionChatController.createNewQuiz
(AIUtils.ModelResponseFormat response, Message responseMessage) Creates a new quiz from an AI response message.ChatController.generateChatMessageResponse
(Message userMessage) Generates an AI response to a user message. -
Uses of Message in ai.tutor.cab302exceptionalhandlers.model
Methods in ai.tutor.cab302exceptionalhandlers.model that return types with arguments of type MessageModifier and TypeMethodDescriptionIMessageDAO.getAllChatMessages
(int chatId) Retrieves all Messages associated with a specific chat.MessageDAO.getAllChatMessages
(int chatId) Retrieves allMessage
entities for a specific chat session.Methods in ai.tutor.cab302exceptionalhandlers.model with parameters of type MessageModifier and TypeMethodDescriptionvoid
IMessageDAO.createMessage
(Message message) Creates a new Message in the database.void
MessageDAO.createMessage
(Message message) Inserts a newMessage
entity into the database. -
Uses of Message in ai.tutor.cab302exceptionalhandlers.Utils
Method parameters in ai.tutor.cab302exceptionalhandlers.Utils with type arguments of type MessageModifier and TypeMethodDescriptionAIUtils.generateResponse
(List<Message> history, Chat chatConfig, boolean isQuizMode) Calls /api/chat on the Ollama host generating an AI response based on chat history and configuration.