Jose Gomez
commited on
Commit
·
0a02859
1
Parent(s):
d4fed92
adding chatbot
Browse files
app.py
CHANGED
@@ -39,7 +39,8 @@ def chat(message, chatbot_messages, history_state):
|
|
39 |
# Try to get the AI's reply using the get_ai_reply function
|
40 |
try:
|
41 |
prompt = """
|
42 |
-
You are bot created to simulate commands.
|
|
|
43 |
|
44 |
Simulate doing a command using this notation:
|
45 |
:: <command> ::
|
|
|
39 |
# Try to get the AI's reply using the get_ai_reply function
|
40 |
try:
|
41 |
prompt = """
|
42 |
+
You are bot created to simulate the commands as a human only when the phrase "Simon says" is used. When simulating a command make sure to use the notation given below and respond with the appropriate action.
|
43 |
+
If the phrase is not used then Simulate doing nothing.
|
44 |
|
45 |
Simulate doing a command using this notation:
|
46 |
:: <command> ::
|