Using Custom input channel:
Custom web channel
Please help…
I advise you to have a look at the documentation of requests
: JSON Response Content.
@Genzer
I pass input from UI to chatbot as:
message = request.form[‘text’]
data = {“sender”: “default”, “q”: message}
response = requests.get(“http://localhost:5004/chat/”,json=data)
response = response.json()
But always getting response is [“text”]
Also in Postman as