Update README.md

This commit is contained in:
Alan Walton 2020-11-07 10:58:29 -07:00 committed by GitHub
parent 182130f724
commit 0a80de8a82
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,7 +30,7 @@ Prepended to the start of the other three scripts before execution so that you c
### Input Modifier ### Input Modifier
Called each time the player gives an input and has the opportunity to modify that input. When inside of an Input Modifier, Called each time the player gives an input and has the opportunity to modify that input. When inside of an Input Modifier,
you can return `stop: true` in order to stop processing——see [examples/commandParser.js](examples/commandParser.js). you can return `stop: true` in order to stop processing——see [examples/commandParser.js](examples/commandParser.js). Setting `stop: true` is important to make sure that you only spend energy for users when you need to.
### Context Modifier ### Context Modifier
Called each time the AI model is about to receive input and has the opportunity to modify that input (by up to a 75% [edit distance](https://en.wikipedia.org/wiki/Levenshtein_distance) change). Called each time the AI model is about to receive input and has the opportunity to modify that input (by up to a 75% [edit distance](https://en.wikipedia.org/wiki/Levenshtein_distance) change).