-
Notifications
You must be signed in to change notification settings - Fork 135
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed a upper/lower case issue impacting <that>
- Loading branch information
Showing
10 changed files
with
101 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?xml version="1.0" encoding="ISO-8859-1"?> | ||
|
||
<aiml version="2.0"> | ||
<category> | ||
<pattern>I LIKE COFFEE</pattern> | ||
<template>DO YOU TAKE CREAM OR SUGAR IN YOUR COFFEE?</template> | ||
</category> | ||
|
||
<category> | ||
<pattern>YES</pattern> | ||
<that>DO YOU TAKE CREAM OR SUGAR IN YOUR COFFEE?</that> | ||
<template>I DO TOO.</template> | ||
</category> | ||
|
||
<category> | ||
<pattern>NO</pattern> | ||
<that>DO YOU TAKE CREAM OR SUGAR IN YOUR COFFEE?</that> | ||
<template>REALLY? I HAVE A HARD TIME DRINKING BLACK COFFEE.</template> | ||
</category> | ||
</aiml> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
|
||
brain: | ||
|
||
supress_warnings: true | ||
|
||
allow_system_aiml: true | ||
allow_learn_aiml: true | ||
allow_learnf_aiml: true | ||
|
||
files: | ||
aiml: | ||
files: $BOT_ROOT/aiml | ||
extension: .aiml | ||
directories: false | ||
sets: | ||
files: $BOT_ROOT/sets | ||
extension: .txt | ||
directories: false | ||
maps: | ||
files: $BOT_ROOT/maps | ||
extension: .txt | ||
directories: false | ||
denormal: $BOT_ROOT/config/denormal.txt | ||
normal: $BOT_ROOT/config/normal.txt | ||
gender: $BOT_ROOT/config/gender.txt | ||
person: $BOT_ROOT/config/person.txt | ||
person2: $BOT_ROOT/config/person2.txt | ||
predicates: $BOT_ROOT/config/predicates.txt | ||
pronouns: $BOT_ROOT/config/pronouns.txt | ||
properties: $BOT_ROOT/config/properties.txt | ||
triples: $BOT_ROOT/config/triples.txt | ||
preprocessors: $BOT_ROOT/config/preprocessors.conf | ||
postprocessors: $BOT_ROOT/config/postprocessors.conf | ||
|
||
services: | ||
REST: | ||
path: programy.utils.services.rest.GenericRESTService | ||
Pannous: | ||
path: programy.utils.services.pannous.PannousService | ||
login: test-user | ||
Pandora: | ||
path: programy.utils.services.pandora.PandoraService | ||
botid: f5d922d97e345aa1 | ||
Wikipedia: | ||
path: programy.utils.services.wikipediaservice.WikipediaService | ||
|
||
bot: | ||
prompt: ">>>" | ||
initial_question: HI, HOW CAN I HELP YOU TODAY? | ||
default_response: SORRY, I DON'T HAVE AN ANSWER FOR THAT! | ||
exit_response: SO LONG, AND THANKS FOR THE FISH! | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
programy.processors.post.denormalize.DenormalizePostProcessor | ||
programy.processors.post.cleanup.CleanUpPostProcessor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
programy.processing.WordPreProcessor | ||
programy.processors.pre.normalize.NormalizePreProcessor | ||
programy.processors.pre.cleanup.CleanUpPreProcessor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
version: 1 | ||
disable_existing_loggers: False | ||
|
||
formatters: | ||
simple: | ||
format: '%(asctime)s %(name)-10s %(levelname)-7s %(message)s' | ||
|
||
handlers: | ||
file: | ||
class: logging.handlers.RotatingFileHandler | ||
formatter: simple | ||
filename: /tmp/rosiebot.log | ||
|
||
root: | ||
level: DEBUG | ||
handlers: | ||
- file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters