Skip to content

Commit

Permalink
🔀 Merge pull request #94 from sadlowskij/Feature/alexa-name-free-inte…
Browse files Browse the repository at this point in the history
…raction

✨ Add alexa name-free interaction support
  • Loading branch information
jankoenig authored Jan 31, 2024
2 parents 08d9c73 + e85bdb0 commit 0c0c51d
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/jovo-model-alexa/src/JovoModelAlexa.ts
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,15 @@ export class JovoModelAlexa extends JovoModel {
_set(alexaModel, 'interactionModel.dialog', _get(model, 'alexa.interactionModel.dialog'));
}

// name-free interaction
if (_get(model, 'alexa.interactionModel._nameFreeInteraction')) {
_set(
alexaModel,
'interactionModel._nameFreeInteraction',
_get(model, 'alexa.interactionModel._nameFreeInteraction')
);
}

// types
if (JovoModelHelper.hasEntityTypes(model)) {
const entityTypes = JovoModelHelper.getEntityTypes(model);
Expand Down

0 comments on commit 0c0c51d

Please sign in to comment.