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

Thread-based conversational support #233

Open
Shadowfiend opened this issue Jan 3, 2023 · 0 comments
Open

Thread-based conversational support #233

Shadowfiend opened this issue Jan 3, 2023 · 0 comments

Comments

@Shadowfiend
Copy link
Contributor

Shadowfiend commented Jan 3, 2023

Add a middleware or similar that supports conversation context based on thread id. Could be better-implemented on the underlying hubot code.

This would allow commands that require a back-and-forth. Context should probably be evicted after a certain amount of time, maybe with a tombstone marker so the bot can let the user know that the context has been forgotten and to start the conversation over.

One possibility here is for “commands” that may require input from multiple people. Thread-based context would allow that input to come in via the same thread, and accumulate until the necessary info is available to execute a command. For example, if we wanted inviting someone to GitHub to require them to provide additional info (e.g. their keybase), someone might request inviting that person to GitHub, then Valkyrie might ask the new person to provide their keybase to verify access, then once that info is provided run the original request.

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

1 participant