Skip to content

Commit

Permalink
fix(nlu): remove dead configs
Browse files Browse the repository at this point in the history
  • Loading branch information
EFF committed Oct 8, 2019
1 parent fa02083 commit 8893ff6
Showing 1 changed file with 1 addition and 22 deletions.
23 changes: 1 addition & 22 deletions modules/nlu/src/config.ts
@@ -1,13 +1,6 @@
import { FastTextOverrides, LanguageSource } from './backend/typings'
import { LanguageSource } from './backend/typings'

export interface Config {
/**
* The minimum confidence required (in %) for an intent to match
* Set to '0' to always match
* @default 0.5
*/
confidenceTreshold: number

/**
* If you want a fully on-prem installation, you can host
* Facebook's Duckling on your own infrastructure and change this URL
Expand All @@ -34,23 +27,9 @@ export interface Config {
*/
preloadModels: boolean

/** The name of the language model to use.
* Language models are located in your bot's "global/models" folder and they end with `intent-lm.vec`
* The name of the model to use is the prefix of the file (before the first occurence of `__`)
* @default en
*/
languageModel: string

/**
* The list of sources to load languages from
* @default [{ "endpoint": "https://lang-01.botpress.io" }]
*/
languageSources: LanguageSource[]

/**
* Fine-tuning of the fastText classifier parameters
* WARNING: For advanced users only
* @default {}
*/
fastTextOverrides?: FastTextOverrides
}

0 comments on commit 8893ff6

Please sign in to comment.