Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 252 for Sources (0.14 seconds)

  1. src/main/java/org/codelibs/fess/entity/ChatMessage.java

        }
    
        /**
         * Adds a source to the message.
         *
         * @param source the source to add
         */
        public void addSource(final ChatSource source) {
            if (sources == null) {
                sources = new ArrayList<>();
            }
            sources.add(source);
        }
    
        /**
         * Checks if this is a user message.
         *
         * @return true if this is a user message
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 12 04:52:31 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java

                }
    
                // Send sources
                final List<ChatSource> sources = result.getMessage().getSources();
                if (sources != null && !sources.isEmpty()) {
                    sendSseEvent(writer, "sources", Map.of("sources", sources));
                    if (logger.isDebugEnabled()) {
                        logger.debug("SSE sources event sent. sourcesCount={}", sources.size());
                    }
                }
    
    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)
  3. pom.xml

    							<directory>${packaging.fess.lib.dir}/classes</directory>
    							<sources>
    								<source>
    									<location>${project.build.directory}/tomcat-lib</location>
    								</source>
    							</sources>
    						</mapping>
    						<mapping>
    							<directory>${packaging.fess.lib.dir}/classes/org/codelibs/fess</directory>
    							<sources>
    								<source>
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Mar 19 07:04:54 GMT 2026
    - 49.9K bytes
    - Click Count (0)
  4. src/main/java/org/codelibs/fess/chat/ChatClient.java

        }
    
        /**
         * Builds the source titles suffix string (e.g., "\n[Referenced documents: Title1, Title2]").
         * Returns an empty string if no sources or titles are available.
         *
         * @param sources the source documents
         * @return the source titles suffix, or empty string
         */
        private String buildSourceTitlesSuffix(final List<ChatSource> sources) {
    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)
  5. src/test/java/org/codelibs/fess/api/chat/ChatApiManagerTest.java

            assertFalse(response.containsKey("sources"));
        }
    
        @Test
        public void test_createSuccessResponse_withSources() {
            final List<ChatSource> sources = new ArrayList<>();
            final ChatSource source1 = new ChatSource();
            source1.setUrl("https://example.com/page1");
            source1.setTitle("Page 1");
            sources.add(source1);
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 14 01:39:16 GMT 2026
    - 35K bytes
    - Click Count (0)
  6. src/main/webapp/js/chat.js

        }
    
        /**
         * Add sources to a message (card style)
         */
        function addSourcesToMessage(messageElement, sources) {
            var html = '<div class="message-sources"><h6>' + escapeHtml(config.labels.sources) + '</h6><ul class="source-list">';
    
            for (var i = 0; i < sources.length; i++) {
                var source = sources[i];
                var title = source.title || source.url || ('Source ' + (i + 1));
    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)
  7. .teamcity/pom.xml

                            <id>compile</id>
                            <phase>process-sources</phase>
                            <goals>
                                <goal>compile</goal>
                            </goals>
                        </execution>
                        <execution>
                            <id>test-compile</id>
                            <phase>process-test-sources</phase>
                            <goals>
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 22:03:46 GMT 2026
    - 7.4K bytes
    - Click Count (2)
  8. src/test/java/org/codelibs/fess/chat/ChatClientTest.java

            final ChatMessage.ChatSource source = new ChatMessage.ChatSource(1, doc);
            assertEquals("http://proxy.example.com/file.doc", source.getUrlLink());
            assertNull(source.getGoUrl());
    
            source.setGoUrl("/go/?rt=123&docId=doc123&queryId=q1&order=0");
            assertEquals("/go/?rt=123&docId=doc123&queryId=q1&order=0", source.getGoUrl());
        }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 21 06:04:58 GMT 2026
    - 40.6K bytes
    - Click Count (0)
  9. src/main/webapp/css/chat.css

    }
    
    .source-type {
        font-size: 0.6875rem;
        color: #6b778c;
        display: flex;
        align-items: center;
        gap: 0.25rem;
    }
    
    .source-type i {
        font-size: 0.625rem;
    }
    
    /* Fallback for simple source links */
    .source-link {
        font-size: 0.8125rem;
        color: #0052cc;
        text-decoration: none;
        display: inline-flex;
        align-items: center;
    }
    
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 06:21:57 GMT 2026
    - 19.4K bytes
    - Click Count (0)
  10. CONTRIBUTING.md

    ### Building a distribution from source
    
    To create a Gradle distribution from the source tree you can run either of the following:
    
        ./gradlew :distributions-full:binDistributionZip
    
    This will create a minimal distribution at `packaging/distributions-full/build/distributions/gradle-<version>-bin.zip`, just what's needed to run Gradle (i.e. no sources nor docs).
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Fri Mar 27 18:43:39 GMT 2026
    - 19.1K bytes
    - Click Count (0)
Back to Top