question

Amazon Customer avatar image
Amazon Customer asked

Unable to save updated JSON file containing NFI container

After adding the NFI container in the Interaction Model JSON, the added container disappears after saving the model.

nfi
10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

Tobi Oredein avatar image
Tobi Oredein answered

Faced the same. And here is the answer:

Make sure that your nfi container is placed within the interaction model and parallel to the language model.

Example

{
"interactionModel": {
"languageModel": {...},
"_nameFreeInteraction": {...}
}
}

10 |5000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.