Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 297 for intent (0.08 seconds)

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

            this.intent = intent;
            this.query = query;
            this.documentUrl = documentUrl;
            this.reasoning = reasoning;
        }
    
        /**
         * Returns the detected intent type.
         *
         * @return the intent type
         */
        public ChatIntent getIntent() {
            return intent;
        }
    
        /**
         * Returns the Fess query string for search.
         *
    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/main/java/org/codelibs/fess/llm/ChatIntent.java

         */
        public static ChatIntent fromValue(final String value) {
            if (value == null) {
                return UNCLEAR;
            }
            for (final ChatIntent intent : values()) {
                if (intent.value.equalsIgnoreCase(value.trim())) {
                    return intent;
                }
            }
            return UNCLEAR;
        }
    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)
  3. src/main/java/org/codelibs/fess/chat/ChatPhaseCallback.java

     */
    public interface ChatPhaseCallback {
    
        /** Phase name for intent detection */
        String PHASE_INTENT = "intent";
    
        /** Phase name for document search */
        String PHASE_SEARCH = "search";
    
        /** Phase name for result evaluation */
        String PHASE_EVALUATE = "evaluate";
    
        /** Phase name for content retrieval */
        String PHASE_FETCH = "fetch";
    
        /** Phase name for answer generation */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jan 15 12:32:04 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/llm/LlmClient.java

        boolean isAvailable();
    
        // RAG workflow methods
    
        /**
         * Detects the intent of a user message.
         *
         * @param userMessage the user's message
         * @return the detected intent with extracted keywords
         */
        IntentDetectionResult detectIntent(String userMessage);
    
        /**
         * Detects the intent of a user message with conversation history context.
         *
         * @param userMessage the user's message
    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)
  5. src/test/java/org/codelibs/fess/chat/ChatPhaseCallbackTest.java

                public void onPhaseComplete(String phase) {
                    events.add("complete:" + phase);
                }
    
                @Override
                public void onChunk(String content, boolean done) {
                    events.add("chunk:" + content + ":" + done);
                }
    
                @Override
                public void onError(String phase, String errorMessage) {
                    events.add("error:" + phase + ":" + errorMessage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jan 12 10:32:40 GMT 2026
    - 7.3K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/llm/IntentDetectionResultTest.java

            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)
  7. src/main/java/org/codelibs/fess/ingest/Ingester.java

        }
    
        /**
         * Registers this ingester with the ingest factory.
         * This makes the ingester available for processing documents.
         */
        public void register() {
            getIngestFactory().add(this);
        }
    
        /**
         * Gets the ingest factory instance for managing ingesters.
         *
         * @return the ingest factory instance
         */
        protected IngestFactory getIngestFactory() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/opensearch/config/bsentity/BsRelatedContent.java

        public String getContent() {
            checkSpecifiedProperty("content");
            return convertEmptyToNull(content);
        }
    
        public void setContent(String value) {
            registerModifiedProperty("content");
            this.content = value;
        }
    
        public String getCreatedBy() {
            checkSpecifiedProperty("createdBy");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  9. src/test/resources/plugin/repo3/index.html

    <a href="fess-ingest-logger/" title="fess-ingest-logger/">fess-ingest-logger/</a>                                              -         -      
    <a href="fess-ingest-ndjson/" title="fess-ingest-ndjson/">fess-ingest-ndjson/</a>                                              -         -      
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Mon Jun 17 13:30:41 GMT 2024
    - 6.2K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/helper/RelatedContentHelper.java

    import jakarta.annotation.PostConstruct;
    
    /**
     * Helper class for managing related content configurations.
     * This class provides functionality to load, cache, and retrieve related content
     * based on search queries and virtual host configurations. It supports both exact
     * term matching and regex pattern matching for flexible content association.
     */
    public class RelatedContentHelper extends AbstractConfigHelper {
    
        /**
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 8.2K bytes
    - Click Count (0)
Back to Top