<commit_before># slothie

Slothie is a chatbot API built with [Express](https://expressjs.com/), [MongoDB](https://www.mongodb.com/), and [Rivescript](https://www.rivescript.com/).

## Getting started

* Install Node and Mongo
* Clone this repo
* `npm install`
* `sudo mongodb`
* `npm start`
* Post to `http://localhost:5000/v1/chatbot`

### Running in Console
<commit_msg>Add required .env<commit_after># slothie

Slothie is a chatbot API built with [Express](https://expressjs.com/), [MongoDB](https://www.mongodb.com/), and [Rivescript](https://www.rivescript.com/).

## Getting started

* Install Node, Mongo, and the Heroku toolbelt
* Clone this repo, and create a `.env` file with required variables
* `npm install`
* `sudo mongodb`
* `heroku local`
* Post to `http://localhost:5000/v1/chatbot`

### Running in Console

{'fraction_non_alphanumeric': 0.15636363636363637, 'fraction_numerical': 0.012121212121212121, 'mean_word_length': 4.657534246575342, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 4, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3033377', 'n_tokens_mistral': 298, 'n_tokens_neox': 277, 'n_words': 81}