- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 884 for chat (0.66 seconds)
-
src/main/webapp/css/chat.css
/* ============================================ Chat messages area ============================================ */ .chat-messages { flex: 1; overflow-y: auto; padding: 1rem; scroll-behavior: smooth; min-height: 200px; } .chat-messages:not(:has(.chat-message)) .empty-state { display: flex; } .chat-messages:has(.chat-message) .empty-state { display: none; }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) -
src/main/webapp/WEB-INF/view/chat/chat.jsp
<script type="text/javascript" src="${fe:url('/js/purify.min.js')}"></script> <script type="text/javascript" src="${fe:url('/js/chat.js')}"></script> <script type="text/javascript"> $(function() { FessChat.init({ apiUrl: '${fe:url('/api/v1/chat')}', streamUrl: '${fe:url('/api/v1/chat/stream')}', labels: { thinking: '<la:message key="labels.chat_thinking" />',Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 01:36:02 GMT 2026 - 10.8K bytes - Click Count (0) -
src/main/webapp/js/chat.js
/** * Fess RAG Chat JavaScript * Enhanced with Atlassian Design System patterns */ var FessChat = (function() { 'use strict'; var config = { apiUrl: '/api/v1/chat', streamUrl: '/api/v1/chat/stream', labels: { thinking: 'Thinking...', waiting: '...', error: 'An error occurred. Please try again.', sources: 'Sources', statusReady: 'AI Assistant',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) -
src/main/webapp/WEB-INF/orig/view/chat/chat.jsp
<script type="text/javascript" src="${fe:url('/js/purify.min.js')}"></script> <script type="text/javascript" src="${fe:url('/js/chat.js')}"></script> <script type="text/javascript"> $(function() { FessChat.init({ apiUrl: '${fe:url('/api/v1/chat')}', streamUrl: '${fe:url('/api/v1/chat/stream')}', labels: { thinking: '<la:message key="labels.chat_thinking" />',Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sun Mar 15 06:21:57 GMT 2026 - 10.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/llm/LlmClientManager.java
} clientList.add(client); } /** * Performs a chat completion request using the configured LLM client. * * @param request the chat request * @return the chat response * @throws LlmException if LLM is not available or an error occurs */ public LlmChatResponse chat(final LlmChatRequest request) { final long startTime = System.currentTimeMillis();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) -
src/main/java/org/codelibs/fess/app/web/chat/ChatAction.java
/** The session manager for managing chat sessions. */ @Resource protected ChatSessionManager chatSessionManager; /** * Displays the chat page. * * @return the HTML response for the chat page, or redirects to search if chat is not available */ @Execute public HtmlResponse index() { if (logger.isDebugEnabled()) { logger.debug("Chat page requested. Checking availability...");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Tue Mar 10 14:54:51 GMT 2026 - 4.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/chat/ChatClient.java
} /** * Performs a chat request with RAG. * * @param sessionId the session ID (can be null for new sessions) * @param userMessage the user's message * @param userId the user ID (can be null for anonymous users) * @return the chat response including session info and sources */ public ChatResult chat(final String sessionId, final String userMessage, final String userId) {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) -
src/main/java/org/codelibs/fess/api/chat/ChatApiManager.java
/** * API Manager for RAG chat endpoints with SSE streaming support. * * @author FessProject */ public class ChatApiManager extends BaseApiManager { private static final Logger logger = LogManager.getLogger(ChatApiManager.class); private static final String CHAT_API_PATH = "/api/v1/chat"; private static final String STREAM_API_PATH = "/api/v1/chat/stream";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) -
src/main/java/org/codelibs/fess/llm/LlmClient.java
* * 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. */ public interface LlmClient { /** * Performs a chat completion request. * * @param request the chat request containing messages and parametersCreated: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 7.3K bytes - Click Count (0) -
docs_src/websockets_/tutorial003_py310.py
from fastapi import FastAPI, WebSocket, WebSocketDisconnect from fastapi.responses import HTMLResponse app = FastAPI() html = """ <!DOCTYPE html> <html> <head> <title>Chat</title> </head> <body> <h1>WebSocket Chat</h1> <h2>Your ID: <span id="ws-id"></span></h2> <form action="" onsubmit="sendMessage(event)"> <input type="text" id="messageText" autocomplete="off"/>
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 12:34:37 GMT 2026 - 2.5K bytes - Click Count (0)