ChatterBot icon indicating copy to clipboard operation
ChatterBot copied to clipboard

How to prevent other logic adapters from running when there is already confidence == 1 ?

Open thedp opened this issue 8 years ago • 4 comments

I've created multiple logic adapters to handle the input by calling 3rd party APIs and access a DB.

I want to avoid unneeded calls to the APIs and my DB. How can I prevent other logic adapters from even running when there is already confidence == 1 ?

Thank you.

thedp avatar Feb 02 '17 07:02 thedp

If you want more specific about your app create your new logic adapter

If you want restric a specific adapter override can_process method.

vkosuri avatar Feb 14 '17 23:02 vkosuri

I'm reopening this as it is a valid issue that I wish to address. I haven't had a chance to implement anything yet but I do want to provide a way to support this functionality.

gunthercox avatar Feb 25 '17 18:02 gunthercox

@gunthercox Do you think this is something you might implement soon? Thank you.

thedp avatar Apr 16 '17 12:04 thedp

@thedp This is something that I would like to implement, but I don't have any estimates on when I will be able to get around to working on it. It may be a few more weeks before I have a chance.

gunthercox avatar Apr 18 '17 13:04 gunthercox