How can I create sub-entity inside dialog task ?

(Gaetano Picilli) #1


I wish to use a composite entity but I’m not able to create related sub-entities.
The documentation “Working with Composite Entities” doesn’t explain how can I create sub-entities inside dialog task.
As example, starting from an Intent node, is it necessary create first sub-entity node, then next sub-entity node and so on, and finally the composite entity node, creating the following chain of nodes:

intent node --> subentity node 1 --> … --> subentity node N --> Composite Entity node

Is it correct ?

Can you give me a picture with an example of dialog task with sub-entity nodes ?

Thanks for your support.


(Yoga Ramya Mendu) #2

Hi @gaetano.picilli,

Kindly refer usecase-2 in the following link which illustrates an example for creating a composite entity:

Also, please go through the following post for better understanding.

Let us know if you need any further clarification on the above.

Yoga Ramya.

(luis aros) #3

Just connect the nodes, and change the node configuration, The first one should be “mandatory” and “explicy prompted”, the others N-1 subentity nodes should be “hidden” and “evaluate the unused text and text of the previus…” So your node will ask to the user one time then extract the N entities from the same user input.