Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

voice tests #44

Open
jamesmcneill opened this issue Jun 18, 2021 · 5 comments
Open

voice tests #44

jamesmcneill opened this issue Jun 18, 2021 · 5 comments

Comments

@jamesmcneill
Copy link

Currently chatpickle supports postText. Could this be expanded to postContent as well, this would allow posting voice to lex.

@arsena
Copy link
Member

arsena commented Jun 18, 2021

Good idea.
https://docs.aws.amazon.com/lex/latest/dg/API_runtime_PostContent.html

Two ways that this could become part of chatpickle.

  1. Create a Lex client that uses postContent for all conversational steps like User: This would get converted to audio before posted to lex
  2. Add a step definition like 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.

@arsena
Copy link
Member

arsena commented Jun 18, 2021

@taylor-lapointe fyi

@reddyharsha
Copy link

I forked the repo and am working on this issue. Pull request will follow soon.

@reddyharsha
Copy link

Here's the pull request. #46.

@seckinarsoy
Copy link

I'm working on testing this locally.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants