Package-level declarations

Types

Link copied to clipboard
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.

Link copied to clipboard
data class Ranking<T>(val match: T, val score: <Error class: unknown class>)

Ranking choice returned by the ranker

Link copied to clipboard
data class Rankings<T>(rankings: List<Ranking<T>>)

Rankings, sorted by score descending