Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 30 for Unclear (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. src/main/java/org/codelibs/fess/llm/IntentDetectionResult.java

        }
    
        /**
         * Creates an unclear intent result when intent cannot be determined.
         *
         * @param reasoning the detection reasoning
         * @return the unclear intent result
         */
        public static IntentDetectionResult unclear(final String reasoning) {
            return new IntentDetectionResult(ChatIntent.UNCLEAR, null, null, reasoning);
        }
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 4.1K bytes
    - Click Count (0)
  2. src/test/java/org/codelibs/fess/llm/IntentDetectionResultTest.java

        @Test
        public void test_unclear() {
            final IntentDetectionResult result = IntentDetectionResult.unclear("unclear intent");
    
            assertEquals(ChatIntent.UNCLEAR, result.getIntent());
            assertNull(result.getQuery());
            assertNull(result.getDocumentUrl());
            assertEquals("unclear intent", result.getReasoning());
        }
    
        @Test
        public void test_unclear_withNullReasoning() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 13:27:59 GMT 2026
    - 8.2K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/chat/ChatClient.java

                    logger.debug("[RAG] Intent detected. intent={}, query={}", intentResult.getIntent(), intentResult.getQuery());
                }
    
                if (intentResult.getIntent() == ChatIntent.UNCLEAR) {
                    // Unclear intent - generate answer with empty documents to ask for clarification
                    final LlmChatResponse llmResponse = llmClientManager.generateAnswer(userMessage, Collections.emptyList(), history);
    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)
  4. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            protected String getIntentDetectionPrompt() {
                return testIntentDetectionPrompt;
            }
    
            @Override
            protected String getUnclearIntentSystemPrompt() {
                return "unclear prompt {{languageInstruction}}";
            }
    
            @Override
            protected String getNoResultsSystemPrompt() {
                return "no results prompt {{languageInstruction}}";
            }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/mylasta/direction/FessPropTest.java

        @Override
        protected boolean isUseOneTimeContainer() {
            return true;
        }
    
        @Test
        public void test_maxUsernameLength() throws IOException {
            FessProp.propMap.clear();
            FessConfig fessConfig = new FessConfig.SimpleImpl() {
                @Override
                public Integer getLdapMaxUsernameLengthAsInteger() {
                    return Integer.valueOf(-1);
                }
            };
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 25.4K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/thumbnail/ThumbnailManagerTest.java

            }
    
            @Override
            protected void storeQueue(List<Tuple3<String, String, String>> taskList) {
                // Override to avoid database operations
                taskList.clear();
            }
    
            @Override
            protected String getImageFilename(final Map<String, Object> docMap) {
                // Override to avoid null pointer issues
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 20.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/entity/ChatSession.java

         */
        public void clearMessages() {
            synchronized (messagesLock) {
                if (messages != null) {
                    messages.clear();
                }
            }
            this.lastAccessedAt = LocalDateTime.now();
        }
    
        /**
         * Trims the message history to keep only the most recent messages.
         *
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

        @Test
        public void test_doCrawl_withErrors() {
            // Clear any previous errors
            try {
                Field errorsField = Crawler.class.getDeclaredField("errors");
                errorsField.setAccessible(true);
                Queue<String> errors = (Queue<String>) errorsField.get(null);
                errors.clear();
            } catch (Exception e) {
                // Ignore if field doesn't exist
            }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/helper/IndexingHelperTest.java

            assertEquals(0, indexingHelper.deleteOldDocuments(client, docList));
            assertEquals(0, docList.size());
            assertEquals(0, deletedDocIdList.size());
    
            docList.clear();
            deletedDocIdList.clear();
            docList.add(new HashMap<>(Map.of(//
                    "config_id", "W01", //
                    "doc_id", "1", //
                    "url", "http://test.com/001"//
            )));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 29.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/job/ExecJobTest.java

            // Test with append value
            cmdList.clear();
            execJob.testAddSystemProperty(cmdList, "test.property", "default", ":append");
            assertEquals(1, cmdList.size());
            assertEquals("-Dtest.property=test.value:append", cmdList.get(0));
    
            // Test with property that doesn't exist and default value
            cmdList.clear();
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 24.8K bytes
    - Click Count (0)
Back to Top