Comments (6)
Thanks for the detailed explanation!
I agree that it would be a great feature, but I don't think something like that will be added in a near future, sorry...
There are several ideological reasons why we don't want to extend our DSL this way, also there are several technical reasons why it is hard to implement "continue and evaluate children" logic as a runtime feature too (e.g. as a reactions extension)
And in any case implementing such a feature will require us to greatly redesign JAICF base logic
As for now, I can only advice to use the onlyIf
feature in order to customize activation logic based on context variables
from jaicf-kotlin.
Hi @CiaronHowell !
JAICF has an onlyIf feature that may help you
Unfortunately, there is no way to compose activation rules in a tree-like structure in JAICF, but you can customize all of your intent rules separately to activate only if there is a property in a context
Hope it helps!
from jaicf-kotlin.
Ah right, that's fair enough. The main reason for asking about this functionality is that it would reduce a lot of duplicated code for checking the condition.
Do you think this "continue and evaluate children" functionality could be added as a reaction method?
from jaicf-kotlin.
I'd support Ciaron's request here, but I think Ciaron is referring to Watson's 'Folders' which simply exist to 'unlock' a set of child nodes/states depending on a logical condition. A folder doesn't itself have a reaction/response, it just makes child nodes available for activation. We've built non-trivial dialogue models with Watson, and have found the Folders functionality a really useful abstraction to help model anaphora using context variables (e.g. 'lastTopic=painManagement') and it really helps build and mange complex flows. I think this would be a great addition to your DSL.
from jaicf-kotlin.
fair enough, one to shelve for future perhaps. Best wishes.
from jaicf-kotlin.
Well explained @davidmeredith!
And in any case implementing such a feature will require us to greatly redesign JAICF base logic
That makes sense, for a 'nice to have' it'd be understandably difficult to justify it at this time!
Thanks again for your time @nikvoloshin.
from jaicf-kotlin.
Related Issues (20)
- Context clientId telegram HOT 1
- Fix Telegram buttons
- CAILA NLU Intent full path and tree context path activation HOT 1
- add logging to embeddedServer HOT 1
- Propagate raw request to the BotRequest
- Absolute state paths in scenario are not reliable with append mechanics
- Extend generic types to hooks HOT 1
- Bump bolt-sdk version for slack channel HOT 1
- Safe wrappers for HttpBotRequest content
- Google Assistant Channel omnichannel reactions issues HOT 1
- Parsing paths containing multiple slashes issues HOT 1
- Rasa NLU response parsing error HOT 8
- Pushback function in JAICF HOT 2
- Проблема при использовании buttons toState при подключении mongoDB к JAICF проекту
- Problem running TelegramChannel with webhook without JAICP
- RegexActivator doesn't handle multiline texts HOT 1
- MongoBotContextManager storage logic
- Make `reactions.go` and other similar methods interrupt action block execution HOT 2
- Channel-specific scenarios
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jaicf-kotlin.