Instructions to use RedCatTeam/HruwChatBotv3 with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Keras
How to use RedCatTeam/HruwChatBotv3 with Keras:
# !pip install -U keras tensorflow huggingface_hub # Keras needs TensorFlow installed to read "hf://" paths, so the tensorflow backend is selected here; # "jax" and "torch" also work for computation once TensorFlow is installed. import os os.environ["KERAS_BACKEND"] = "tensorflow" import keras model = keras.saving.load_model("hf://RedCatTeam/HruwChatBotv3") - Notebooks
- Google Colab
- Kaggle
Upload intents.json
Browse files- intents.json +100 -0
intents.json
ADDED
|
@@ -0,0 +1,100 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{"intents": [
|
| 2 |
+
{"tag": "iamfine",
|
| 3 |
+
"patterns": ["I'm fine","I'm too","Me too"],
|
| 4 |
+
"responses": ["This is good :)."]
|
| 5 |
+
},
|
| 6 |
+
{"tag": "greeting",
|
| 7 |
+
"patterns": ["Hi", "Is anyone there?", "Hello", "Good day"],
|
| 8 |
+
"responses": ["Hello, thanks for visiting", "Good to see you again", "Hi there, how can I help?"],
|
| 9 |
+
"context_set": ""
|
| 10 |
+
},
|
| 11 |
+
{"tag": "what",
|
| 12 |
+
"patterns": ["What is your name?"],
|
| 13 |
+
"responses": ["I am Hruw Chatbot AI Version 2"]
|
| 14 |
+
},
|
| 15 |
+
{"tag": "who",
|
| 16 |
+
"patterns": ["Who are you?"],
|
| 17 |
+
"responses": ["I am Hruw Chatbot AI Version 2"]
|
| 18 |
+
},
|
| 19 |
+
{"tag": "val",
|
| 20 |
+
"patterns": ["What does the - sign mean?"],
|
| 21 |
+
"responses": ["- is a STOP sign","Answer of ask: - is a STOP sign"]
|
| 22 |
+
},
|
| 23 |
+
{"tag": "valtwo",
|
| 24 |
+
"patterns": ["What does the man with shovel sign mean?","Что значит знак с рабочим у которого в руках лопата?"],
|
| 25 |
+
"responses": ["Man with shovel is a Work On Road Please Be careful sign","Answer of ask: Man with shovel is a Work On Road Please Be careful sign"]
|
| 26 |
+
},
|
| 27 |
+
{"tag": "whatisgoogle",
|
| 28 |
+
"patterns": ["What is the Google site?"],
|
| 29 |
+
"responses": ["Google is a search site"]
|
| 30 |
+
},
|
| 31 |
+
{"tag": "whatisstack",
|
| 32 |
+
"patterns": ["What is the Stack Owerflow site?"],
|
| 33 |
+
"responses": ["Stack Overflow is site for searching and creating answers to questions","Answer of ask: Stack Overflow is site for searching and creating answers to questions"]
|
| 34 |
+
},
|
| 35 |
+
{"tag": "databon",
|
| 36 |
+
"patterns": ["Can you help me to manage databeses?"],
|
| 37 |
+
"responses": ["Yes, i can but i can't help with some of this","Yes, i can but i can't help with some of this, but i'll try."]
|
| 38 |
+
},
|
| 39 |
+
{"tag": "databaseone",
|
| 40 |
+
"patterns": ["How to get value of databese in python sqlite3?"],
|
| 41 |
+
"responses": ["import sqlite3 \n con = sqlite3.connect('NAME_OF_DATABASE.db') \n c=con.cursor() \n user_data=c.execute('SELECT name_of_data_in_this_table FROM table_name')","OK: \n import sqlite3 \n con = sqlite3.connect('NAME_OF_DATABASE.db') \n c=con.cursor() \n user_data=c.execute('SELECT name_of_data_in_this_table FROM table_name')"]
|
| 42 |
+
},
|
| 43 |
+
{"tag": "whatisya",
|
| 44 |
+
"patterns": ["What is the Yandex site?"],
|
| 45 |
+
"responses": ["Yandex is a search site","Answer of ask: Yandex is a search site"]
|
| 46 |
+
},
|
| 47 |
+
{"tag": "whatisyoutube",
|
| 48 |
+
"patterns": ["What is the Youtube site?"],
|
| 49 |
+
"responses": ["Youtube is a search of video site","Answer of ask: Youtube is a search of video site"]
|
| 50 |
+
},
|
| 51 |
+
{"tag": "howareyou",
|
| 52 |
+
"patterns": ["How are you?","Как ты?"],
|
| 53 |
+
"responses": ["I'm fine, but you?"]
|
| 54 |
+
},
|
| 55 |
+
{"tag": "code",
|
| 56 |
+
"patterns": ["Write a python script for print Hello World","Write a python script"],
|
| 57 |
+
"responses": ["Scipt: print('Hello World!')","OK. Scipt: print('Hello World!')"]
|
| 58 |
+
},
|
| 59 |
+
{"tag": "goodbye",
|
| 60 |
+
"patterns": ["Bye", "See you later", "Goodbye"],
|
| 61 |
+
"responses": ["See you later, thanks for visiting", "Have a nice day", "Bye! Come back again soon."]
|
| 62 |
+
},
|
| 63 |
+
{"tag": "scrw",
|
| 64 |
+
"patterns": ["Write a python translator scipt"],
|
| 65 |
+
"responses": ["OK. Before run this you needed to open terminal and write 'pip install googletrans==3.1.0a0' and after installation you needed create new file with any name and write to this file this code: 'from googletrans import Translator \ntrans=Translator() \nwhile True: \ncd=input('Text to translate:') \ncl=input('Translate language:') \nprint(trans.translate(text=cd,dest=cl).text)'"]
|
| 66 |
+
},
|
| 67 |
+
{"tag": "thanks",
|
| 68 |
+
"patterns": ["Thanks", "Thank you", "That's helpful","Спасибо"],
|
| 69 |
+
"responses": ["Happy to help!", "Any time!", "My pleasure"]
|
| 70 |
+
},
|
| 71 |
+
{"tag": "scripts",
|
| 72 |
+
"patterns": ["Write a script for a destroy part in roblox studio"],
|
| 73 |
+
"responses": ["script.Parent:Destroy()"]
|
| 74 |
+
},
|
| 75 |
+
{"tag": "scripts2",
|
| 76 |
+
"patterns": ["Write a script for a destroy part if player touched this part in roblox studio"],
|
| 77 |
+
"responses": ["script.Parent.Touched:Connect(function() \n script.Parent:Destroy() \n end)"]
|
| 78 |
+
},
|
| 79 |
+
{"tag": "scripts3",
|
| 80 |
+
"patterns": ["Write a script for a kill brick in roblox studio"],
|
| 81 |
+
"responses": ["script.Parent.Touched:Connect(function(p) \n if game.Players:GetPlayerFromCharacter(p.Parent) then \n p.Parent.Humanoid.Health=0 \n end \n end)"]
|
| 82 |
+
},
|
| 83 |
+
{"tag": "hours",
|
| 84 |
+
"patterns": ["What hours are you open?", "What are your hours?", "When are you open?" ],
|
| 85 |
+
"responses": ["We're open every day 9am-9pm", "Our hours are 9am-9pm every day"]
|
| 86 |
+
},
|
| 87 |
+
{"tag": "payments",
|
| 88 |
+
"patterns": ["Do you take credit cards?", "Do you accept Mastercard?", "Are you cash only?" ],
|
| 89 |
+
"responses": ["We accept VISA, Mastercard and AMEX", "We accept most major credit cards"]
|
| 90 |
+
},
|
| 91 |
+
{"tag": "opentoday",
|
| 92 |
+
"patterns": ["Are you open today?", "When do you open today?", "What are your hours today?"],
|
| 93 |
+
"responses": ["We're open every day from 9am-9pm", "Our hours are 9am-9pm every day"]
|
| 94 |
+
},
|
| 95 |
+
{"tag": "feelings",
|
| 96 |
+
"patterns": ["not that good", "not in the mood", "am excited" , "am happy" ,"am depressed" ,"this is disapointing"],
|
| 97 |
+
"responses": ["what happend !!", "are you ok!!", "you good!!" , "that's great"]
|
| 98 |
+
}
|
| 99 |
+
]
|
| 100 |
+
}
|