- You need Node.js (LTS version) and Yarn package manager.
- Clone
SpeechState
(https://github.com/vladmaraev/speechstate) into a sibling directory. - Switch to
no-react
branch. - Install the dependencies and build
SpeechState
:yarn npx tsc
- Clone this project.
- Link
SpeechState
(from this project):yarn link ../speechstate -A -p -r
- Add Azure key in
src/index.ts
- Install the dependencies and start the application:
yarn yarn start
Some considerations:
- Yarn (update to last version:
yarn set version stable
, see.yarnrc.yml
) - Cleaning parcel cache:
rm -rf .parcel-cache
Form-based dialogue management
- [ ] states
- [ ] transition
- [ ] actions
- [ ] conditions (guards)
- [ ] context
- [ ] timers/delays (see SpeechState timers)
- [ ] history
- [ ] invoke
assign({
feedback: ({ context, event }) => context.feedback + " " + event.feedback,
})
// Some feedback Some other feedback
https://stately.ai/docs/xstate-v5/migration
- [ ] Actor model
- [ ] Spawning
…and actor model
(GUI example)