You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# file: domain.yml version: "2.0"config:
store_entities_as_slots: truesession_config:
session_expiration_time: 60# value in minutescarry_over_slots_to_new_session: truenlu:
- intent: greetexamples: | - Hi - Hey! - Hallo - Good day - Good morning
- intent: byeexamples: | - Bye
- intent: ask_weatherexamples: | - what's the weather - what's the weather in [Genoa](city) - i want to know the [milan](city) weather of today - i want to know the weather of today - tell me the [Vienna](city) weather forecast - hows the weather today
- intent: city_informexamples: | - milan - Genoa - rome - Berlin - Vienna - Turin - Naples - london - new york - Dar Es Salaam - Nairobi - Mogadishuintents:
- greet
- bye
- ask_weather
- city_informentities:
- cityslots:
city:
type: textinfluence_conversation: trueresponses:
utter_greet:
- text: "Hey there!"utter_bye:
- text: "Bye!"utter_ask_city:
- text: "which city you want to check for?"
- text: "which city?"
- text: "please tell me which city"
- text: "where? In which city?"utter_default:
- text: "Sorry, I didn't get that, can you rephrase?"actions:
- weather_city_today_actionstories:
# the entity city is specified in the intent ask_weather
- story: 1. greet and weather with city specifiedsteps:
- intent: greet
- action: utter_greet
- intent: ask_weather
- action: weather_city_today_action
- action: utter_bye # the entity city is specified in the intent ask_weather
- story: 2. greet and weather with city NOT specifiedsteps:
- intent: greet
- action: utter_greet
- intent: ask_weather
- slot_was_set:
- city: None
- utter_ask_city
- city_inform
- action: weather_city_today_action
- action: utter_bye
# file: test_stories.ymlstories:
- story: 1. greet and weather with city specifiedsteps:
- user: | hey
- action: utter_greet
- user: | what's the weather in Milan?
- action: weather_city_today_action
- action: utter_bye
- story: 2. greet and weather with city NOT specifiedsteps:
- user: | hey
- action: utter_greet
- user: | what's the weather?
- utter_ask_city
- user: | Genoa
- action: weather_city_today_action
- action: utter_bye
Please double check if syntax of the above example is formally correct and it make sense.
Hi,
To maintain topic coherence I'm moving in this new "issue" (just a proposal/note indeed).
In general, a README with a full running example could help users.
You could also just supply a
domain.yml
and aREADME.md
in the directory of your exampleexamples/http
: https://github.com/Lykos94/rasa-node-action-server/tree/master/examples/httpPlease double check if syntax of the above example is formally correct and it make sense.
BTW, in the README.md paragraph https://github.com/Lykos94/rasa-node-action-server#rasa-custom-connectors, you state:
You can then test your server by running:
response:
But
To test the action server example here: https://github.com/Lykos94/rasa-node-action-server/tree/master/examples/http:
I do believe that the POST request can not produce the response you mentioned.
Instead maybe you want something like this:
In general I'd suggest to write down in README a step-by-step sequence of cli commands.
Thanks for your patience
The text was updated successfully, but these errors were encountered: