Interface FeedbackCollector.Factory

Enclosing interface:
FeedbackCollector
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface FeedbackCollector.Factory
Factory for creating FeedbackCollector instances. Discovered via ServiceLoader from tnsai-intelligence.
  • Method Details

    • create

      FeedbackCollector create(String agentId)
      Creates a new feedback collector for an agent.
      Parameters:
      agentId - the agent identifier
      Returns:
      a new FeedbackCollector instance
    • discover

      static FeedbackCollector.Factory discover()
      Discovers a Factory via ServiceLoader.
      Returns:
      discovered factory, or null if tnsai-intelligence is not on classpath