langgoap.ConditionResolver

langgoap.ConditionResolver#

class ConditionResolver(*args, **kwargs)[source]#

Synchronous condition resolver — duck-typed protocol.

__init__(*args, **kwargs)#

Methods

__init__(*args, **kwargs)

resolve(key, world_state)

Return the truth value of key given the current world_state.

Attributes

name

Human-readable resolver name.