From 9c09d18699eeaa2e668b9e74f327478d0e064987 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 30 Jul 2020 10:20:09 -0400 Subject: [PATCH 1/3] Update README.md --- chatter/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chatter/README.md b/chatter/README.md index 9be320e..1c22e8d 100644 --- a/chatter/README.md +++ b/chatter/README.md @@ -54,7 +54,7 @@ Install these on your windows machine before attempting the installation [Pandoc - Universal Document Converter](https://pandoc.org/installing.html) -##Methods +## Methods ### Windows - Manually #### Step 1: Built-in Downloader @@ -148,4 +148,4 @@ settings. This can take a long time to process. Chatter can be configured to use one of three different Similarity algorithms. -Changing this can help if the response speed is too slow, but can reduce the accuracy of results. \ No newline at end of file +Changing this can help if the response speed is too slow, but can reduce the accuracy of results. From ac311157503b225875f182efcd3606592a3e03fd Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 30 Jul 2020 10:50:10 -0400 Subject: [PATCH 2/3] Update README.md Mention using virtual environment --- chatter/README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/chatter/README.md b/chatter/README.md index 1c22e8d..42f92be 100644 --- a/chatter/README.md +++ b/chatter/README.md @@ -66,6 +66,8 @@ You need to get a copy of the requirements.txt provided with chatter, I recommen #### Step 2: Install Requirements +Make sure you have your virtual environment that you installed Red on activated before starting this step. See the Red Docs for details on how. + In a terminal running as an admin, navigate to the directory containing this repo. I've used my install directory as an example. From e75c0bb7377e06b28efe0680db161f7c95908094 Mon Sep 17 00:00:00 2001 From: bobloy Date: Thu, 30 Jul 2020 12:38:46 -0400 Subject: [PATCH 3/3] Update README.md Add Linux install instructions --- chatter/README.md | 24 ++++++++++++++++++++++-- 1 file changed, 22 insertions(+), 2 deletions(-) diff --git a/chatter/README.md b/chatter/README.md index 42f92be..933162a 100644 --- a/chatter/README.md +++ b/chatter/README.md @@ -36,7 +36,7 @@ The sqlite database can be safely deleted at any time. Deletion will only erase # Installation -The installation is currently very tricky, and only tested on a Windows Machine. +The installation is currently very tricky on Windows. There are a number of reasons for this, but the main ones are as follows: * Using a dev version of chatterbot @@ -46,6 +46,8 @@ There are a number of reasons for this, but the main ones are as follows: * C++ Build tools are required on Windows for spaCy * Pandoc is required for something on windows, but I can't remember what +Linux is a bit easier, but only tested on Debian and Ubuntu. + ## Windows Prerequisites Install these on your windows machine before attempting the installation @@ -87,7 +89,25 @@ pip install --no-deps "chatterbot>=1.1" ### Linux - Manually -Linux installation has not currently been evaluated, but Ubuntu testing is planned. +#### Step 1: Built-in Downloader + +``` +[p]cog install Chatter +``` + +#### Step 2: Install Requirements + +In your console with your virtual environment activated: + +``` +pip install --no-deps "chatterbot>=1.1" +``` + +### Step 3: Load Chatter + +``` +[p]load chatter +``` # Configuration