Abir
(Abir)
September 22, 2018, 7:10am
1
@ahson
@akelad
@Juste
So i am facing this issue and i have added endpoints.yml as follows :
action_endpoint:
url: http://localhost:5055/webhook
I tried @ahson 's solution by updating endpoints.yml as follows :
action_endpoint: url: http://localhost:5055/webhook
core_endpoint: url: http://localhost:5005
Still no luck
Anyone facing such issue ?
ahson
(Ahson)
September 23, 2018, 10:29pm
2
What does your endpoint.yml look like
ahson
(Ahson)
September 23, 2018, 10:30pm
3
Also what command are you using to
A. run the action server
b. run rasa core
ahson
(Ahson)
September 23, 2018, 10:32pm
4
You need to run both at the same time;
Check out the makefile in the moodbot example;
Abir
(Abir)
September 25, 2018, 1:12pm
5
Thanks man , i had to add ‘endpontconfig’ which was missing . it’s solved
Nilesh
(Nilesh mandge)
October 31, 2018, 10:13am
6
can you please tell me how to pass --endpoint flag interactive learning
Abir
(Abir)
October 31, 2018, 1:36pm
7
from rasa_core.agent import Agent
from rasa_core.train import online
from rasa_core.utils import EndpointConfig
endpoint = EndpointConfig(url=“http://localhost:5055/webhook ”)
agent = Agent(“Add the usual parameters”, action_endpoint = endpoint )
data = agent.load_data(training_data_file)
agent.train(“usual parameters”)
online.serve_agent(agent)
Hope this serves your purpose
Hi Abir,
I am currently running : python -m rasa_core_sdk.endpoint --actions actions in parallel to another prompt in which I am training my bot.
While doing this when I am calling custom action, it is throwing error
Can you please help.
Abir
(Abir)
November 3, 2018, 7:29am
9
make sure to correctly configure endpoint , Since the error code is 5xx it means custom action server is creating some problems . Otherwise , there could be some proxy issue
Hi Abir,
My endpoint.yml file is -
action_endpoint:
url: “http://localhost:5055/webhook ”
core_endpoint:
url: “http://localhost:5055 ”
Then also it is throwing 500 error.
Abir
(Abir)
November 3, 2018, 12:01pm
11
nlu_interpreter = RasaNLUInterpreter(<nlu_model_path>)
action_endpoint = EndpointConfig(url=“http://localhost:5055/webhook ”)
agent = Agent.load(<dialogue_model_path>, interpreter = nlu_interpreter, action_endpoint = action_endpoint)
agent.handle_message()
Use the above to run bot and drop core_endpoint config that’s not necessary
Hi Abir,
I am currently training my bot and updating stories.md file using training online method.
Currently I am facing issue that bot is not able to identify brand as entity but all other entities it is identifying i.e. gender,color,product etc.
Can you please help on this.
Abir
(Abir)
November 29, 2018, 6:30am
14
Entity recognition will take more data as compared to intent classification.Just keep adding more data of a particular example type
navod
(Navod Janitha)
April 3, 2020, 3:01pm
15
Can you please tell me which file i need to change? and how?