Skip to content

Commit

Permalink
refactor(plugin-intent-classification): Text Classification plugin to…
Browse files Browse the repository at this point in the history
… Intent Classification #BOT-398 (#1552)

* refactor(plugin-text-classification): rename text classification to intent classification

* refactor(plugin-text-classification): rename text-classificatier to intent-classifier

* refactor(plugin-intent-classification): plugin-text-classification package renamed to plugin-intent-classification

* refactor(plugin-intent-classification): package.json update

* docs(plugin-intent-classification): plugin documentation update

* refactor(plugin-intent-classification): enable plugin-intent-classification tests

* chore(nlp, plugin-intent-classification): bump alpha version
  • Loading branch information
elozano98 authored May 13, 2021
1 parent 697fda8 commit 85faef6
Show file tree
Hide file tree
Showing 22 changed files with 175 additions and 717 deletions.
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
name: Botonic plugin-text-classification tests
name: Botonic plugin-intent-classification tests

on:
push:
paths:
- '*'
- 'packages/*'
- 'packages/botonic-plugin-text-classification/**'
- '.github/workflows/botonic-plugin-text-classification-tests.yml'
- 'packages/botonic-plugin-intent-classification/**'
- '.github/workflows/botonic-plugin-intent-classification-tests.yml'

jobs:
botonic-plugin-text-classification-tests:
name: Botonic plugin-text-classification tests
botonic-plugin-intent-classification-tests:
name: Botonic plugin-intent-classification tests
runs-on: ubuntu-latest
env:
PACKAGE: botonic-plugin-text-classification
PACKAGE: botonic-plugin-intent-classification
steps:
- name: Checking out to current branch
uses: actions/checkout@v2
Expand All @@ -30,7 +30,7 @@ jobs:
${{ runner.os }}-node-
- name: Install dev dependencies
run: (cd ./packages/$PACKAGE && npm install -D)
- name: Build botonic-plugin-text-classification
- name: Build botonic-plugin-intent-classification
run: (cd ./packages/$PACKAGE && npm run build)

- name: Run tests
Expand All @@ -53,5 +53,5 @@ jobs:
name: ${{env.PACKAGE}}
env_vars: ${{env.PACKAGE}}

- name: Verify lint botonic-plugin-text-classification
- name: Verify lint botonic-plugin-intent-classification
run: (cd ./packages/$PACKAGE && npm run lint_ci)
8 changes: 4 additions & 4 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ repos:
language: system
files: ^packages/botonic-plugin-ner/

- id: plugin-text-classification
name: plugin-text-classification
entry: scripts/qa/lint-package.sh packages/botonic-plugin-text-classification
- id: plugin-intent-classification
name: plugin-intent-classification
entry: scripts/qa/lint-package.sh packages/botonic-plugin-intent-classification
language: system
files: ^packages/botonic-plugin-text-classification/
files: ^packages/botonic-plugin-intent-classification/
4 changes: 2 additions & 2 deletions codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ flags:
- packages/botonic-plugin-ner
carryforward: true

botonic-plugin-text-classification:
botonic-plugin-intent-classification:
paths:
- packages/botonic-plugin-text-classification
- packages/botonic-plugin-intent-classification
carryforward: true
Loading

0 comments on commit 85faef6

Please sign in to comment.