Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for streamChat (0.05 seconds)

  1. src/main/webapp/js/chat.js

            // Add thinking indicator
            var thinkingId = addThinkingIndicator();
    
            // Use SSE for streaming
            streamChat(message, thinkingId);
        }
    
        /**
         * Stream chat using Server-Sent Events
         */
        function streamChat(message, thinkingId) {
            var url = config.streamUrl + '?message=' + encodeURIComponent(message);
            if (state.sessionId) {
    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)
  2. src/main/java/org/codelibs/fess/llm/LlmClientManager.java

         *
         * @param request the chat request
         * @param callback the callback to receive streaming chunks
         * @throws LlmException if LLM is not available or an error occurs
         */
        public void streamChat(final LlmChatRequest request, final LlmStreamCallback callback) {
            final long startTime = System.currentTimeMillis();
            final String llmType = getLlmType();
            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)
Back to Top