Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
nlp-with-actions
Advanced tools
Readme
Simply process text
This package is e.g. used by homo-digitalis and by the telegram-interaction-builder
It leverages e.g. the nlp-trainer
import { Processor, IAnswer, IAnswerExtended } from "nlp-with-actions"
import { NLPTrainer } from "nlp-trainer"
const processor: Processor = new Processor()
const nlpTrainer: NLPTrainer = new NLPTrainer()
// you can replace the trainingData with your own data
const trainingData: any = await nlpTrainer.getIntents("exampleMap")
await processor.learn(trainingData)
const answer: IAnswer = await processor.process("hi")
console.log(answer)
To explore example training data and its structure check the nlp-trainer package.
// see also above
// retrieving details including e.g. results of entity extraction
const detailedAnswer: IAnswerExtended =
await processor.processAndDeliverDetails("Hi. I'm 25.")
console.log(JSON.stringify(detailedAnswer))
If you find any issues or want to share improvement proposals in general feel free to open an issue here.
I am interested in save and useful enhancements. Feel free to create Pull Requests on my Repository.
FAQs
This package combines Natural Language Processing with User Action Processing
The npm package nlp-with-actions receives a total of 0 weekly downloads. As such, nlp-with-actions popularity was classified as not popular.
We found that nlp-with-actions demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.