Interface ChatMessage

All Known Implementing Classes:
AiMessage, CustomMessage, SystemMessage, ToolExecutionResultMessage, UserMessage

public interface ChatMessage
Represents a chat message. Used together with ChatLanguageModel and StreamingChatLanguageModel.
See Also:
  • Method Summary

    Modifier and Type
    Method
    Description
    The type of the message.
  • Method Details

    • type

      The type of the message.
      Returns:
      the type of the message