Hi,
I am trying to pass Order Id to API service for that I am storing Order Id in memory and pass it to API body, but only first value is displayed memory vales are not changing according to new input how to use dynamic memory ?

Image showing different Order Id giving same output

Image showing Memory storage

Image showing using memory value in Action
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Hi Ajeya,
the skill requirements are currently designed in a way that already present memory information takes priority over new information. Meaning for the above case, the "OrderId" is already present from the first input therefore "#order-id" will not replace the existing value. With that approach it is possible to have multiple requirements that ask for the same entity type - e.g. departure and arrival location for a book-flight skill etc.
However, to resolve the situation it might make sense to clear certain memory fields at the end of a skill, if it is clear that they are not needed anymore. Add a new action - "update conversation" -> "edit memory" and there use the "unset memory field" to clear "OrderId".
Best regards,
Stephan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 5 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.