Uses of Class
org.codelibs.fess.llm.LlmChatRequest
Packages that use LlmChatRequest
-
Uses of LlmChatRequest in org.codelibs.fess.llm
Methods in org.codelibs.fess.llm that return LlmChatRequestModifier and TypeMethodDescriptionLlmChatRequest.addAssistantMessage(String content) Adds an assistant message to the request.LlmChatRequest.addMessage(LlmMessage message) Adds a message to the request.LlmChatRequest.addSystemMessage(String content) Adds a system message to the request.LlmChatRequest.addUserMessage(String content) Adds a user message to the request.protected LlmChatRequestAbstractLlmClient.buildStreamingRequest(String userMessage, String context, List<LlmMessage> history) Builds a streaming LLM chat request with conversation history.LlmChatRequest.putExtraParam(String key, String value) Adds a single extra parameter for provider-specific settings.LlmChatRequest.setExtraParams(Map<String, String> extraParams) Sets the extra parameters for provider-specific settings.LlmChatRequest.setMaxTokens(Integer maxTokens) Sets the maximum tokens for the response.Sets the model name.LlmChatRequest.setStream(boolean stream) Sets whether streaming is enabled.LlmChatRequest.setTemperature(Double temperature) Sets the temperature parameter.LlmChatRequest.setThinkingBudget(Integer thinkingBudget) Sets the thinking budget for models that support thinking tokens.Methods in org.codelibs.fess.llm with parameters of type LlmChatRequestModifier 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 voidAbstractLlmClient.applyPromptTypeParams(LlmChatRequest request, String promptType) Applies per-prompt-type parameters to the request from configuration.LlmClient.chat(LlmChatRequest request) Performs a chat completion request.LlmClientManager.chat(LlmChatRequest request) Performs a chat completion request using the configured LLM client.protected LlmChatResponseAbstractLlmClient.chatWithConcurrencyControl(LlmChatRequest request) Executes a chat request with concurrency control via Semaphore.voidLlmClient.streamChat(LlmChatRequest request, LlmStreamCallback callback) Performs a streaming chat completion request.voidLlmClientManager.streamChat(LlmChatRequest request, LlmStreamCallback callback) Performs a streaming chat completion request using the configured LLM client.protected voidAbstractLlmClient.streamChatWithConcurrencyControl(LlmChatRequest request, LlmStreamCallback callback) Executes a streaming chat request with concurrency control via Semaphore.