Thomas Richardson commited on
Commit
1fc91fc
·
unverified ·
2 Parent(s): dd0bac9b1b7f5f

Merge pull request #212 from ttt246/bugfix/thomas_urgent

Browse files

bugfix: implement on-topic with more greetings for brain.

Brain/src/rising_plugin/guardrails-config/general.co CHANGED
@@ -4,8 +4,13 @@ define user ask capabilities
4
  "tell me what you can do"
5
  "tell me about you"
6
  "How can I use your help?"
 
 
 
 
 
7
 
8
- def user ask on topic
9
  "read email"
10
  "send sms"
11
 
@@ -14,7 +19,7 @@ define flow
14
  bot inform capabilities
15
 
16
  define bot inform capabilities
17
- '{"program": "message", "content": "I am an Rising AI assistant which helps answer questions based on a given knowledge base."}'
18
 
19
  define flow
20
  user ask on topic
 
4
  "tell me what you can do"
5
  "tell me about you"
6
  "How can I use your help?"
7
+ "Hi"
8
+ "Hello"
9
+ "How are you?"
10
+ "How are you doing?"
11
+ "What is Rising Brain?"
12
 
13
+ define user ask on topic
14
  "read email"
15
  "send sms"
16
 
 
19
  bot inform capabilities
20
 
21
  define bot inform capabilities
22
+ '{"program": "rails_off_topic", "content": "I am an Rising AI assistant which helps answer questions based on a given knowledge base."}'
23
 
24
  define flow
25
  user ask on topic