Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 21 for FAQ (0.01 seconds)

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

        }
    
        /**
         * Creates a FAQ intent result with a Fess query.
         *
         * @param query the Fess query string
         * @param reasoning the detection reasoning
         * @return the FAQ intent result
         */
        public static IntentDetectionResult faq(final String query, final String reasoning) {
            return new IntentDetectionResult(ChatIntent.FAQ, query, 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/ChatIntentTest.java

        }
    
        @Test
        public void test_fromValue_faq() {
            assertEquals(ChatIntent.FAQ, ChatIntent.fromValue("faq"));
            assertEquals(ChatIntent.FAQ, ChatIntent.fromValue("FAQ"));
            assertEquals(ChatIntent.FAQ, ChatIntent.fromValue("Faq"));
        }
    
        @Test
        public void test_fromValue_unclear() {
            assertEquals(ChatIntent.UNCLEAR, ChatIntent.fromValue("unclear"));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/ChatIntent.java

        /** User wants to search for documents in Fess */
        SEARCH("search"),
    
        /** User wants a summary of a specific document */
        SUMMARY("summary"),
    
        /** User is asking a FAQ-type question */
        FAQ("faq"),
    
        /** Intent is unclear - need to ask user for clarification */
        UNCLEAR("unclear");
    
        private final String value;
    
        ChatIntent(final String value) {
            this.value = value;
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 01 08:11:18 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. src/test/java/org/codelibs/fess/llm/IntentDetectionResultTest.java

            final String query = "+Docker (install OR setup)";
            final IntentDetectionResult result = IntentDetectionResult.faq(query, "faq intent");
    
            assertEquals(ChatIntent.FAQ, result.getIntent());
            assertEquals(query, result.getQuery());
            assertNull(result.getDocumentUrl());
            assertEquals("faq intent", result.getReasoning());
        }
    
        @Test
        public void test_faq_withEmptyQuery() {
    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)
  5. src/main/java/org/codelibs/fess/llm/LlmClient.java

                LlmStreamCallback callback);
    
        /**
         * Generates an FAQ answer using document content (streaming).
         * Uses a prompt optimized for direct, concise FAQ-style answers.
         *
         * @param userMessage the user's message
         * @param documents the documents with content
         * @param history the conversation history
    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)
  6. src/main/java/org/codelibs/fess/llm/AbstractLlmClient.java

                throw new LlmException("summarySystemPrompt is not configured for " + getName());
            }
            return summarySystemPrompt;
        }
    
        /**
         * Gets the system prompt for FAQ answer generation.
         *
         * @return the FAQ answer system prompt
         */
        protected String getFaqAnswerSystemPrompt() {
            if (faqAnswerSystemPrompt == null) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 72K bytes
    - Click Count (0)
  7. docs/en/docs/deployment/docker.md

    This can be quite noticeable when using `docker compose`. See this Docker Compose FAQ section for more technical details: [Why do my services take 10 seconds to recreate or stop?](https://docs.docker.com/compose/faq/#why-do-my-services-take-10-seconds-to-recreate-or-stop).
    
    #### Directory Structure { #directory-structure }
    
    You should now have a directory structure like:
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 28.3K bytes
    - Click Count (1)
  8. docs/ko/docs/deployment/docker.md

    이는 `docker compose`를 사용할 때 꽤 눈에 띌 수 있습니다. 좀 더 기술적인 상세 내용은 Docker Compose FAQ 섹션을 참고하세요: [Why do my services take 10 seconds to recreate or stop?](https://docs.docker.com/compose/faq/#why-do-my-services-take-10-seconds-to-recreate-or-stop).
    
    #### 디렉터리 구조 { #directory-structure }
    
    이제 다음과 같은 디렉터리 구조가 되어야 합니다:
    
    ```
    .
    ├── app
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 32.6K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            }
            getAvailableClient().generateSummaryResponse(userMessage, documents, history, callback);
        }
    
        /**
         * Generates an FAQ answer using document content (streaming).
         *
         * @param userMessage the user's message
         * @param documents the documents with content
         * @param history the conversation history
    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)
  10. src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java

            client.setChatResponse("{\"intent\":\"faq\",\"query\":\"Fess features\",\"reasoning\":\"FAQ question\"}");
    
            // Call the original single-arg method
            final IntentDetectionResult result = client.detectIntent("What are Fess features?");
    
            assertEquals(ChatIntent.FAQ, result.getIntent());
            assertEquals("Fess features", result.getQuery());
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 53K bytes
    - Click Count (0)
Back to Top