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

Enable probabilistic list of responses for preset responses #41

Open
OrBin opened this issue Mar 13, 2019 · 0 comments
Open

Enable probabilistic list of responses for preset responses #41

OrBin opened this issue Mar 13, 2019 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Hacktoberfest 2019 issues - https://hacktoberfest.digitalocean.com/
Milestone

Comments

@OrBin
Copy link
Owner

OrBin commented Mar 13, 2019

Preset responses currently receive a preset single response or list of responses.
If a list of responses is given, the response to be sent is chosen randomly from the list.
We want to enable probabilistic selection, for example: the user wants to configure a bot to respond with a certain response in 75% of the times, and with another one in 25% of the times.

Points for thinking:

  • How the configuration should look?
  • Creating a type (dataclass?) for the probabilistic input (?)
  • Validating that the probabilities sum up to 100%

Before implementing this task, please post your suggestion for the configuration structure (an example configuration may be enough).

@OrBin OrBin added the enhancement New feature or request label Mar 13, 2019
@OrBin OrBin added this to the E milestone Mar 13, 2019
@OrBin OrBin added good first issue Good for newcomers hacktoberfest Hacktoberfest 2019 issues - https://hacktoberfest.digitalocean.com/ labels Sep 12, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest Hacktoberfest 2019 issues - https://hacktoberfest.digitalocean.com/
Projects
None yet
Development

No branches or pull requests

1 participant