Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
botpress-nlu
Advanced tools
Botpress NLU is a Botpress module that adds NLU capatibilities to your bot by connecting to the NLU provider of your choice.
🚧 I'm looking for help to support more providers
Provider | 🚩 Status |
---|---|
Native (built-in) | ✅ |
LUIS | ✅ |
DialogFlow | Help needed |
RASA | ✅ |
We believe NLP/NLU is a commodity, so this package abstracts the provider by providing a standard, clean interface that allows you (and the non-technicals) to easily edit the NLU data within Botpress.
With Botpress NLU,
⚠️ This module only works with the upcoming Botpress X.
yarn add botpress-nlu
luis
or rasa
or native
)provider
config to either luis
or rasa
Key | Environment Variable | Required | Default |
---|---|---|---|
provider | NLU_PROVIDER | Yes* | native |
intentsDir | NLU_INTENTS_DIR | Yes | ./intents |
entitiesDir | NLU_ENTITIES_DIR | Yes | ./entities |
'*': Provider is one of
rasa
,luis
ornative
event.nlu
)Botpress NLU will instrument incoming events by providing a standardized object with the structure below.
Path | Description | Supported by |
---|---|---|
nlu.intent.name | The name of the classified intent | LUIS, RASA |
nlu.intent.confidence | Confidence of the classification, between 0 and 1 , higher the better | LUIS, RASA |
nlu.intent.provider | The provider that provided the classification | LUIS, RASA |
nlu.entities[i].name | The name of the extracted entitiy | - |
nlu.entities[i].type | The type of entity that was extracted | LUIS, RASA |
nlu.entities[i].value | The normalized value of the extracted entity | LUIS, RASA |
nlu.entities[i].original | The original (raw) value of the extracted entity | RASA |
nlu.entities[i].confidence | The provider that extracted the entity | LUIS, RASA |
nlu.entities[i].position | The position where it was found in the input string (start position) | LUIS, RASA |
nlu.sentiment | TBD | - |
nlu.language | TBD | - |
Provider | Intent Classification | Entity Exraction | Scopes (coming soon) |
---|---|---|---|
LUIS | ✅ | ✅ | ❌ |
RASA | ✅ | ✅ | ❌ |
Native | ✅ | ❌ | ❌ |
Key | Environment Variable | Required |
---|---|---|
luisAppId | NLU_LUIS_APP_ID | Yes |
luisProgrammaticKey | NLU_LUIS_PROGRAMMATIC_KEY | Yes |
luisAppSecret | NLU_LUIS_APP_SECRET | Yes |
luisAppRegion | NLU_LUIS_APP_REGION | No (default is westus ) |
There are some entities that LUIS doesn't support in some languages, make sure that the language you are using supports the entities you are using in Botpress (this module doesn't do this check for you).
Botpress NLU will create and train and maitain your projects and models automatically for you.
Note: By default, Botpress creates separate projects for development and production environment, e.g.
dev__botpress__all
andprod__botpress__all
.
Key | Environment Variable | Required |
---|---|---|
rasaEndpoint | NLU_RASA_URL | No (default is http://localhost:5000/ ) |
rasaToken | NLU_RASA_TOKEN | No (none by default) |
rasaProject | NLU_RASA_PROJECT | No (default is botpress ) |
The best way to help right now is by helping with the exising issues here on GitHub and by reporting new issues!
Botpress is dual-licensed under AGPLv3 and the Botpress Proprietary License.
By default, any bot created with Botpress is licensed under AGPLv3, but you may change to the Botpress License from within your bot's web interface in a few clicks.
For more information about how the dual-license works and why it works that way please see the FAQS.
FAQs
Botpress NLU module
The npm package botpress-nlu receives a total of 0 weekly downloads. As such, botpress-nlu popularity was classified as not popular.
We found that botpress-nlu demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.