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

Created on 2 Feb 2017  路  4Comments  路  Source: gunthercox/ChatterBot

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.

All 4 comments

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

If you want restric a specific adapter override can_process method.

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 Do you think this is something you might implement soon?
Thank you.

@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.

Was this page helpful?
0 / 5 - 0 ratings