Skip to main content

RiskDebateState

This class represents the state of a risk debate, tracking conversation histories for different agents (risky, safe, neutral), the latest speaker, the most recent responses from each agent, the judge's decision, and the overall conversation length.

Attributes

  • risky_history: string = ""

    • Risky Agent's Conversation history
  • safe_history: string = ""

    • Safe Agent's Conversation history
  • neutral_history: string = ""

    • Neutral Agent's Conversation history
  • history: string = ""

    • Conversation history
  • latest_speaker: string = ""

    • Analyst that spoke last
  • current_risky_response: string = ""

    • Latest response by the risky analyst
  • current_safe_response: string = ""

    • Latest response by the safe analyst
  • current_neutral_response: string = ""

    • Latest response by the neutral analyst
  • judge_decision: string = ""

    • Judge's decision
  • count: integer = 0

    • Length of the current conversation

Constructors

  • Initializes the RiskDebateState object with default empty values for all attributes.