Interface Ranker

  • All Implemented Interfaces:

    
    public interface Ranker
    
                        

    Rank available choices based on user input and agent metadata. It's possible that no ranking will be high enough to progress with, but that's a matter for the AgentPlatform using this service.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      abstract <T extends Named, Described> Rankings<T> rank(String description, String userInput, Collection<T> rankables) Rank a set of items based on user input and agent metadata.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail

      • rank

         abstract <T extends Named, Described> Rankings<T> rank(String description, String userInput, Collection<T> rankables)

        Rank a set of items based on user input and agent metadata.

        Parameters:
        description - Description of the item being ranked
        userInput - User input to rank against
        rankables - Set of items to rank