Allen,
I am assuming that you are aware of the
Spring framework documentation, and that you are asking about IBM specific limitations in our implementation of the spring framework. I am not sure about those.
As far as user defined functions are concerned, my guess is that you would need to define them first, and then execute them. That would tend to make the code associated with any particular dialog node more lengthy and tougher to maintain. In cases like this it can often be more beneficial to use some sort of webhook. If you are doing a lot of this, it might be better to look at building your own orchestration engine - something that can help handle these more complex data transformations and control operations in a way that is easier to implement and maintain.
------------------------------
Daniel Toczala
Community Leader and Customer Success Manager - Watson
dtoczala@us.ibm.com------------------------------
Original Message:
Sent: Sat February 27, 2021 12:08 AM
From: Allen Nugent
Subject: SpEL doco?
I'm a relative newbie building an assistant using the Watson Assistant (Lite) GUI and am running into a lot of limitations. Is there a reference for IBM's implementation of Spring Expression Language? (All the resources I have found are wrapped in Java and it's hard to abstract it to context variables and conditional responses.)
And, a related question: is it possible to create user-defined functions in SpEL?
------------------------------
Allen Nugent
------------------------------
#WatsonAssistant