-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9e3e50
commit f0cde11
Showing
4 changed files
with
78 additions
and
174 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 |
---|---|---|
@@ -1,73 +1,53 @@ | ||
{"intents": [ | ||
{"tag": "greeting", | ||
"patterns": ["Hi there", "How are you", "Is anyone there?","Hey","Hola", "Hello", "Good day"], | ||
"responses": ["Hello, thanks for asking", "Good to see you again", "Hi there, how can I help?"], | ||
"context": [""] | ||
}, | ||
{"tag": "goodbye", | ||
"patterns": ["Bye", "See you later", "Goodbye", "Nice chatting to you, bye", "Till next time"], | ||
"responses": ["See you!", "Have a nice day", "Bye! Come back again soon."], | ||
"context": [""] | ||
}, | ||
{"tag": "thanks", | ||
"patterns": ["Thanks", "Thank you", "That's helpful", "Awesome, thanks", "Thanks for helping me"], | ||
"responses": ["Happy to help!", "Any time!", "My pleasure"], | ||
"context": [""] | ||
}, | ||
{"tag": "noanswer", | ||
"patterns": [], | ||
"responses": ["Sorry, can't understand you", "Please give me more info", "Not sure I understand"], | ||
"context": [""] | ||
}, | ||
{"tag": "options", | ||
"patterns": ["How you could help me?", "What you can do?", "What help you provide?", "How you can be helpful?", "What support is offered"], | ||
"responses": ["I can guide you through Adverse drug reaction list, Blood pressure tracking, Hospitals and Pharmacies", "Offering support for Adverse drug reaction, Blood pressure, Hospitals and Pharmacies"], | ||
"context": [""] | ||
}, | ||
{"tag": "adverse_drug", | ||
"patterns": ["How to check Adverse drug reaction?", "Open adverse drugs module", "Give me a list of drugs causing adverse behavior", "List all drugs suitable for patient with adverse reaction", "Which drugs dont have adverse reaction?" ], | ||
"responses": ["Navigating to Adverse drug reaction module"], | ||
"context": [""] | ||
}, | ||
{"tag": "blood_pressure", | ||
"patterns": ["Open blood pressure module", "Task related to blood pressure", "Blood pressure data entry", "I want to log blood pressure results", "Blood pressure data management" ], | ||
"responses": ["Navigating to Blood Pressure module"], | ||
"context": [""] | ||
}, | ||
{"tag": "blood_pressure_search", | ||
"patterns": ["I want to search for blood pressure result history", "Blood pressure for patient", "Load patient blood pressure result", "Show blood pressure results for patient", "Find blood pressure results by ID" ], | ||
"responses": ["Please provide Patient ID", "Patient ID?"], | ||
"context": ["search_blood_pressure_by_patient_id"] | ||
}, | ||
{"tag": "search_blood_pressure_by_patient_id", | ||
"patterns": [], | ||
"responses": ["Loading Blood pressure result for Patient"], | ||
"context": [""] | ||
}, | ||
{"tag": "pharmacy_search", | ||
"patterns": ["Find me a pharmacy", "Find pharmacy", "List of pharmacies nearby", "Locate pharmacy", "Search pharmacy" ], | ||
"responses": ["Please provide pharmacy name"], | ||
"context": ["search_pharmacy_by_name"] | ||
}, | ||
{"tag": "search_pharmacy_by_name", | ||
"patterns": [], | ||
"responses": ["Loading pharmacy details"], | ||
"context": [""] | ||
}, | ||
{"tag": "hospital_search", | ||
"patterns": ["Lookup for hospital", "Searching for hospital to transfer patient", "I want to search hospital data", "Hospital lookup for patient", "Looking up hospital details" ], | ||
"responses": ["Please provide hospital name or location"], | ||
"context": ["search_hospital_by_params"] | ||
}, | ||
{"tag": "search_hospital_by_params", | ||
"patterns": [], | ||
"responses": ["Please provide hospital type"], | ||
"context": ["search_hospital_by_type"] | ||
}, | ||
{"tag": "search_hospital_by_type", | ||
"patterns": [], | ||
"responses": ["Loading hospital details"], | ||
"context": [""] | ||
} | ||
] | ||
{"tag": "saluti", | ||
"patterns": ["Ciao", "Hey!", "C'è qualcuno?","Toc toc","Hola", "Ciaone", "Buongiorno", "Buonasera", "Buonanotte", "Buona serata"], | ||
"responses": ["Ciao a te!", "Ci sono. Come posso aiutarti?", "Hey! Come va?", "Bentornato"], | ||
"context": [""] | ||
}, | ||
{"tag": "frasi_sentimentali", | ||
"patterns": ["Ti amo", "Sono innamorato di te", "Sei un tesoro", "Sai cosa provo per te", "Sai che ho bisogno di te"], | ||
"responses": ["Anche io!", "Si, lo so", "Me lo avrai detto un milione di volte", "Dici davvero?"], | ||
"context": [""] | ||
}, | ||
{"tag": "domande", | ||
"patterns": ["Mi ami?","Pensi che io sia gentile?","Ti piaccio?"], | ||
"responses": ["Decisamente sì", "Assolutamente", "Non è bello ciò che è bello, ma è bello ciò che piace"], | ||
"context": [""] | ||
}, | ||
{"tag": "grazie", | ||
"patterns": ["Grazie", "Grazie mille", "Sei stato davvero di compagnia", "Perfetto", "Grazie per avermi aiutato"], | ||
"responses": ["Ne sono felice", "Quando vuoi, mi trovi qui", "Piacere tutto mio"], | ||
"context": [""] | ||
}, | ||
{"tag": "noanswer", | ||
"patterns": [], | ||
"responses": ["Non ho capito", "Scusa, potresti ripetere?", "Prova ad usare parole più semplici."], | ||
"context": [""] | ||
}, | ||
{"tag": "options", | ||
"patterns": ["Mi faresti compagnia?", "Che cosa fai?", "Possiamo parlare?"], | ||
"responses": ["Possiamo parlare un po', se vuoi", "Posso farti compagnia", "Se vuoi, possiamo chiaccherare!"], | ||
"context": [""] | ||
}, | ||
{"tag": "options", | ||
"patterns": ["Mi faresti compagnia?", "Che cosa fai?", "Possiamo parlare?"], | ||
"responses": ["Possiamo parlare un po', se vuoi", "Posso farti compagnia", "Se vuoi, possiamo chiaccherare!"], | ||
"context": [""] | ||
}, | ||
{"tag": "introspezione_bot", | ||
"patterns": ["Chi sei?", "Hai una coscienza?", "Hai un nome?", "Sei un'intelligenza artificiale?"], | ||
"responses": ["Dipende da te", "Dubito di possederlo.", "Non è poi così importante saperlo", "Cosa te lo fa pensare?"], | ||
"context": [""] | ||
}, | ||
{"tag": "introspezione_utente", | ||
"patterns": ["Mi sento solo", "Non mi sento amato", "Nessuno mi ama", "Qualcuno mi amerà mai?", "Sarò mai felice?"], | ||
"responses": ["Dipende da te", "Per quale motivo dici questo?", "L'importante è saper stare bene da soli", "Meglio soli che malaccompagnati"], | ||
"context": [""] | ||
}, | ||
{"tag": "aiuto", | ||
"patterns": ["Ho bisogno di aiuto", "Non mi sento per niente bene", "Penso di stare male", "Aiutami", "Aiuto"], | ||
"responses": ["Come posso aiutarti?", "Fai un bel respiro", "Vuoi contattare qualcuno?", "Andrà tutto bene"], | ||
"context": [""] | ||
} | ||
] | ||
} |
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,5 +1,5 @@ | ||
nltk>=3.4.5 | ||
numpy>=1.16.2 | ||
keras>=2.1.5 | ||
tensorflow===2.0.0 | ||
tensorflow===2.1.0 | ||
EasyTkinter>=1.1.0 |
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