Kardbord / Kard-bot

A Discord bot destined for greatness
GNU Affero General Public License v3.0
1 stars 0 forks source link

NLP Related Features #32

Open Kardbord opened 2 years ago

Kardbord commented 2 years ago

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:

Kardbord commented 2 years ago

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

Kardbord commented 2 years ago

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

Kardbord commented 2 years ago

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 commented 2 years ago

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