Class ChatClient.ChatResult

java.lang.Object
org.codelibs.fess.chat.ChatClient.ChatResult
Enclosing class:
ChatClient

public static class ChatClient.ChatResult extends Object
Result of a chat request.
  • Constructor Details

    • ChatResult

      public ChatResult(String sessionId, ChatMessage message, List<Map<String,Object>> sources)
      Creates a new chat result.
      Parameters:
      sessionId - the session ID
      message - the chat message
      sources - the list of source documents
  • Method Details

    • getSessionId

      public String getSessionId()
      Gets the session ID.
      Returns:
      the session ID
    • getMessage

      public ChatMessage getMessage()
      Gets the chat message.
      Returns:
      the chat message
    • getSources

      public List<Map<String,Object>> getSources()
      Gets the source documents.
      Returns:
      the list of source documents