Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 47 for keywords (0.06 seconds)

  1. src/test/java/org/codelibs/fess/entity/QueryContextTest.java

            assertEquals("keyword2", keywords.get(1));
        }
    
        // Test getDefaultKeyword with no default field
        @Test
        public void test_getDefaultKeyword_noDefaultField() {
            getMockRequest().setAttribute(Constants.FIELD_LOGS, new HashMap<String, List<String>>());
    
            queryContext = new QueryContext("test", true);
            List<String> keywords = queryContext.getDefaultKeyword();
            assertNotNull(keywords);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 17.6K bytes
    - Click Count (0)
  2. src/main/resources/fess_indices/_aws/fess.json

            },
            "arabic_keywords": {
              "type":       "keyword_marker",
              "keywords": ["مرحباا", "عالم", "بحث"]
            },
            "arabic_stemmer": {
              "type":       "stemmer",
              "language":   "arabic"
            },
            "arabic_override": {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 117.5K bytes
    - Click Count (0)
  3. src/main/resources/fess_indices/_cloud/fess.json

            },
            "arabic_keywords": {
              "type":       "keyword_marker",
              "keywords": ["مرحباا", "عالم", "بحث"]
            },
            "arabic_stemmer": {
              "type":       "stemmer",
              "language":   "arabic"
            },
            "arabic_override": {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 07:52:55 GMT 2026
    - 117.5K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                        try {
                            final Map<String, Object> data = new HashMap<>();
                            data.put("phase", phase);
                            data.put("status", "start");
                            data.put("message", phaseMessage);
                            if (keywords != null) {
                                data.put("keywords", keywords);
    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)
  5. src/main/java/org/codelibs/fess/llm/LlmClient.java

         * @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
         * @param history the conversation history for context
         * @return the detected intent with extracted keywords
         */
    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. docs/en/docs/tutorial/extra-models.md

    So, we get a Pydantic model from the data in another Pydantic model.
    
    #### Unpacking a `dict` and extra keywords { #unpacking-a-dict-and-extra-keywords }
    
    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
    ```
    
    ...ends up being like:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/helper/KeyMatchHelperTest.java

            } catch (Exception e) {
                // Expected due to missing dependencies in test environment
                assertTrue(true);
                return;
            }
    
            // Should handle various keywords including empty string
            assertNotNull(functionBuilders);
            assertEquals(0, functionBuilders.size()); // No data loaded
        }
    
        @Test
        public void test_buildQuery_withNullKeywordsInList() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 10.4K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

        /**
         * Detects the intent of a user message using the configured LLM client.
         *
         * @param userMessage the user's message
         * @return the detected intent with extracted keywords
         * @throws LlmException if LLM is not available
         */
        public IntentDetectionResult detectIntent(final String userMessage) {
            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)
  9. src/main/webapp/js/chat.js

                        // Replace __keywords__ placeholder with actual keywords
                        if (data.keywords) {
                            phaseMessage = phaseMessage.replace('__keywords__', data.keywords);
                        }
                        showStatus('thinking', phaseMessage);
                        updateProgressMessage(phaseMessage);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 01:36:02 GMT 2026
    - 30.6K bytes
    - Click Count (0)
  10. docs/zh-hant/docs/tutorial/extra-models.md

    UserInDB(**user_in.model_dump())
    ```
    
    ...因為 `user_in.model_dump()` 回傳的是 `dict`,接著在傳給 `UserInDB` 時以 `**` 前綴讓 Python 進行解包。
    
    因此,我們可以用一個 Pydantic 模型的資料建立另一個 Pydantic 模型。
    
    #### 解包 `dict` 並加入額外參數 { #unpacking-a-dict-and-extra-keywords }
    
    接著加入額外的具名引數 `hashed_password=hashed_password`,如下:
    
    ```Python
    UserInDB(**user_in.model_dump(), hashed_password=hashed_password)
    ```
    
    ...結果等同於:
    
    ```Python
    UserInDB(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6.3K bytes
    - Click Count (0)
Back to Top