Hello can anybody tell me the replacement or way to replace deprecated for rasa legacy forms as legacy forms have some advantages over new forms which i mentioned below so please give me some feedback
####legacy advantages //has request_next_slot slot to loop over and find next empty slot to ask, gives control over asking values //has submit method where we can return slots, so we can change slot value or set slots to null after complition of form //form requires no slot mapping in domain file // it validates the slot even if the slot is extracted before triggering the form where new form dont do that so validation of operation is getting failed.
new form disadvantages
// need to maintain at least one slot mapping to work the form //there is no method like request_next_slot so that we can handle utterneces for operation for different forms and scenario // in legacy the submit works with slotset but in the new forms we cant return the slotset unless rasa it self calls the validate_ and we return the desired values //preextracted slots are not validated again
you can use active_loop for using actions as forms via story creation and proper action implementation
actions as forms // and even if we are handling all scenarios the debuggins difficult and if rasa changes their code flow then all forms
are of no use for actions // need to maintain at least one slot mapping to work the form //there is no method like request_next_slot so that we can handle utterneces for operation for different forms and scenario // here slotset works only in the run() so for we need to handle
we need to make sure that if the validation fails then that slot should be asked again before asking next required slot which is not filled as here the slot may look like it is filled but it is incorrect and call to setSlot happens over next iteration
if the slot is pre extracted and failed in validation and here more than one slots may get failed so we need to ask those again if the slot is extracted after form activation and failed and here more than one slots may get failed so we need to ask those again rasa calls the function many time so we need to also check that some slot was asked and response is avalaible then failed [] rasa calls the function many time so we need to also check that some slot was not asked and response is avalaible then failed []
//submit function should be triggered after not next required slot is avaliable but
the form is triggered by rasa many times so the submit may get triggerd many time the case should be handled differently if the all slots already avalaible and not all slots are availaible some time the all slots gets filled but submit is not triggerd so fallback happens