# Chatbot_BotSourceCode_OpenSource **Repository Path**: ecapsvc/Chatbot_BotSourceCode_OpenSource ## Basic Information - **Project Name**: Chatbot_BotSourceCode_OpenSource - **Description**: No description available - **Primary Language**: Unknown - **License**: AGPL-3.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-11-13 - **Last Updated**: 2024-11-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README

npm License License

HighlightsFeaturesQuick startDocumentationDevelopment

Release NotesGet helpBotfront.io


What is it

Conversational projects require easy prototyping, fast implementation and continuous iteration. With **[Botfront](https://botfront.io)** you can build context-aware conversation flows in minutes and accelerate time to market by an exponential factor.

Highlights

😎

Easy to use

🎓

Powerful

💻️

Developer friendly

Our main goal is to lower the technical barrier to entry in conversational AI. Implementing context-aware conversations should be as easy as chatting. Botfront uses Rasa, a powerful and production ready conversational AI library. Botfront exposes all Rasa functionalities and abstracts its complexity. Botfront's intuitive CLI orchestrates all Botfront's services on your development machine.
Authoring, training, auto reloading actions code, it just works!

Features

​ ​ ​ ​ ​ ​ ​ ​

Builds conversation as if you were chatting

Botfront provides a unique and natural conversation authoring experience. You can create complex dialog flows in minutes

Train & evaluate NLU models

Botfront comes with a complete NLU toolbox. You can tag vast amounts of data efficiently, train and evaluate models. Several evaluation methods are available depending on the development stage of your model

Annotate incoming data

Botfront is always connected to your agent and conversation data keeps flowing in. You can annotate this data and even use it as an evaluation set and check how this new data improves your model.

Rasa integration

Botfront exposes all Rasa features and concepts and and makes them accessible at a higher level for faster development. You can export a Botfront project and use it with Rasa at any time.

Quick Start

Botfront only requires a recent version of Docker. You can install the CLI with the following: ```bash npm install -g botfront ``` Then just run `botfront`to get started.

Documentation

The [official documentation](https://botfront.io/docs/getting-started/setup) of Botfront is hosted on [botfront.io](https://botfront.io/docs/getting-started/setup). It is automatically built and updated on every new release. Once you've installed the cli you can also use `botfront docs` to open it.

Development

### Installation 1. Botfront is a Meteor app, so the first step is to [install Meteor](https://www.meteor.com/install) 2. Then clone this repo and install the dependencies: ```bash git clone https://github.com/botfront/botfront cd botfront/botfront meteor npm install ``` 3. Install the CLI from the source code: ```bash # if you installed Botfront from npm uninstall it. npm uninstall -g botfront # Install the cli from the source code cd cli && npm link ``` Botfront needs to be connected to other services, especially Rasa. To do this, you need to create a regular project, and start Botfront with a dedicated configuration: 1. Create a Botfront project with `botfront init` (somewhere else, not in the repo) 2. Start your project with `botfront up -e botfront`. This will run all services except the Botfront app, since you are going to run it with Meteor locally 3. Go back to the botfront checkout `cd botfront/botfront` and run Botfront with `meteor npm run start:docker-compose.dev`. Botfront will be available at [http://localhost:3000](http://localhost:3000) so open your browser and happy editing :smile_cat: ### TroubleShooting Some [botfront cli](https://github.com/botfront/botfront/blob/master/cli/src/cli.js) commands that may help if you run into problems: ```shell botfront init # create a new botfront project botfront logs # show the logs! botfront killall # stop all docker services botfront down # stop all botfront services botfront up # restart botfront botfront docs # open the docs in your browser ``` Note that these should be run from the same directory as your botfront project ### Contribute We ❤️ contributions of all size and sorts. If you find a typo, if you want to improve a section of the documentation or if you want to help with a bug or a feature, here are the steps: 1. Fork the repo and create a new branch, say `fix-botfront-typo-1` 2. Fix/improve the codebase 3. Commit the changes. **Commit message must follow [the naming convention](#commit-messages-naming-convention)**, say `fix(conversation builder): display story groups in alphabetical order` 4. Make a pull request. **Pull request name must follow [the naming convention](#commit-messages-naming-convention)**. It can simply be one of your commit messages, just copy paste it, e.g. `fix(readme): improve the readability and move sections` 5. Submit your pull request and wait for all checks passed (up to an hour) 6. Request reviews from one of the developers from our core team. 7. Get a 👍 and PR gets merged. Well done! Once a PR gets merged, here are the things happened next: - all Docker images tagged with `branch-master` will be automatically updated in an hour. You may check the status on the [Actions](https://github.com/botfront/botfront/actions) tab. - your contribution and commits will be included in [our release note](https://github.com/botfront/botfront/blob/master/CHANGELOG.md). ### Testing End to end tests are using the Cypress testing framework. To manually run the Cypress tests, you need to have Botfront running in development mode. Some tests also require Rasa to be available. Once you are at the root of the repo, you can enter the following. ```bash cd botfront # if you want to open Cypress' graphical interface npx cypress open # If you want to run the whole suite in headless mode # This could take up to an hour depending on your computer npx cypress run # If you want to run a specific test npx cypress run --spec "cypress/integration/02_training/training.spec.js" ``` ### git tips ```text config your user name of git $ git config --global user.name "username" ``` ```text config your email of git $ git config --global user.email "email" ``` ### Commit messages naming convention To help everyone with understanding the commit history of Botfront, we employ [`commitlint`](https://commitlint.js.org/#/) to enforce the commit styles: ```text type(scope?): subject ``` where `type` is one of the following: - build - ci - chore - docs - feat - fix - perf - refactor - revert - style - test `scope` is optional, represents the module your commit working on. `subject` explains the commit. As an example, a commit that improved the documentation: ```text docs(conversation builder): update slots manager screenshot. ```

License

Botfront is [AGPLv3](https://github.com/botfront/botfront/blob/master/LICENSE) licensed. You can read the licence [here](https://github.com/botfront/botfront/blob/master/LICENSE). Copyright (C) 2019 9300-2038 Quebec Inc. All rights reserved.