{"id":15524348,"url":"https://github.com/codeforequity-at/botium-connector-nlpjs","last_synced_at":"2025-04-23T07:31:30.914Z","repository":{"id":91176453,"uuid":"225206555","full_name":"codeforequity-at/botium-connector-nlpjs","owner":"codeforequity-at","description":"Botium Connector for NLP.js","archived":false,"fork":false,"pushed_at":"2022-10-03T08:33:24.000Z","size":25,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-24T06:17:30.530Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.botium.at","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/codeforequity-at.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-12-01T18:15:17.000Z","updated_at":"2022-10-16T20:27:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"fc6a6503-336d-4409-b3da-a614bafd6e4e","html_url":"https://github.com/codeforequity-at/botium-connector-nlpjs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforequity-at%2Fbotium-connector-nlpjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforequity-at%2Fbotium-connector-nlpjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforequity-at%2Fbotium-connector-nlpjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/codeforequity-at%2Fbotium-connector-nlpjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/codeforequity-at","download_url":"https://codeload.github.com/codeforequity-at/botium-connector-nlpjs/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250390951,"owners_count":21422812,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-02T10:51:03.026Z","updated_at":"2025-04-23T07:31:30.906Z","avatar_url":"https://github.com/codeforequity-at.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Botium Connector for NLP.js\n\n[![NPM](https://nodei.co/npm/botium-connector-nlpjs.png?downloads=true\u0026downloadRank=true\u0026stars=true)](https://nodei.co/npm/botium-connector-nlpjs/)\n\n[![Codeship Status for codeforequity-at/botium-connector-nlpjs](https://app.codeship.com/projects/153297c0-f6a5-0137-a0df-2661092faec2/status?branch=master)](https://app.codeship.com/projects/376435)\n[![npm version](https://badge.fury.io/js/botium-connector-nlpjs.svg)](https://badge.fury.io/js/botium-connector-nlpjs)\n[![license](https://img.shields.io/github/license/mashape/apistatus.svg)]()\n\nThis is a [Botium](https://github.com/codeforequity-at/botium-core) connector for testing your [NLP.js](https://github.com/axa-group/nlp.js) models.\n\n__Did you read the [Botium in a Nutshell](https://medium.com/@floriantreml/botium-in-a-nutshell-part-1-overview-f8d0ceaf8fb4) articles? Be warned, without prior knowledge of Botium you won't be able to properly use this library!__\n\n## How it works\nBotium uses the [NLP Manager](https://github.com/axa-group/nlp.js/blob/master/docs/nlp-manager.md) to load an existing model file from disc.\n\nIt can be used as any other Botium connector with all Botium Stack components:\n* [Botium CLI](https://github.com/codeforequity-at/botium-cli/)\n* [Botium Bindings](https://github.com/codeforequity-at/botium-bindings/)\n* [Botium Box](https://www.botium.at)\n\nThis connector processes info about NLP, so [Intent/Entity asserters](https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/17334319/NLP+Asserter+Intents+Entities+Confidence) can be used (see samples).\n\n## Requirements\n* **Node.js and NPM**\n* a **an NLP.js model**\n* a **project directory** on your workstation to hold test cases and Botium configuration\n\n## Install Botium and NLP.js Connector\n\nWhen using __Botium CLI__:\n\n```\n\u003e npm install -g botium-cli\n\u003e npm install -g botium-connector-nlpjs\n\u003e botium-cli init\n\u003e botium-cli run\n```\n\nWhen using __Botium Bindings__:\n\n```\n\u003e npm install -g botium-bindings\n\u003e npm install -g botium-connector-nlpjs\n\u003e botium-bindings init mocha\n\u003e npm install \u0026\u0026 npm run mocha\n```\n\nWhen using __Botium Box__:\n\nSee [Botium Wiki](https://botium.atlassian.net/wiki/spaces/BOTIUM/pages/38502401/Howto+develop+your+own+Botium+connector#Using-custom-connector-with-Botium-Box) how to install a connector to Botium Box.\n\n## How to start sample\n\nThere is a small demo in [samples/hello dir](./samples/hello) with Botium Bindings. A simple NLP.js model is trained and used in the tests:\n\n```\n\u003e cd ./samples/hello\n\u003e npm install \u0026\u0026 npm run train \u0026\u0026 npm test\n```\n\n## Supported Capabilities\n\nSet the capability __CONTAINERMODE__ to __npmjs__ to activate this connector.\n\n### NLPJS_LANGUAGE\n_Default: en_\n\nLanguage code of your model and your test cases\n\n### NLPJS_MODEL_CONTENT\nPrecompiled exported NLP.js model\n\n### NLPJS_MODEL_FILE\nFilename to load the NLP.js model from\n\n### NLPJS_MODEL_QNAFILE\nQNA File to import\n\n### NLPJS_MODEL_QNACONTENT\nQNA Content to import\n\n### NLPJS_MODEL_QNASEPARATOR\n_Default: \\t_\n\nQNA content separator","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforequity-at%2Fbotium-connector-nlpjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcodeforequity-at%2Fbotium-connector-nlpjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcodeforequity-at%2Fbotium-connector-nlpjs/lists"}