Uses of Class
org.codelibs.fess.llm.LlmMessage
Packages that use LlmMessage
-
Uses of LlmMessage in org.codelibs.fess.chat
Methods in org.codelibs.fess.chat that return types with arguments of type LlmMessageModifier and TypeMethodDescriptionprotected List<LlmMessage> ChatClient.extractHistoryForAnswer(ChatSession session) Extracts conversation history shaped for the Answer Generation prompt.protected List<LlmMessage> ChatClient.extractHistoryForIntent(ChatSession session) Extracts conversation history shaped for the Intent Detection prompt. -
Uses of LlmMessage in org.codelibs.fess.llm
Methods in org.codelibs.fess.llm that return LlmMessageModifier and TypeMethodDescriptionstatic LlmMessageCreates an assistant message with the specified content.static LlmMessageCreates a system message with the specified content.static LlmMessageCreates a user message with the specified content.Methods in org.codelibs.fess.llm that return types with arguments of type LlmMessageModifier and TypeMethodDescriptionLlmChatRequest.getMessages()Gets the messages in this request.Methods in org.codelibs.fess.llm with parameters of type LlmMessageModifier and TypeMethodDescriptionLlmChatRequest.addMessage(LlmMessage message) Adds a message to the request.Method parameters in org.codelibs.fess.llm with type arguments of type LlmMessageModifier and TypeMethodDescriptionprotected voidAbstractLlmClient.addHistory(LlmChatRequest request, List<LlmMessage> history) Adds conversation history to the request.protected voidAbstractLlmClient.addHistoryWithBudget(LlmChatRequest request, List<LlmMessage> history, int budgetChars) Adds conversation history to the request, truncating from oldest to fit within the character budget.protected voidAbstractLlmClient.addIntentHistory(LlmChatRequest request, List<LlmMessage> history) Adds conversation history as structured messages for intent detection.protected LlmChatRequestAbstractLlmClient.buildStreamingRequest(String userMessage, String context, List<LlmMessage> history) Builds a streaming LLM chat request with conversation history.AbstractLlmClient.detectIntent(String userMessage, List<LlmMessage> history) default IntentDetectionResultLlmClient.detectIntent(String userMessage, List<LlmMessage> history) Detects the intent of a user message with conversation history context.LlmClientManager.detectIntent(String userMessage, List<LlmMessage> history) Detects the intent of a user message with conversation history context.voidAbstractLlmClient.generateDirectAnswer(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a direct answer without document search.voidLlmClient.generateDirectAnswer(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a direct answer without document search.voidLlmClientManager.generateDirectAnswer(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a direct answer without document search.voidAbstractLlmClient.generateDocumentNotFoundResponse(String userMessage, String documentUrl, List<LlmMessage> history, LlmStreamCallback callback) voidLlmClient.generateDocumentNotFoundResponse(String userMessage, String documentUrl, List<LlmMessage> history, LlmStreamCallback callback) Generates a response when the specified document URL is not found.voidLlmClientManager.generateDocumentNotFoundResponse(String userMessage, String documentUrl, List<LlmMessage> history, LlmStreamCallback callback) Generates a response when the specified document URL is not found.voidAbstractLlmClient.generateNoResultsResponse(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) voidLlmClient.generateNoResultsResponse(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a response when no relevant documents are found.voidLlmClientManager.generateNoResultsResponse(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a response when no relevant documents are found.voidAbstractLlmClient.generateUnclearIntentResponse(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) voidLlmClient.generateUnclearIntentResponse(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a response asking user for clarification when intent is unclear.voidLlmClientManager.generateUnclearIntentResponse(String userMessage, List<LlmMessage> history, LlmStreamCallback callback) Generates a response asking user for clarification.AbstractLlmClient.regenerateQuery(String userMessage, String failedQuery, String failureReason, List<LlmMessage> history) LlmClient.regenerateQuery(String userMessage, String failedQuery, String failureReason, List<LlmMessage> history) Regenerates a search query when the previous query failed to produce relevant results.LlmClientManager.regenerateQuery(String userMessage, String failedQuery, String failureReason, List<LlmMessage> history) Regenerates a search query when the previous query failed.voidLlmChatRequest.setMessages(List<LlmMessage> messages) Sets the messages in this request.