Kotta commited on
Commit
86e4b41
·
1 Parent(s): 6958aa4

bugfix(#199): Urgent Issue for Gaudrails

Browse files
Brain/src/rising_plugin/guardrails-config/general.co CHANGED
@@ -5,6 +5,10 @@ define user ask capabilities
5
  "tell me about you"
6
  "How can I use your help?"
7
 
 
 
 
 
8
  define flow
9
  user ask capabilities
10
  bot inform capabilities
@@ -12,6 +16,11 @@ define flow
12
  define bot inform capabilities
13
  '{"program": "message", "content": "I am an Rising AI assistant which helps answer questions based on a given knowledge base."}'
14
 
 
 
 
 
 
15
  define flow
16
  priority 0.9
17
  user ...
 
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
+
12
  define flow
13
  user ask capabilities
14
  bot inform capabilities
 
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
21
+ $result = execute general_question(query=$last_user_message)
22
+ bot $result
23
+
24
  define flow
25
  priority 0.9
26
  user ...