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

[Dev] Web interface for model interaction #4

Open
AbrahamSanders opened this issue Mar 9, 2021 · 1 comment
Open

[Dev] Web interface for model interaction #4

AbrahamSanders opened this issue Mar 9, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@AbrahamSanders
Copy link
Owner

AbrahamSanders commented Mar 9, 2021

To start with, this should be a basic single-page application served by Flask, and backed by a FlaskRESTful API to serve the model and track user session state.

The single-page app can be done with any JS UI framework, or just vanilla JS + JQuery.

Primary features:

  1. Input textbox for typing commands, dialog utterances, and narrative passages.
  2. Output textbox for seeing results of model interaction
  3. Support for additional conditioning prompt to precede the active dialog context
  4. Support for speech-to-text and text-to-speech via public API

Some inspiration: https://ricsinaruto.github.io/chatbot.html
More inspiration: https://github.com/AbrahamSanders/seq2seq-chatbot/blob/master/seq2seq-chatbot/chat_ui.html

@AbrahamSanders AbrahamSanders added the enhancement New feature or request label Mar 9, 2021
@AbrahamSanders
Copy link
Owner Author

First draft of this done in cd13bb8.

Still TODO:

  • Support speaker tracking through web UI
  • Support command arguments through web UI controls (--show-beams -> checkbox, etc...)
  • Get better styling for UI. See: https://bootsnipp.com/tags/chat
  • Fix missing punctuation when using speech-to-text
  • Give controls to adjust text-to-speech voice

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

No branches or pull requests

1 participant