Package org.codelibs.fess.chat
Class ChatClient.ChatResult
java.lang.Object
org.codelibs.fess.chat.ChatClient.ChatResult
- Enclosing class:
ChatClient
Result of a chat request.
-
Constructor Summary
ConstructorsConstructorDescriptionChatResult(String sessionId, ChatMessage message, List<Map<String, Object>> sources) Creates a new chat result. -
Method Summary
Modifier and TypeMethodDescriptionGets the chat message.Gets the session ID.Gets the source documents.
-
Constructor Details
-
ChatResult
Creates a new chat result.- Parameters:
sessionId- the session IDmessage- the chat messagesources- the list of source documents
-
-
Method Details
-
getSessionId
Gets the session ID.- Returns:
- the session ID
-
getMessage
Gets the chat message.- Returns:
- the chat message
-
getSources
Gets the source documents.- Returns:
- the list of source documents
-