类 HintBlock

java.lang.Object
io.agentscope.core.message.ContentBlock
io.agentscope.core.message.HintBlock
所有已实现的接口:
State

public final class HintBlock extends ContentBlock
A content block that provides hints to the LLM during reasoning.

Hint blocks are injected by middleware or memory systems (e.g., RAG) to supply contextual information that guides the agent's reasoning without being part of the conversation history.

  • 构造器详细资料

  • 方法详细资料

    • getId

      public String getId()
      Gets the unique identifier of this hint block.
      返回:
      The hint block ID
    • getHint

      public String getHint()
      Gets the hint text.
      返回:
      The hint content
    • getSource

      public String getSource()
      Returns the sender or origin of this hint. For team messages this is the sender's display name (e.g. "alice"); for system notifications it may be "system" or null.