- Sort Score
- Num 10 results
- Language All
Results 1 - 5 of 5 for LlmChatResponse (0.07 seconds)
-
src/main/java/org/codelibs/fess/llm/LlmClient.java
* * @param request the chat request containing messages and parameters * @return the chat response from the LLM * @throws LlmException if an error occurs during the request */ LlmChatResponse chat(LlmChatRequest request); /** * Performs a streaming chat completion request. * The callback is invoked for each chunk of the response. *Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 7.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java
* * @param request the chat request * @return the chat response * @throws LlmException if too many concurrent requests or interrupted */ protected LlmChatResponse chatWithConcurrencyControl(final LlmChatRequest request) { if (concurrencyLimiter == null) { return chat(request); } if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 72K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
* * @param request the chat request * @return the chat response * @throws LlmException if LLM is not available or an error occurs */ public LlmChatResponse chat(final LlmChatRequest request) { final long startTime = System.currentTimeMillis(); final String llmType = getLlmType(); if (logger.isDebugEnabled()) {Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 11:10:51 GMT 2026 - 17.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
import org.codelibs.fess.entity.SearchRequestParams; import org.codelibs.fess.helper.MarkdownRenderer; import org.codelibs.fess.llm.ChatIntent; import org.codelibs.fess.llm.IntentDetectionResult; import org.codelibs.fess.llm.LlmChatResponse; import org.codelibs.fess.llm.LlmClient; import org.codelibs.fess.llm.LlmClientManager; import org.codelibs.fess.llm.LlmException; import org.codelibs.fess.llm.LlmMessage; import org.codelibs.fess.llm.LlmStreamCallback;
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 21 06:04:58 GMT 2026 - 56.6K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
addIntentHistory(request, history); } // Implement abstract methods @Override public LlmChatResponse chat(final LlmChatRequest request) { // Capture the full request and user message for verification lastChatRequest = request; for (final LlmMessage msg : request.getMessages()) {
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0)