- Sort Score
- Num 10 results
- Language All
Results 1 - 6 of 6 for LlmException (0.2 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
if (Constants.NONE.equals(llmType)) { throw new LlmException("LLM client is not available"); } if (!isRagChatEnabled()) { throw new LlmException("LLM client is not available"); } final LlmClient client = getClient(); if (client == null || !client.isAvailable()) { throw new LlmException("LLM client is not available"); } return client;
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/llm/AbstractLlmClient.java
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/LlmClient.java
/** * Performs a chat completion request. * * @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.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/api/chat/ChatApiManager.java
logger.debug("SSE stream completed. sessionId={}, hasHtmlContent={}", result.getSessionId(), htmlContent != null); } } catch (final LlmException e) { // LlmException from streamChatEnhanced already sent onError via callback - avoid double-send logger.warn("LLM error during stream request. sessionId={}, errorCode={}, message={}", sessionId, e.getErrorCode(),
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 26 06:06:55 GMT 2026 - 25.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
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; import org.codelibs.fess.llm.RelevanceEvaluationResult; import org.codelibs.fess.mylasta.direction.FessConfig;
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
assertEquals("original query", result); } @Test public void test_regenerateQuery_exception_returnsFailedQuery() { client.setChatResponse(null); // causes LlmException final String result = client.regenerateQuery("test question", "original query", "no_results", Collections.emptyList()); assertEquals("original query", result); } @TestCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0)