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

NLP Related Features #32

Open
Kardbord opened this issue Nov 13, 2021 · 4 comments
Open

NLP Related Features #32

Kardbord opened this issue Nov 13, 2021 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@Kardbord
Copy link
Owner

Consolidation of #30, #31, and any other feature ideas with roots in Natural Language Processing (NLP).

Hugging Face (HF) hosts open source models for a number of common NLP tasks that could be made into useful features. It also hosts a variety of datasets. They seem to offer several APIs and products, but I think the most noteworthy for this use case is the Inference API. If I understand it correctly, it allows for querying various models hosted on HF via HTTP requests. Most importantly, it seems to have a free tier plan. 😃

Here's a list of NLP tasks that I think have lots of potential for bot features:

Some feature ideas based on the above NLP tasks:

  • Conversational chat bot
  • Translation between languages
  • Summarize user provided text or text from a web page (e.g., wikipedia, dnd.wizards.com)
  • Question answering - use a Google/DuckDuckGo search as answer context
  • Story telling based on a prompt (text generation)
@Kardbord Kardbord added the enhancement New feature or request label Nov 13, 2021
@Kardbord Kardbord self-assigned this Nov 13, 2021
This was referenced Nov 13, 2021
@Kardbord
Copy link
Owner Author

Kardbord commented Nov 13, 2021

Couldn't find any Go bindings for the Inference API, so I'm developing them in the hfapigo repo.

@Kardbord
Copy link
Owner Author

Kardbord commented Nov 29, 2021

Added story telling in v1.8.0 via the /story-time command.

@Kardbord
Copy link
Owner Author

Another thought for an NLP-feature: use zero-shot classification to issue commands to the bot without using slash commands. Behavior would be similar to an AI chat bot.

@Kardbord
Copy link
Owner Author

v1.11.0 added a madlib-esque feature via /madlib.

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