接口 ChatMessage

所有已知实现类:
AiMessage, SystemMessage, ToolExecutionResultMessage, UserMessage

public interface ChatMessage
A chat message.
  • 方法概要

    修饰符和类型
    方法
    说明
    已过时。
    decode through type() instead.
    The type of the message.
  • 方法详细资料

    • type

      The type of the message.
      返回:
      the type of the message
    • text

      已过时。
      decode through type() instead.
      The text of the message.
      返回:
      the text of the message