- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 40 for assistant (0.09 seconds)
-
src/test/java/org/codelibs/fess/entity/ChatSessionTest.java
// Create: user, assistant, user, assistant, user, assistant (6 messages) session.addUserMessage("User 1"); session.addAssistantMessage("Assistant 1"); session.addUserMessage("User 2"); session.addAssistantMessage("Assistant 2"); session.addUserMessage("User 3"); session.addAssistantMessage("Assistant 3"); assertEquals(6, session.getMessageCount());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 12.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/entity/ChatMessage.java
public static final String ROLE_USER = "user"; /** The role identifier for assistant messages. */ public static final String ROLE_ASSISTANT = "assistant"; /** The unique identifier for this message. */ private String id; /** The role of the message sender (user or assistant). */ private String role; /** The content of the message. */ private String content;
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) -
src/test/java/org/codelibs/fess/chat/ChatClientTest.java
assertEquals("Q1", history.get(0).getContent()); assertEquals("assistant", history.get(1).getRole()); assertEquals("A1", history.get(1).getContent()); assertEquals("user", history.get(2).getRole()); assertEquals("Q2", history.get(2).getContent()); assertEquals("assistant", history.get(3).getRole()); assertEquals("A2", history.get(3).getContent()); }
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) -
src/main/java/org/codelibs/fess/entity/ChatSession.java
* * @param content the message content */ public void addUserMessage(final String content) { addMessage(ChatMessage.userMessage(content)); } /** * Adds an assistant message to this session. * * @param content the message content */ public void addAssistantMessage(final String content) { addMessage(ChatMessage.assistantMessage(content)); }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 07 01:53:06 GMT 2026 - 6.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/llm/AbstractLlmClientTest.java
history.add(LlmMessage.user("Q1")); history.add(LlmMessage.assistant("A1")); history.add(LlmMessage.user("Q2")); history.add(LlmMessage.assistant("A2")); history.add(LlmMessage.user("Q3")); history.add(LlmMessage.assistant("A3")); history.add(LlmMessage.user("Q4")); history.add(LlmMessage.assistant("A4"));
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 07:04:54 GMT 2026 - 53K bytes - Click Count (0) -
src/main/webapp/js/chat.js
labels: { thinking: 'Thinking...', waiting: '...', error: 'An error occurred. Please try again.', sources: 'Sources', statusReady: 'AI Assistant', statusThinking: 'Processing', statusError: 'Error', copied: 'Copied!', copyFailed: 'Copy failed', phases: { intent: 'Analyzing question...',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/java/org/codelibs/fess/chat/ChatClient.java
} } /** * Extracts conversation history from a chat session as LlmMessage list. * The assistant message content in history is controlled by the * {@code rag.chat.history.assistant.content} configuration property. * * @param session the chat session * @return the list of LlmMessages representing the conversation history */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/llm/LlmClient.java
/** * Gets the maximum characters for assistant message in history. * * @return the maximum characters */ default int getHistoryAssistantMaxChars() { return 800; } /** * Gets the maximum characters for assistant summary in history. * * @return the maximum characters */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) -
docs/en/docs/js/init_kapa_widget.js
script.setAttribute("data-modal-border-radius", "0.5rem"); script.setAttribute("data-modal-header-bg-color", "#009485"); script.setAttribute("data-modal-title", "FastAPI AI Assistant"); script.setAttribute("data-modal-title-color", "#FFFFFF"); script.setAttribute("data-modal-title-font-family", "Roboto, sans-serif");
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 18 15:26:13 GMT 2026 - 2.3K bytes - Click Count (0) -
CLAUDE.md
# CLAUDE.md - AI Assistant Guide for CodeLibs CoreLib Java 21 utility library. Maven build system, Apache License 2.0. ## Repository Structure ``` src/main/java/org/codelibs/core/ ├── beans/ # Bean manipulation & introspection (converter/, factory/, impl/, util/) ├── collection/ # Enhanced collections (LruHashMap, CaseInsensitiveMap) ├── concurrent/ # Concurrency utilities ├── convert/ # Type conversion (*ConversionUtil)
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Mar 12 03:38:56 GMT 2026 - 3K bytes - Click Count (0)