Comments (3)
Isn't it the case for BeforeProcessHook
?
from jaicf-kotlin.
Don't think so:
- It's better to keep scenario logic inside scenario, but not in hooks.
- BeforeProcessHook may receive CatchAllActivatorContext instead of real context, because no state was found, as no state has activator with specified name.
from jaicf-kotlin.
I agree with your points, but as I understand from your examples it doesn't look like scenario logic, it looks exactly like hook logic as you want to react on some global events like "Any activation". Correct me please, if I'm wrong.
EDIT: I've misunderstood you, it's a scenario logic and should be implemented as a feature, thanks for the explanation @Denire .
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
- Question - Using states as conditional "gateways" HOT 6
- Проблема при использовании 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.