Interface ChatMessage

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

public interface ChatMessage
A chat message.
  • Method Summary

    Modifier and Type
    Method
    Description
    Deprecated.
    decode through type() instead.
    The type of the message.
  • Method Details

    • type

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

      Deprecated.
      decode through type() instead.
      The text of the message.
      Returns:
      the text of the message