Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 146 for gemini (0.05 seconds)

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

    import java.util.List;
    import java.util.Map;
    
    /**
     * Interface for LLM (Large Language Model) clients.
     * Implementations provide integration with different LLM providers
     * such as Ollama, OpenAI, and Google Gemini.
     *
     * In addition to low-level chat operations, this interface defines
     * high-level RAG workflow methods that allow each provider to optimize
     * prompt construction, parameter tuning, and response parsing.
     */
    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)
  2. src/test/java/org/codelibs/fess/helper/SearchLogHelperTest.java

            assertEquals("openai", searchLog.getAccessType());
        }
    
        @Test
        public void test_addSearchLog_accessType_gemini() {
            final SearchLog searchLog = callCreateSearchLogAndGetResult("gemini");
            assertEquals("gemini", searchLog.getAccessType());
        }
    
        @Test
        public void test_addSearchLog_accessType_customLlmName() {
            final SearchLog searchLog = callCreateSearchLogAndGetResult("my-custom-llm");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 26 14:36:23 GMT 2026
    - 16.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

            return null;
        }
    
        /**
         * Gets the configured LLM type from the system configuration.
         *
         * @return The LLM type string from configuration (e.g., "ollama", "openai", "gemini")
         */
        protected String getLlmType() {
            return ComponentUtil.getFessConfig().getSystemProperty("rag.llm.name", "ollama");
        }
    
        /**
         * Checks if RAG chat feature is enabled.
         *
    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)
  4. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            assertEquals("other", Constants.SEARCH_LOG_ACCESS_TYPE_OTHER);
        }
    
        @Test
        public void test_accessType_llmNamesAreDifferentFromBuiltinTypes() {
            final String[] llmNames = { "ollama", "openai", "gemini" };
            for (final String llmName : llmNames) {
                assertFalse(Constants.SEARCH_LOG_ACCESS_TYPE_JSON.equals(llmName));
                assertFalse(Constants.SEARCH_LOG_ACCESS_TYPE_GSA.equals(llmName));
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  5. src/main/resources/fess_label_tr.properties

    labels.system_error_title=Sistem Hatası
    labels.contact_site_admin=Lütfen site yöneticinizle iletişime geçin.
    labels.request_error_title=Geçersiz İstek Biçimi.
    labels.bad_request=URL'ye yaptığınız istek geçersiz.
    labels.page_not_found_title=Sayfa Bulunamadı.
    labels.check_url=Lütfen URL'yi kontrol edin.
    labels.busy_title=Hizmet Geçici Olarak Kullanılamıyor
    labels.busy_message=Sunucu şu anda yoğun yük altında. Lütfen daha sonra tekrar deneyin.
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 28 11:54:13 GMT 2026
    - 52.2K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/it/search/SearchApiTests.java

            int andRecordCount = JsonPath.from(andResponse).getInt("record_count");
    
            Map<String, String> params = new HashMap<>();
            params.put("q", query);
            params.put("num", "100");
            String response = checkMethodBase(new HashMap<>()).params(params).get("/api/v1/documents").asString();
            assertTrue(JsonPath.from(response).getInt("record_count") > andRecordCount);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Nov 21 13:29:45 GMT 2025
    - 19K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/fess/it/admin/dict/DictTests.java

            String response = checkGetMethod(searchBody, "").asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> dicts = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, dicts.size());
            assertEquals(0, status);
        }
    
        @Override
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  8. src/test/java/org/codelibs/fess/it/search/LabelsApiTests.java

            String response = given().contentType("application/json").when().get("/api/v1/labels").asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            int recordCount = jsonPath.getInt("record_count");
            assertTrue(recordCount >= 0, "Record count should be >= 0");
    
            if (recordCount > 0) {
                List<Map<String, Object>> labels = jsonPath.getList("data");
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/it/search/SuggestWordsApiTests.java

                    .when()
                    .get("/api/v1/suggest-words")
                    .asString();
    
            JsonPath jsonPath = JsonPath.from(response);
            assertTrue(jsonPath.getInt("record_count") >= 0);
            assertTrue(jsonPath.getInt("page_size") >= 0);
            assertTrue(jsonPath.getLong("query_time") >= 0);
        }
    
        @Test
        public void testSuggestWords_pageSizeDefault() {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Dec 20 03:03:44 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/fess/it/admin/dict/DictCrudTestBase.java

            String response = checkGetMethod(searchBody, getListEndpointSuffix()).asString();
            final int total = JsonPath.from(response).getInt("response.total");
            final List<Map<String, String>> items = JsonPath.from(response).getList("response.settings");
            final int status = JsonPath.from(response).getInt("response.status");
            assertEquals(total, items.size());
            assertEquals(0, status);
        }
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 3.3K bytes
    - Click Count (0)
Back to Top