Open jamesmcneill opened 3 years ago
Good idea. https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html
Two ways that this could become part of chatpickle.
User: This would get converted to audio before posted to lex
Given its a voice channel
, and that might change how we test what was returned, if a string is returned, great chatpickle already asserts the expected string, but if its audio that comes back, that would be a fun area to explore how we would verify an audio file is accurate.@taylor-lapointe fyi
I forked the repo and am working on this issue. Pull request will follow soon.
Here's the pull request. https://github.com/libertymutual/chatpickle/pull/46.
I'm working on testing this locally.
Currently chatpickle supports postText. Could this be expanded to postContent as well, this would allow posting voice to lex.