@abhishek1 this is also a good place to start: GitHub - RasaHQ/rasa-demo: Sara - the Rasa Demo Bot: An example of a contextual AI assistant built with the open source Rasa Stack
I want to learn about entity extraction without slot any proper simple example to extract entity from user text and use it in acition.py ?
Hey @abhishek1 check this out it may help you:
@abhishek1 you can use tracker.latest_message.get_latest_entity_values()
rasa-sdk/interfaces.py at master · RasaHQ/rasa-sdk · GitHub
What if I want to specify Duckling’s URL at runtime? For example, if I’m developing a piece of code, and I have the same deployed somewhere, I would like to switch between dev environment (http://localhost:8080) to prod (http://my-url:/12345) using a flag, and not always changing it manually.
Is it possible?
Never-mind, I’ve found in the source code that it’s just:
os.environ["RASA_DUCKLING_HTTP_URL"] = "http://localhost:9000"
Hi, I want my bot to schedule meetings. When the user says- “schedule a meeting after 2 hours”, it should understand this and reply something like- “sure, I have scheduled a meeting at 5:30 PM” Where 5:30 PM is relative time after two hours from the current time.
Can I use duckling for such cases? If yes, can you help me with some code snippets? Thanks in advance.
Hi, I want my bot to schedule meetings. When the user says- “schedule a meeting after 2 hours”, it should understand this and reply something like- “sure, I have scheduled a meeting at 5:30 PM” Where 5:30 PM is relative time after two hours from the current time.
Can I use duckling for such cases? If yes, can you help me with some code snippets? Thanks in advance.
my duckling server is running on localhost:8000 and on browser think links shwos “quack”
but still i am getting
Failed to connect to duckling http server. Make sure the duckling server is running/healthy/not stale and the proper host and port are set in the configuration. More information on how to run the server can be found on github: https://github.com/facebook/duckling#quickstart Error: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
and this is the config
- name: DucklingHTTPExtractor
dimensions:
- time
- interval
- duration
- email
- number
- phone-number
timezone: Central European
url: http://localhost:8000