BaseBackend
Bases: AbstractBackend
load(storage_dir)
Loads from the specified directory.
load_all()
The base backend does not load anything. It gets all its facts, inferencers, and heuristics through the add_* methods.
query(user_input, conversation=None)
Backends are expected to return a dict with the following keys: - response: a string - response_object: an object that has a lot more information about the response
save(storage_dir)
Saves to the specified directory.
select_facts(criteria)
The base backend simply returns all facts.
select_heuristics(criteria)
The base backend simply returns all heuristics.
select_inferencers(criteria)
The base backend simply returns all inferencers.