nahidalam / customer_bot Goto Github PK
View Code? Open in Web Editor NEWSimple chatbot using Rasa.ai
Simple chatbot using Rasa.ai
Hello,
i have a question regarding the custom action.
in domain.yml you have specified the action as actions.ActionOrderProduct,
whereas in stories.md you have defined it as action_order_product.
i am getting an error about the action_order_product, as it is not recognizen, am i doing something wrong?
thanks
Hi Nahid,
Thanks for building customer_bot. Awesome repo.
However, I am facing an issue in actions.py. When I run your dialogue_management_model code, the statement tracker.get_slot("router") returns None. A sample of my conversation is shown below.
me: hi
bot: Hello! How can I help?
me: I need a router
bot: Which product?
me: 829
bot: Your product None is ordered for you. It will be shipped to your address. Your confirmation number is 123456
Could you please tell me what's going on and how might we fix this error?
**Hi mam ,
I am unable to run train_init.py in python as when I run , below modified code :**
from future import absolute_import
from future import division
from future import unicode_literals
import logging
from rasa_core.agent import Agent
from rasa_core.policies.keras_policy import KerasPolicy
from rasa_core.policies.memoization import MemoizationPolicy
if name == 'main':
logging.basicConfig(level='INFO')
training_data_file = './data/stories.md'
model_path = './models/dialogue'
agent = Agent('customer_domain.yml', policies = [MemoizationPolicy(max_history = 2,), KerasPolicy(epochs = 500,
batch_size = 10,
validation_split = 0.2)])
data = agent.load_data('stories.md')
agent.train(data)
agent.persist(model_path)
I am getting the following error
TypeError: 'coroutine' object is not iterable
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.