LexV2 specialtybotrouting fixes and enhancements. #575
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Bot Routing is broken for LexV2 bots and returns errors to the clients. This fix updates Bot routing implementation to support LexV2 bots.
In addition, this fix adds several key features for bot routing. The first allows the input utterance triggering bot routing to be sent to the target bot. This can be set to a configured string value or can be set to pass the input utterance which triggered bot routing. The second change allows session attributes to be captured from the target LexV2 bot and saved as session attributes for the user of QnABot.
Description of changes:
botrouting readme was updated
qna.js was updated to add the new configuration parameters
3_query.js was changed to manage internal session attributes for bot routing
lambda/es-proxy-layer/lib/query.js was changed to not process conditional chaining while botrouting is underway
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.