Interface Subject

All Known Implementing Classes:
Subject.Interaction

public sealed interface Subject permits Subject.Interaction
The subject of an evaluation. A subject names what is evaluated by its stable id. The evaluator fetches the content from the ledger.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    One agent interaction, on its own or as part of a flow.
  • Method Summary

    Modifier and Type
    Method
    Description
    The component id of the agent that produced the interaction.
    The stable id of the interaction being evaluated.
  • Method Details

    • interactionId

      String interactionId()
      The stable id of the interaction being evaluated.
      Returns:
      the interaction id
    • agentComponentId

      String agentComponentId()
      The component id of the agent that produced the interaction.
      Returns:
      the agent component id