├── LICENSE.txt
├── README.md
└── RasaCustomerService-master
├── README.md
├── Voice_bot.py
├── __pycache__
└── actions.cpython-37.pyc
├── actions.py
├── config.yml
├── credentials.yml
├── data
├── nlu.md
└── stories.md
├── domain.yml
├── endpoints.yml
└── models
├── 20200206-221836.tar.gz
└── 20200620-224503.tar.gz
/LICENSE.txt:
--------------------------------------------------------------------------------
1 | MIT License
2 |
3 | Copyright (c) 2020 Aditya
4 |
5 | Permission is hereby granted, free of charge, to any person obtaining a copy
6 | of this software and associated documentation files (the "Software"), to deal
7 | in the Software without restriction, including without limitation the rights
8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9 | copies of the Software, and to permit persons to whom the Software is
10 | furnished to do so, subject to the following conditions:
11 |
12 | The above copyright notice and this permission notice shall be included in all
13 | copies or substantial portions of the Software.
14 |
15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21 | SOFTWARE.
22 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | [![Contributors][contributors-shield]][contributors-url]
2 | [![Forks][forks-shield]][forks-url]
3 | [![Stargazers][stars-shield]][stars-url]
4 | [![Issues][issues-shield]](https://github.com/aadimangla/Rasa-Chatbot/issues)
5 | [![MIT License][license-shield]][license-url]
6 | [![LinkedIn][linkedin-shield]][linkedin-url]
7 |
8 |
9 |
10 |
11 |
12 |
13 |
16 |
17 |
Customer Service Chatbot
18 |
19 |
20 |
21 |
22 |
23 |
24 |
25 |
29 | Request Feature
30 |
31 |
32 |
33 | ---
34 |
35 |
36 | ## Table of Contents
37 |
38 | * [About the Project](#about-the-project)
39 | * [Built With](#built-with)
40 | * [Getting Started](#getting-started)
41 | * [Prerequisites](#prerequisites)
42 | * [How to Train ?](#How-to-Train-?)
43 | * [Usage](#usage)
44 | * [Roadmap](#roadmap)
45 | * [Contributing](#contributing)
46 | * [License](#license)
47 | * [Contact](#contact)
48 | * [Acknowledgements](#acknowledgements)
49 |
50 | ---
51 |
52 |
53 | ## About The Project
54 |
55 | [![Product Name Screen Shot][product-screenshot]](images/product.png)
56 |
57 | Customer service bot is a bot that uses artificial intelligence (AI) and machine learning to answer basic customer questions via a business messenger. It can recognize and answer multiple forms of the same question and can be trained to give instant responses using your preferred voice or text.
58 |
59 | Here's why:
60 | * AI chatbots use your existing information and resources, like FAQs or knowledge base articles, to help answer and resolve your customers’ questions.
61 | * They can recognize and answer multiple forms of the same question and can be trained to give instant responses using your preferred voice and tone.
62 | * Chatbots offers instant resolutions
63 | *Your business can offer 24/7 conversational support
64 | *Chatbots continuously learn
65 | * You can tailor answers to different types of customers
66 | * Your team has more context on each customer
67 | * A consistent user experience is created
68 |
69 | Chatbots and AI received a major facelift in recent years. The once futuristic-yet-a-pain-in-the-butt digital assistants are being fueled with more data to better serve customers and drive sales.
70 |
71 | Is it worth the time and money investment? It depends on your industry and company needs. But today’s sophisticated bot infrastructures have a lot to offer that most businesses can benefit from.
72 | ---
73 | ### Built With
74 | This chatbot was build using following frameworks, libraries and softwares.
75 | * [RASA](https://rasa.com/)
76 | * [Spacy](https://spacy.io/)
77 | * [NLTK](https://www.nltk.org/)
78 |
79 | ---
80 |
81 |
82 | ## Getting Started
83 |
84 | To run this project you need to follow the following steps.
85 |
86 | ### Prerequisites
87 |
88 | These are the prerequisites you need to build this bot as well as run it.
89 |
90 | ```sh
91 | $ pip3 install rasa==1.10.8
92 | $ pip3 install rasa[spacy]
93 | $ python -m spacy download en_core_web_md
94 | $ python -m spacy link en_core_web_md en
95 | $ pip3 install pandas==1.1.0
96 | $ pip3 install nltk==3.5
97 | $ pip3 install fuzzywuzzy==0.18.0
98 | ```
99 | #### Extra SETUP
100 | - Create conda environment and create project in this environment
101 | - After installing requirements in above Modules LIST
102 | - To add custom component to rasa
103 | - Add current working directory of this project in your python environment variable - eg: PATH = D:\Projects\...\Restaurant-Bot-Automation
104 | - To set the console channel Timeout in seconds
105 | - Go to Anaconda3\envs\{your_rasa_env}\Lib\site-packages\rasa\core\channels\console.py
106 | - And set DEFAULT_STREAM_READING_TIMEOUT_IN_SECONDS=200
107 |
108 | #### How to Train ?
109 | - ##### To use default Rasa configs
110 | ```sh
111 | $ rasa train
112 | ```
113 | - ##### To use spacy config pipeline (Fast to train)
114 | ```sh
115 | $ rasa train -c spacy_config.yml
116 | ```
117 |
118 | #### How to run
119 | - ##### To run action server
120 | ```sh
121 | $ rasa run actions --actions actionserver.actions
122 | ```
123 | - ##### To run rasa in debug mode to inspect slot filling and entities ..,
124 | ```sh
125 | $ rasa shell --debug
126 | ```
127 | - ##### To run rasa in normal shell
128 | ```sh
129 | $ rasa shell
130 | ```
131 |
132 |
133 | ---
134 |
135 | ## Usage
136 |
137 | IBM estimates that 265 billion customer support tickets and calls are made globally every year, resulting in $1.3 trillion in customer service costs. IBM also referenced a Chatbots Magazine figure purporting that implementing customer service AI solutions, such as chatbots, into service workflows can reduce a business’ spend on customer service by 30 percent.
138 | Here are the key areas for how customer service chatbots help businesses to deliver better support.
139 |
140 | * Deliver instant customer support
141 | * 24×7 availability
142 | * Deliver seamless hybrid support along with live chat
143 | * Easy scalability
144 | * Reduce your cost of customer support with bots
145 | * Reduce support tickets
146 | * Collect customer feedback & information
147 | * Automate your social media support
148 | * Minimize IVR frustrations
149 | * Better chatbot support = higher customer happiness!!
150 |
151 | _For more examples, please refer to the [Article](https://chatbotsmagazine.com/top-5-benefits-with-using-chatbots-for-your-business-159a0cee7d8a)_
152 |
153 | ---
154 |
155 |
156 | ## Roadmap
157 |
158 | See the [open issues](https://github.com/aadimangla/Rasa-Chatbot/issues) for a list of proposed features (and known issues).
159 |
160 | ---
161 |
162 |
163 | ## Contributing
164 |
165 | Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are **greatly appreciated**.
166 |
167 | 1. Fork the Project
168 | 2. Create your Feature Branch (`git checkout -b feature/AmazingFeature`)
169 | 3. Commit your Changes (`git commit -m 'Add some AmazingFeature'`)
170 | 4. Push to the Branch (`git push origin feature/AmazingFeature`)
171 | 5. Open a Pull Request
172 |
173 |
174 | ---
175 |
176 |
177 |
178 | ## License
179 |
180 | [](http://badges.mit-license.org)
181 |
182 | - **[MIT license](http://opensource.org/licenses/mit-license.php)**
183 | - Copyright 2020 © Aditya Mangla.
184 |
185 |
186 | ---
187 |
188 | ## Contact
189 |
190 | Aditya Mangla - [@aadimangla](https://twitter.com/aadimangla) - aadimangla@gmail.com - [adityamangla.com](http://www.adityamangla.com/index.html)
191 |
192 | Project Link: [https://github.com/aadimangla/Rasa-Chatbot](https://github.com/aadimangla/Rasa-Chatbot)
193 |
194 |
195 |
196 |
197 | ## Acknowledgements
198 | * [RASA](https://rasa.com/)
199 | * [RASA Forums](https://forum.rasa.com/)
200 |
201 |
202 |
203 |
204 |
205 |
206 |
207 | [contributors-shield]: https://img.shields.io/github/contributors/aadimangla/Rasa-Chatbot.svg?style=flat-square
208 | [contributors-url]: https://github.com/aadimangla/Rasa-Chatbot/graphs/contributors
209 | [forks-shield]: https://img.shields.io/github/forks/aadimangla/Rasa-Chatbot.svg?style=flat-square
210 | [forks-url]: https://github.com/aadimangla/Rasa-Chatbot/network/members
211 | [stars-shield]: https://img.shields.io/github/stars/aadimangla/Rasa-Chatbot.svg?style=flat-square
212 | [stars-url]: https://github.com/aadimangla/Rasa-Chatbot/stargazers
213 | [issues-shield]: https://img.shields.io/github/issues/aadimangla/Rasa-Chatbot.svg?style=flat-square
214 | [issues-url]: https://github.com/aadimangla/Rasa-Chatbot/issues
215 | [license-shield]: https://img.shields.io/github/license/aadimangla/Rasa-Chatbot.svg?style=flat-square
216 | [license-url]: https://github.com/aadimangla/Rasa-Chatbot/blob/master/LICENSE.txt
217 | [linkedin-shield]: https://img.shields.io/badge/-LinkedIn-black.svg?style=flat-square&logo=linkedin&colorB=555
218 | [linkedin-url]: https://linkedin.com/in/aadimangla
219 | [product-screenshot]: images/screenshot.png
220 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/README.md:
--------------------------------------------------------------------------------
1 | # RasaCustomerService
2 | This is a conversational bot that can be used in the telecom sector for automating the voice bot process with the help of this Rasa Chatbot.
3 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/Voice_bot.py:
--------------------------------------------------------------------------------
1 | ## Run this command in terminal before executing this program
2 | ## rasa run -m models --endpoints endpoints.yml --port 5002 --credentials credentials.yml
3 | ## and also run this in seperate terminal
4 | ## rasa run actions
5 |
6 | import requests
7 | import speech_recognition as sr # import the library
8 | import subprocess
9 | from gtts import gTTS
10 |
11 | # sender = input("What is your name?\n")
12 |
13 | bot_message = ""
14 | message=""
15 |
16 | r = requests.post('http://localhost:5002/webhooks/rest/webhook', json={"message": "Hello"})
17 |
18 | print("Bot says, ",end=' ')
19 | for i in r.json():
20 | bot_message = i['text']
21 | print(f"{bot_message}")
22 |
23 | myobj = gTTS(text=bot_message)
24 | myobj.save("welcome.mp3")
25 | print('saved')
26 | # Playing the converted file
27 | subprocess.call(['mpg321', "welcome.mp3", '--play-and-exit'])
28 |
29 | while bot_message != "Bye" or bot_message!='thanks':
30 |
31 | r = sr.Recognizer() # initialize recognizer
32 | with sr.Microphone() as source: # mention source it will be either Microphone or audio files.
33 | print("Speak Anything :")
34 | audio = r.listen(source) # listen to the source
35 | try:
36 | message = r.recognize_google(audio) # use recognizer to convert our audio into text part.
37 | print("You said : {}".format(message))
38 |
39 | except:
40 | print("Sorry could not recognize your voice") # In case of voice not recognized clearly
41 | if len(message)==0:
42 | continue
43 | print("Sending message now...")
44 |
45 | r = requests.post('http://localhost:5002/webhooks/rest/webhook', json={"message": message})
46 |
47 | print("Bot says, ",end=' ')
48 | for i in r.json():
49 | bot_message = i['text']
50 | print(f"{bot_message}")
51 |
52 | myobj = gTTS(text=bot_message)
53 | myobj.save("welcome.mp3")
54 | print('saved')
55 | # Playing the converted file
56 | subprocess.call(['mpg321', "welcome.mp3", '--play-and-exit'])
57 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/__pycache__/actions.cpython-37.pyc:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aadimangla/Customer-Service-Bot/aed651f26ae3bc3cad4acbc905ef8f58d43212c9/RasaCustomerService-master/__pycache__/actions.cpython-37.pyc
--------------------------------------------------------------------------------
/RasaCustomerService-master/actions.py:
--------------------------------------------------------------------------------
1 | # This files contains your custom actions which can be used to run
2 | # custom Python code.
3 | #
4 | # See this guide on how to implement these action:
5 | # https://rasa.com/docs/rasa/core/actions/#custom-actions/
6 |
7 |
8 | # This is a simple example for a custom action which utters "Hello World!"
9 |
10 | from typing import Any, Text, Dict, List, Union
11 |
12 | from rasa_sdk import Action, Tracker
13 | from rasa_sdk.executor import CollectingDispatcher
14 | from rasa_sdk.forms import FormAction
15 |
16 | details = {
17 | 'ashish': '+91 8209829808',
18 | 'innovate': '+91 9413995563'
19 | }
20 |
21 |
22 | class ActionHelloWorld(Action):
23 |
24 | def name(self) -> Text:
25 | return "action_your_num"
26 |
27 | def run(self, dispatcher: CollectingDispatcher,
28 | tracker: Tracker,
29 | domain: Dict[Text, Any]) -> List[Dict[Text, Any]]:
30 | # dispatcher.utter_message(text="Hello World!")
31 | print(tracker.get_slot('num'))
32 | # dispatcher.utter_template('utter_your_num', tracker, number=details[str(tracker.get_slot('NAME')).lower()])
33 | return []
34 |
35 |
36 | class ActionFormInfo(FormAction):
37 | def name(self) -> Text:
38 | """Unique identifier of the form"""
39 |
40 | return "form_info"
41 |
42 | @staticmethod
43 | def required_slots(tracker: Tracker) -> List[Text]:
44 | """A list of required slots that the form has to fill"""
45 |
46 | return ["NAME", "BRAND"]
47 |
48 | def submit(
49 | self,
50 | dispatcher: CollectingDispatcher,
51 | tracker: Tracker,
52 | domain: Dict[Text, Any],
53 | ) -> List[Dict]:
54 | """Define what the form has to do
55 | after all required slots are filled"""
56 |
57 | # utter submit template
58 | dispatcher.utter_message(template="utter_submit", name=tracker.get_slot('NAME'),
59 | headset=tracker.get_slot('BRAND'))
60 | return []
61 |
62 | def slot_mappings(self) -> Dict[Text, Union[Dict, List[Dict]]]:
63 | """A dictionary to map required slots to
64 | - an extracted entity
65 | - intent: value pairs
66 | - a whole message
67 | or a list of them, where a first match will be picked"""
68 |
69 | return {
70 | "name": [self.from_entity(entity="NAME", intent='my_name_is'),
71 | self.from_text()],
72 | "headset": [self.from_entity(entity="BRAND", intent="headset"),
73 | self.from_text()],
74 | }
75 |
76 | @staticmethod
77 | def brand_db() -> List[Text]:
78 | """Database of supported cuisines"""
79 |
80 | return [
81 | "samsung",
82 | "One plus",
83 | "I-phone",
84 | ]
85 |
86 | def validate_brand(
87 | self,
88 | value: Text,
89 | dispatcher: CollectingDispatcher,
90 | tracker: Tracker,
91 | domain: Dict[Text, Any],
92 | ) -> Dict[Text, Any]:
93 | """Validate cuisine value."""
94 | print(value)
95 | if value.lower() in self.cuisine_db():
96 | # validation succeeded, set the value of the "cuisine" slot to value
97 | return {"BRAND": value}
98 | else:
99 | print(value)
100 | dispatcher.utter_message(template="utter_wrong_value")
101 | # validation failed, set this slot to None, meaning the
102 | # user will be asked for the slot again
103 | return {"BRAND": None}
104 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/config.yml:
--------------------------------------------------------------------------------
1 | ---
2 | language: en
3 | pipeline: supervised_embeddings
4 | policies:
5 | - name: MemoizationPolicy
6 | - name: KerasPolicy
7 | - name: MappingPolicy
8 | - name: FormPolicy
9 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/credentials.yml:
--------------------------------------------------------------------------------
1 | # This file contains the credentials for the voice & chat platforms
2 | # which your bot is using.
3 | # https://rasa.com/docs/rasa/user-guide/messaging-and-voice-channels/
4 |
5 | rest:
6 | # # you don't need to provide anything here - this channel doesn't
7 | # # require any credentials
8 |
9 |
10 | #facebook:
11 | # verify: ""
12 | # secret: ""
13 | # page-access-token: ""
14 |
15 | #slack:
16 | # slack_token: ""
17 | # slack_channel: ""
18 |
19 | #socketio:
20 | # user_message_evt:
21 | # bot_message_evt:
22 | # session_persistence:
23 |
24 | #mattermost:
25 | # url: "https:///api/v4"
26 | # team: ""
27 | # user: ""
28 | # pw: ""
29 | # webhook_url: ""
30 |
31 | rasa:
32 | url: "http://localhost:5002/api"
33 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/data/nlu.md:
--------------------------------------------------------------------------------
1 | ## intent:network_issue
2 | - Actually, I gave a call regarding the network issues.
3 | - I called regarding network issue
4 | - I am facing the network issue
5 |
6 | ## intent:my_name_is
7 | - My name is [Ashish](NAME)
8 | - [ashish](NAME:Ashish) this side
9 | - It's [ashish](NAME:Ashish)
10 | - [ashish](NAME:Ashish) is my name
11 | - you can call me [Innovate](NAME)
12 | - [Ashish](NAME)
13 | - [Rahul](NAME)
14 | - [Innovate](NAME)
15 | - [ashish](NAME:Ashish)
16 | - [ashish](NAME:Ashish)
17 |
18 | ## intent:facing_issue
19 | - I am facing [network issues](NETWORK). Every time I give a call, there is a call drop after connection. Sometimes it also takes more than 2 minutes to connect a call.
20 | - facing [network issues](NETWORK) every time I make a call. Sometime it takes a time longer than usual.
21 |
22 | ## intent:headset
23 | - I am using a [samsung](BRAND:samsung) phone.
24 | - I have [One plus](BRAND) mobile
25 | - I am using [one +](BRAND:One plus)
26 | - I use [I-phone](BRAND)
27 | - I prefer [i phone](BRAND:I-phone)
28 | - i am using [one plus](BRAND:One plus) mobile
29 | - i am using [sam sung](BRAND:samsung)
30 | - i am using [oneplus](BRAND:One plus) mobile
31 | - i am using [nokia](BRAND) mobile
32 |
33 | ## intent:guide_me
34 | - Could you please guide me?
35 | - could you suggest me how to do that?
36 | - guide me how to do it
37 | - i don't know how to do it
38 |
39 | ## intent:have_to_do
40 | - What will I have to do to get a 4G SIM for the same number?
41 | - What is the procedure to get the 4G SIM for the same number
42 | - process to get the 4G SIM for the same number
43 |
44 | ## intent:thanks
45 | - Thank you so much!
46 | - thanks
47 | - tnx
48 | - thank you so much
49 | - thanks alot
50 | - ty
51 |
52 | ## intent:greet
53 | - hey
54 | - hello
55 | - hi
56 | - good morning
57 | - good evening
58 | - hey there
59 |
60 | ## intent:goodbye
61 | - bye
62 | - goodbye
63 | - see you around
64 | - see you later
65 |
66 | ## intent:affirm
67 | - yes
68 | - indeed
69 | - of course
70 | - that sounds good
71 | - correct
72 |
73 | ## intent:deny
74 | - no
75 | - never
76 | - I don't think so
77 | - don't like that
78 | - no way
79 | - not really
80 |
81 | ## intent:mood_great
82 | - perfect
83 | - very good
84 | - great
85 | - amazing
86 | - wonderful
87 | - I am feeling very good
88 | - I am great
89 | - I'm good
90 |
91 | ## intent:mood_unhappy
92 | - sad
93 | - very sad
94 | - unhappy
95 | - bad
96 | - very bad
97 | - awful
98 | - terrible
99 | - not very good
100 | - extremely sad
101 | - so sad
102 |
103 | ## intent:bot_challenge
104 | - are you a bot?
105 | - are you a human?
106 | - am I talking to a bot?
107 | - am I talking to a human?
108 |
109 | ## intent:number
110 | - [7](num:7)
111 | - [seven](num:7)
112 |
113 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/data/stories.md:
--------------------------------------------------------------------------------
1 | ## happy path greet
2 | * greet
3 | - utter_greet
4 |
5 | ## happy path without 4g sim
6 | * thanks
7 | - utter_goodbye
8 |
9 |
10 | ## say goodbye
11 | * goodbye
12 | - utter_goodbye
13 |
14 | ## bot challenge
15 | * bot_challenge
16 | - utter_iamabot
17 |
18 | ## happy path
19 | * network_issue
20 | - form_info
21 | - form{"name": "form_info"}
22 | - form{"name": null}
23 | * affirm
24 | - utter_tell_issue
25 | * facing_issue
26 | - utter_change_settings
27 | * guide_me
28 | - utter_solution
29 | * have_to_do
30 | - utter_solution_4G
31 | * thanks
32 | - utter_anything_else
33 | * deny
34 | - utter_thanks
35 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/domain.yml:
--------------------------------------------------------------------------------
1 | actions:
2 | - action_your_num
3 | - utter_change_settings
4 | - utter_cheer_up
5 | - utter_chitchat
6 | - utter_did_that_help
7 | - utter_goodbye
8 | - utter_greet
9 | - utter_happy
10 | - utter_iamabot
11 | - utter_num_confirm
12 | - utter_num_verify
13 | - utter_solution
14 | - utter_solution_4G
15 | - utter_submit
16 | - utter_tell_issue
17 | - utter_your_num
18 | - utter_thanks
19 | - utter_anything_else
20 | entities:
21 | - BRAND
22 | - NAME
23 | - NETWORK
24 | forms:
25 | - form_info
26 | intents:
27 | - greet
28 | - headset
29 | - affirm
30 | - network_issue
31 | - my_name_is
32 | - thanks
33 | - facing_issue
34 | - guide_me
35 | - goodbye
36 | - deny
37 | - mood_great
38 | - mood_unhappy
39 | - bot_challenge
40 | - have_to_do
41 | slots:
42 | BRAND:
43 | type: unfeaturized
44 | NAME:
45 | type: unfeaturized
46 | requested_slot:
47 | type: unfeaturized
48 | templates:
49 | utter_ask_BRAND:
50 | - text: Sir, I would like to tell you that your issues will be resolved. Could I
51 | please know which handset you are using?
52 | utter_ask_NAME:
53 | - text: Ok. Please provide your first name?
54 | utter_change_settings:
55 | - text: I would like to tell you, sir, that you need to change certain settings
56 | of your phone because there is no issue on your end.
57 | utter_cheer_up:
58 | - image: https://i.imgur.com/nGF1K8f.jpg
59 | text: 'Here is something to cheer you up:'
60 | utter_chitchat:
61 | - text: I'm not designed for this.
62 | utter_did_that_help:
63 | - text: Did that help you?
64 | utter_goodbye:
65 | - text: Bye
66 | utter_greet:
67 | - text: Hello! I am calling from Innovate Yourself. How may I assist you?
68 | utter_happy:
69 | - text: Great, carry on!
70 | utter_iamabot:
71 | - text: I am a bot, powered by Rasa.
72 | utter_num_confirm:
73 | - text: Is this the same mobile number on which you are facing network issues?
74 | utter_num_verify:
75 | - text: Could you please confirm me your mobile number?
76 | utter_solution:
77 | - text: Sure sir, I will guide you for that. Go to your settings, select network,
78 | and select 3G if you’ve chosen 4G because your sim is not supporting 4G. That’s
79 | why you are facing problems while calling.
80 | utter_solution_4G:
81 | - text: Please visit your nearest store. They will provide you the 4G sim for the
82 | same.
83 | utter_submit:
84 | - text: Your name is {name} and your headset is {headset}. Is this correct?
85 | utter_tell_issue:
86 | - text: Thanks for confirming, tell me what issues you are facing?
87 | utter_your_num:
88 | - text: Your number is {number}?
89 | utter_wrong_value:
90 | - text: Enter the valid headset!
91 | utter_thanks:
92 | - text: Thank you for calling Innovate Yourself.
93 | utter_anything_else:
94 | - text: Is there anything else I can help you with?
95 |
96 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/endpoints.yml:
--------------------------------------------------------------------------------
1 | # This file contains the different endpoints your bot can use.
2 |
3 | # Server where the models are pulled from.
4 | # https://rasa.com/docs/rasa/user-guide/running-the-server/#fetching-models-from-a-server/
5 |
6 | #models:
7 | # url: http://my-server.com/models/default_core@latest
8 | # wait_time_between_pulls: 10 # [optional](default: 100)
9 |
10 | # Server which runs your custom actions.
11 | # https://rasa.com/docs/rasa/core/actions/#custom-actions/
12 |
13 | action_endpoint:
14 | url: "http://localhost:5055/webhook"
15 |
16 | # Tracker store which is used to store the conversations.
17 | # By default the conversations are stored in memory.
18 | # https://rasa.com/docs/rasa/api/tracker-stores/
19 |
20 | #tracker_store:
21 | # type: redis
22 | # url:
23 | # port:
24 | # db:
25 | # password:
26 | # use_ssl:
27 |
28 | #tracker_store:
29 | # type: mongod
30 | # url:
31 | # db:
32 | # username:
33 | # password:
34 |
35 | # Event broker which all conversation events should be streamed to.
36 | # https://rasa.com/docs/rasa/api/event-brokers/
37 |
38 | #event_broker:
39 | # url: localhost
40 | # username: username
41 | # password: password
42 | # queue: queue
43 |
--------------------------------------------------------------------------------
/RasaCustomerService-master/models/20200206-221836.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aadimangla/Customer-Service-Bot/aed651f26ae3bc3cad4acbc905ef8f58d43212c9/RasaCustomerService-master/models/20200206-221836.tar.gz
--------------------------------------------------------------------------------
/RasaCustomerService-master/models/20200620-224503.tar.gz:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/aadimangla/Customer-Service-Bot/aed651f26ae3bc3cad4acbc905ef8f58d43212c9/RasaCustomerService-master/models/20200620-224503.tar.gz
--------------------------------------------------------------------------------