prompting.baseminer.blacklist#

Module Contents#

Functions#

is_prompt_in_cache(self, synapse)

default_blacklist(self, synapse)

blacklist(self, func, synapse)

async prompting.baseminer.blacklist.is_prompt_in_cache(self, synapse)#
Parameters:

synapse (prompting.protocol.Prompting) –

Return type:

bool

prompting.baseminer.blacklist.default_blacklist(self, synapse)#
Parameters:

synapse (prompting.protocol.Prompting) –

Return type:

Union[Tuple[bool, str], bool]

prompting.baseminer.blacklist.blacklist(self, func, synapse)#
Parameters:
Return type:

Union[Tuple[bool, str], bool]