Interface LearnerKey

One agent with one user, in one namespace: what learned state belongs to.

interface LearnerKey {
    namespace: string;
    agentKey: string;
    userId: string;
}

Properties

namespace: string

The organization the user belongs to; '' when the host has none.

agentKey: string

The agent: learning.agentKey when the host sets it, else the id of a registered persona or a named agent.

userId: string

The user's id, as the host passes it.