Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Addition of nlu_core_server.py #8

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

ashhadulislam
Copy link

Introduced a new file called nlu_core_server.py inside the folder "Full Code [Latest release of Rasa NLU and Rasa Core]"
This code when executed, runs a a simple web server at a port number specified in the code itself.
This local server that can send responses according to the questions sent to it.

Example url:http://localhost:5003/chat/
url_type:POST
request body type:raw(application/json)
sample request:{ "sender": "user1", "message": "how is the weather in Dublin"}
For every unique "sender", a different chat thread is maintained by the server so that the conversation is unique to each client.

Response would be a json containing the string:
"It is currently Sunny in Dublin at the moment. The temperature is 23.0 degrees, the humidity is 50% and the wind speed is 8.1 mph."

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant