pressagio.context_tracker

Class for context tracker.

class pressagio.context_tracker.ContextTracker(config, predictor_registry, callback)[source]

Tracks the current context.

Methods

context_change()
extra_token_to_learn(index, change)
future_stream()
is_completion_valid(completion)
past_stream()
prefix()
token(index)
update_context()
__init__(config, predictor_registry, callback)[source]