simplyshravan / rasa Goto Github PK
View Code? Open in Web Editor NEWworking on chatbot using rasa framework
working on chatbot using rasa framework
I am facing below error while calling the actions to call api and read data. Error is below.
How to increase the request timeout so that chatbot can wait for response from actions.
###################chatbot console log#########
2020-07-06 12:06:00 ERROR asyncio - Task exception was never retrieved
future: <Task finished coro=<configure_app.<locals>.run_cmdline_io() done, defined at c:\users\pycharmprojects\rasapoc
\venv\lib\site-packages\rasa\core\run.py:128> exception=TimeoutError()>
Traceback (most recent call last):
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\rasa\core\run.py", line 134, in run_cmdline_io
sender_id=conversation_id,
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\rasa\core\channels\console.py", line 151, in record_me
ssages
async for response in bot_responses:
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\rasa\core\channels\console.py", line 107, in send_mess
age_receive_stream
async for line in resp.content:
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\aiohttp\streams.py", line 39, in __anext__
rv = await self.read_func()
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\aiohttp\streams.py", line 328, in readline
await self._wait('readline')
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\aiohttp\streams.py", line 296, in _wait
await waiter
File "c:\users\pycharmprojects\rasapoc\venv\lib\site-packages\aiohttp\helpers.py", line 596, in __exit__
raise asyncio.TimeoutError from None
concurrent.futures._base.TimeoutError
Transport closed @ ('127.0.0.1', 54434) and exception experienced during error handling
###################################################################
######################## Action server console log#####################
[{'entity': 'state', 'start': 0, 'end': 3, 'value': 'goa', 'extractor': 'DIETClassifier'}]
goa
{'active': '818', 'confirmed': '1761', 'deaths': '7', 'deltaconfirmed': '0', 'deltadeaths': '0', 'deltarecovered': '0', 'lastupda
tedtime': '05/07/2020 23:15:48', 'migratedother': '0', 'recovered': '936', 'state': 'Goa', 'statecode': 'GA', 'statenotes': ''}
Active: 818 Confirmed: 1761 Death: 7
##################################################################
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.