Botfile

Botfile

new Botfile()

Source:

Members

api

The web server API config

Source:

botUrl

The bot's base URL where the bot is reachable from the internet

Source:

contentDataDir

Path to Content Types Data

Source:

contentDir

Path to Content Types

Source:

dataDir

Where the content is stored You can access this property from bp.dataLocation

Source:

dialogs :Object

Dialog Manager (DM) options

Source:
Type:
  • Object

disableFileLogs :Object

By default logs are enabled and available in dataDir

Source:
Type:
  • Object

env

The botpress environment, useful to disambiguate multiple instances of the same bot running in different environments. e.g. "dev", "staging", "production"

Source:

flowsDir

Path to Flows

Source:

ghostContent :Object

By default ghost content management is only activated in production

Source:
Type:
  • Object

login :Object

Access control of admin panel

Source:
Type:
  • Object

mediaDir

Path to media / file uploads

Source:

modulesConfigDir

Some modules might generate static configuration files

Source:

notification :Object

Where the notifications are stored.

Source:
Type:
  • Object

optOutStats

Botpress collects some anonymous usage statistics to help us put our efforts at the right place

Source:

port

The port on which the API and UI will be available

Source:

postgres :Object

Postgres configuration If Postgres is not enabled, Botpress uses SQLite 3 (file-based database)

Source:
Type:
  • Object