just-ai/jaicf-kotlin

Add ranking function to state selection

Denire opened this issue · 0 comments

Having multiple intents with different confidences, we have to select state for the most relevant intent, where relevance is defined by confidence + by context range (how close this new target state to current context).
This issue suggests that we should create that ranking function and apply it during intent activation.